码迷,mamicode.com
首页 > 其他好文 > 详细

Command Line 1

时间:2016-10-29 02:15:05      阅读:159      评论:0      收藏:0      [点我收藏+]

标签:work   data   ini   file   direct   dir   txt   miss   relative   

1. PWD shows the current folder you are working on.

2. Type cd / to go to the root dictionary.

3. Absolute route (cd /home/dq) vs. relative path (cd home).

4. Type whoami to check the current username.

5. Type cd ~ to go back to the user folder.( home directory)

6. Type mkdir test to create a test folder in the current directory.

7. -v is an opinion of a command, and the function is to show the detail of the command.

8. mkdir --help is to understand all the possible opinions of mkdir

9. ls is to show all the directory, ls -l is to show all the detailed directory.

10. We use rmdir to delete the dirtectory.

11. touch test.txt is to create a file named test.txt. touch command can also updata/modify files.

12. 

 

Command Line 1

标签:work   data   ini   file   direct   dir   txt   miss   relative   

原文地址:http://www.cnblogs.com/kingoscar/p/6009846.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!