[momo@localhost ~]$ ls
Desktop Documents Downloads Music Pictures Public Templates Videos
[momo@localhost ~]$ ls ./
Desktop Documents Downloads Music Pictures Public Templates Videos
[momo@localhost ~]$ ls Desktop/
[momo@localhost ~]$ ls Music
[momo@localhost ~]$ ls ../
momo
[momo@localhost ~]$ dir
Desktop Documents Downloads Music Pictures
Public
Templates Videos
[momo@localhost ~]$ pwd
/home/momo
[momo@localhost ~]$ man pwd
[momo@localhost ~]$ cd Music/
[momo@localhost Music]$ pwd
/home/momo/Music
[momo@localhost Music]$ cd ../
[momo@localhost ~]$ pwd
/home/momo
[momo@localhost ~]$ cd ^C
[momo@localhost ~]$ pwd
/home/momo
[momo@localhost ~]$ cd Music
[momo@localhost Music]$ pwd
/home/momo/Music
[momo@localhost Music]$ ls
[momo@localhost Music]$ cd ../
[momo@localhost ~]$ ls
Desktop Documents Downloads Music Pictures Public Templates Videos
[momo@localhost ~]$ cd ../
[momo@localhost home]$ pwd
/home
[momo@localhost home]$ cd../
bash: cd../: 没有那个文件或目录
[momo@localhost home]$ ls
momo
[momo@localhost home]$ cd../
bash: cd../: 没有那个文件或目录
[momo@localhost home]$ cd momo/
[momo@localhost ~]$ ls
Desktop Documents Downloads Music Pictures Public Templates Videos
[momo@localhost ~]$ cd Videos
[momo@localhost Videos]$ ls
[momo@localhost Videos]$ pwd
/home/momo/Videos
[momo@localhost Videos]$
基础操作