Some explaining: as I am using ubuntu(linux, English version), what the fuck thing is that I don't know how to type in Chinese by pinyin.So these days I have to keep learning linux until I know how to change the current situation. So what you see now will only be English. Fast may I learn!
```
# orders
```
application_name # run it
application_name & #run it in the backyard
sleep 5000 # sleep for 5000 seconds
ctrl + c #can terminate the process above
ctrl + z #pause
bg code # let the process in the backyard run
fg code # put the process in the front yard(of course it will run)
```
# Basic file system structure of Linux
path is divided by '/'
## current working index
```
pwd #print work directory
touch file_name #create a new file or update the exiting file's time
#if a file's name begin with . , it will get hided.
```
```
ls #show the directory's files
ls -a #show all the files including the hidden ones(most of the hidden files are setting files)
ls -l # detailed information
ls -R #show the file index in the son files
ls file_name #
ls -ld file_name
file file_name # what kind of the file is
```
### absolute path & relative path
absolute path: begin with '/' to the target
relative path: from the current path to the target path
```
cd +
. #current index
.. # the upper index
- # return the last index
~ # the user's home index
Enter #back home
```
Linux Note 1 20160714
最后编辑于 :
©著作权归作者所有,转载或内容合作请联系作者
- 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
- 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
- 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...