might not be a bad idea to learn a few basic CLI commands:
cd = change directory, keeping in mind that Linux requires full path sourcing.
ls = list with several options, -l is long, -a is all (show hidden directories) -F gives details about the type of file/directory you are looking at. those are the three i put into an alias
Code:
alias d='/bin/ls -laF'
alias dird='/bin/ls -laFp | grep /'
this gives a faster way to get a long list by just hitting 'd', and if i ONLY want a list of directories, like in MS Dos i can use the 'dird' shortcut.
also with the cd command the use of .. moves you up one layer in the tree:
Code:
[user@centos ~]$ pwd
/home/user
[user@centos ~]$ cd ..
[user@centos home]$ pwd
/home
pwd = show the current path were you are residing in the file system.
as TroN-0074 pointed out about, your Download directory is located in the root of your /home/user/ directory, not in your Desktop path.
from your desktop you could use the .. I showed above as follows:
Code:
cd ..
ls -laFp | grep /
to look for your Download directory. Then you can use the shortcut information provided above.
as I dont have a Desktop directory Ill show you from my Pi directory:
Code:
[user@centos Pi]$ d
total 24
drwxrwxrwx. 4 user user 4096 Dec 12 18:02 ./
drwxr--r--. 20 user user 4096 Mar 10 20:24 ../
-rwxrwxrwx. 1 user user 6148 Dec 12 18:02 .DS_Store*
drwxrwxrwx. 2 user user 4096 Feb 15 2013 rpfr-17-xfce-r1/
drwxrwxrwx. 2 user user 4096 Feb 15 2013 rpfr-17-xfce-r2/
[user@centos Pi]$ pwd
/home/user/Pi
[user@centos Pi]$ cd ..
[user@centos ~]$ pwd
/home/user
[user@centos ~]$ dird
drwxr--r--. 20 user user 4096 Mar 10 20:24 ./
drwxrwxrwx. 7 root root 4096 Feb 2 2013 ../
drwxrwxrwx. 3 user user 4096 May 18 2013 .cache/
drwxrwxrwx. 4 user user 4096 May 18 2013 .config/
drwxrwxrwx. 6 user user 4096 Feb 7 2013 Friday/
drwxrwxrwx. 6 user user 4096 Feb 7 2013 Monday/
drwxrwxrwx. 4 user user 4096 Dec 12 18:02 Pi/
drwxrwxrwx. 6 user user 4096 Feb 7 2013 Saturday/
drwx------. 2 user user 4096 Jan 23 19:47 .ssh/
drwxrwxrwx. 6 user user 4096 Feb 7 2013 Sunday/
drwxrwxrwx. 6 user user 4096 Feb 7 2013 Thursday/
drwxrwxrwx. 6 user user 4096 Feb 7 2013 Tuesday/
drwxrwxrwx. 6 user user 4096 Jan 8 18:18 Wednesday/
[user@centos ~]$ cd Saturday/
[user@centos Saturday]$ pwd
/home/user/Saturday
boy i need to fix my permissions in that directory :D.
|