Head

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
1.Create a folder:
$ mkdir [name]
2.Delete a folder:
$ rm -rf [name]
r:Iteration f:force
3.Locate a file in whole file system:
$ sudo updatedb
$ locate [name]
4.Link A to B:
$ ln -s A B
5.View a file:
1)$ more [name]
2)$ cat [name]
6.Display current location:
$ pwd
7.Display current process:
1)$ ps
2)$ top
8.Move A to B
$ mv [locationA] [locationB]
9.Copy A to B
$ cp [locationA] [locationB]
10.Comon and Uncomon:
$ cd - #return last folder
# cd .. #return the out folder
$ cd !$ #Try it
$ cd #return main folder
11.Display all the file in this folder
$ ls
#man ls
12.$ find [name]
13.Restart PC
$ reboot
14.Unzip a folder:
$ tar zxvf *.tar.gz
$ tar yxvf *.bz2


由于UBUNTU输入法切换困难,我就用英哥力士写了,自己能看懂,别人不着困难不....
posted on 2012-07-21 13:13  Head  阅读(230)  评论(0)    收藏  举报