Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Can't access directory under Linux

Status
Not open for further replies.

vreddy

Advanced Member level 4
Joined
Aug 12, 2006
Messages
109
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Activity points
2,051
fren,

i can see the directory in my list but when i give command as cd dir_name it says dir could'nt find........i can see the dir but how can it say the dir name could'nt find............

plz can anyone help me out..........

thanks
vreddy
 

linux

hello,
1-maybe it is not a directory
2- Linux is case sensetive , so make sure that u type the name of the directory exactly as it is shown.
 

Re: linux

ya i typed the dir name as it is.......but still its not opening.............
but i can open other dir only one dir i could'nt open........i

thankyou
vreddy
 

linux

maybe u dont have pemission, try
"ls -l <directoryname>" and see the pemissions, or paste the output here
 

Re: linux

thankyou,

i have typed ls -l <dir> this was output wat i got.....

-rw-rw-r-- 1 Prasad Prasad 0 Sep 22 15:45 USB

but the command wat u told we used for knowing the detailed info for files.........but i want to open the dir.........

i want to open that dir 'i was working in ths same dir 2 days back............

regards
vreddy
 

linux

u have to add the execution permissions
"chmod a+x <nameof the directory>"
 

Re: linux

HI,
Try this command

chmod -777 <dir name>

This command will give you all the accses to the directory.

thanks
sarfraz
 

Re: linux

vreddy said:
-rw-rw-r-- 1 Prasad Prasad 0 Sep 22 15:45 USB

this entry doesn't seem to be directory for directory the first '-' should be 'd' i.e. your entry will look like this if its directory

drw-rw-r-- 1 Prasad Prasad 0 Sep 22 15:45 USB
 

Re: linux

see if the dir name contains spaces

if it does the try doing

cd 'my directory' instead of cd my directory
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top