Results 1 to 10 of 11
Agreed this should be simple - I have the directory 'Dowloads' on the desktop, but cd Downloads or cd / Downloads returns null. is there a directory called Desktop that ...
- 11-22-2008 #1Just Joined!
- Join Date
- Nov 2008
- Posts
- 13
CD command returns 'no such file or directory'
Agreed this should be simple - I have the directory 'Dowloads' on the desktop, but cd Downloads or cd / Downloads returns null. is there a directory called Desktop that I have to put in first?? I'm assuming that for any subdirectory the full path has to be entered??
Also, do you need to call any command inside that directory, if so how??
Thanx Richard
- 11-22-2008 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,085
The Downloads directory usually resides in /home/user_name/Downloads:
Code:cd /home/user_name/Downloads
Edit: oops, my error... I was thinking of the Desktop folder when you said Downloads. In this case, try this:
Code:cd /home/user_name/Desktop/Downloads
Last edited by oz; 11-22-2008 at 03:54 PM.
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 11-22-2008 #3Just Joined!
- Join Date
- Nov 2008
- Posts
- 13
This works OK as you said:
richard@magnetman:~$ cd /home/richard/Desktop/Downloads
richard@magnetman:~/Desktop/Downloads$ dir
opera-9.62.gcc4-shared-qt3.i386.tar.gz
richard@magnetman:~/Desktop/Downloads$
But this doesn't go to richard from home..
richard@magnetman:~$ cd /home
richard@magnetman:/home$ dir
richard
richard@magnetman:/home$ cd /richard
bash: cd: /richard: No such file or directory
richard@magnetman:/home$
Must be some rule i dont know about??
- 11-22-2008 #4forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,085
Here's a good place to get some experience working with the Linux command line:
LinuxCommand.org: Learn the Linux command line. Write shell scripts.oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 11-22-2008 #5
You are entering the wrong path. Instead of /richard, you should be entering richard. If you use /richard, you will be referring to a directory located just off / instead of a directory located in /home.
- 11-22-2008 #6
this sounds like you would be better off learning how to use tab completion
LinuxClues.com | Directories and Tab Completion
- 11-23-2008 #7Just Joined!
- Join Date
- Nov 2008
- Posts
- 13
Thanks guys a lot of studying to do! bookmarked and ready to de - numtify..
- 11-23-2008 #8
Instead of always typing in the complete path to your home directory, the tilde (~) can be used.
The tilde will take you to the home of whatever user is logged in. If you want to go to a different directory, then the entire path is needed. If you are logged in as root, it will take you to the /root directory instead of the /home directory.Code:~/Desktop
Paul
Please do not send Private Messages to me with requests for help. I will not reply.
- 11-24-2008 #9Just Joined!
- Join Date
- Nov 2008
- Posts
- 13
Thanx Paul that looks handy!
- 11-25-2008 #10Linux User
- Join Date
- Feb 2006
- Posts
- 484
Hi
add this line to your /etc/apt/sources.list file
and then in a terminalCode:deb http://deb.opera.com/opera etch non-free
After a update you can install the newest version any time.Code:apt-get update now you can install opera from the debian repos apt-get install opera


Reply With Quote
