首页 > 其他 > 详细

Command Line 1

时间:2016-10-29 02:12:54      阅读:253      评论:0      收藏:0      [点我收藏+]

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!