- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
达内C讲义(国外英语资料)
达内C++讲义(国外英语资料)
Lesson one: common basic commands for Linux
1) clear: clear screen
Clear the terminal screen
The DESCRIPTION
You screen if this is possible. It looks in the environment for the terminal type and then in the terminfo database to
I figure out how to clear the screen
Clear ignores any command-line parameters that may be present.
2) PWD: (print work directory) view the absolute path
The options
-p shows the actual path, not the Link path
/ root directory
Current directory
.. On one level
~ use the home directory
3) ls (list) : lists all the files and directories under the current directory
-r lists files that contain subdirectories
- a lists all the files, including hidden files
-l (long) lists the details of the file
The -f looks at the type of the file, and if the file is added /, the file is represented as a directory, and if the file is added *, the executable file is executed, otherwise it is a normal file
- - t sort by modification time, newest first
Minus T, -- tabsize = COLS
Im going to take a TAB stops at each COLS instead of 8
-lts the first time that you have to do it
Time and sort by name otherwise: sort by access time
-u do not sort; The list entries in the directory for the order
- v natural sort of (version) Numbers within text
Minus w, minus width is COLS
Im going to assume that Im not going to do that
The -x list entries by lines instead of by columns
- X sort alphabetically by entry extension
- Z - context,
Print any SELinux security context of each file
-1 (is the number 1) list one file per line
Root @ubuntu: / # ls -al
Drwxr-xr-x 3 root root 4096 Aug 20 2012 boot
The meaning of the first letter:
D file type
L link type
- plain file type
Rwxr-xr-x mto: create a file or directory of the user (u) - and the user group of users (g) - other users permissions (o), respectively are read (r, 100), write (w) 010, executable permissions (001 x), - said without the permission
Link number (the number of shortcuts)
The root file owner
The root f
您可能关注的文档
最近下载
- 2025天津市红桥区国有资产投资有限公司招聘1人笔试备考题库及答案解析.docx VIP
- 互换性与技术测量..ppt VIP
- 2024年天津市红桥区国有资产投资有限公司人员招聘考试题库及答案解析.docx VIP
- 晋朝PPT课件教学课件.pptx VIP
- 《互换性与技术测量》课件第4章.ppt VIP
- 2023-2025年语文全国中考真题分类汇编 专题19 散文阅读(一).docx VIP
- 新生儿胆道闭锁.pptx VIP
- 2.3《峨日朵雪峰之侧》课件(共30张PPT) 2024-2025学年统编版高中语文必修上册.pptx VIP
- 2021年天津市红桥区国有资产投资有限公司校园招聘试题及答案解析.docx VIP
- 农业信息技术--农业信息技术概述 ppt课件.pptx VIP
文档评论(0)