- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
linux编程常用命令(Linux Programming common commands)
linux编程常用命令(Linux Programming common commands)
File and directory operations
CD /home / home directory entry
CD... Back to the previous level directory
CD../.. Returns on the two level directory
CD enters your personal home directory
CD ~user1 enters your personal home directory
CD - returns the last directory you were in
PWD displays the work path
Ls looks at the files in the directory
Ls -l displays detailed information about files and directories
Ls -a displays hidden files
Ls *[0-9]* displays the file name and directory name that contains the number
MKDIR dir1 creates a directory calleddir1
MKDIR dir1 dir2 creates two directories at the same time
RM -f file1 deletes a file calledfile1
Rmdir dir1 deletes a directory calleddir1
RM -rf dir1 deletes a directory calleddir1and deletes its contents at the same time
RM -rf dir1 dir2 deletes two directories and their contents at the same time
MV dir1 new_dir rename / move a directory
CP file1 File2 copies a file
CP dir/*. Copy all files from a directory to the current working directory
cp -a /tmp/dir1. Copy a directory to the current working directory
CP -a dir1 dir2 copies a directory
File search
Find / -name file1 began to enter the root file system search for files and directories from
Find / -user user1 searches for files and directories belonging to useruser1
Find /home/user1 -name \*.bin / home/user1 in the directory search with.binat the end of the file
Find / -name \*.rpm -exec Chmod 755{}\; search the.rpm at the end of the document and define the permissions
Find / -xdev -name \*.rpm search for.rpmend of the file, ignore CD-ROM, disk and other removable devices
Locate \*.ps looks for files that end with.ps- run theupdatedb command first
Disk space consolidation
DF -h displays the list of partitions that have been mounted
Ls -lSr |more formats files and directories in size
Du -sh dir1 estimates the disk space used by directorydir1
Du -sk * sort -rn to | capacity as the basis in order to show the file and directo
您可能关注的文档
- 3天重整科迪团队!(3 days to restructure Cody team!).doc
- 3d 英汉对照(3D English Chinese comparison).doc
- 3dsmax修改器中英文对照 max修改器中英文(3dsmax modifier, Chinese and English Max modifier, Chinese and English).doc
- 3用户界面开发基础(3 user interface development Fundamentals).doc
- 3桃(3 peach).doc
- 3第十二章 支付结算法律制度(The 3 and twelfth chapter is the payment and settlement legal system).doc
- 412《硫酸的制备和性质》学案(苏教版必修1)(412, the preparation and nature of sulfuric acid case study (Su Jiao edition compulsory 1)).doc
- 4.txt(4.txt).doc
- 3页,斯佩里左右脑分工理论记忆管理—孙盒淞(孙诚德)(The 3 page, Sperry, about brain division of labor, theory, memory management - Sun box song (Sun Chengde)).doc
- 3d英文对照(3D English comparison).doc
- linux解压缩命令大全(Linux decompression command Daquan).doc
- linux远程控制 图形界面(Linux remote control graphical interface).doc
- linux学习方向(Linux learning directions).doc
- linux静态路由设置(Linux static routing settings).doc
- lock on 1.02键盘命令(1.02键盘命令锁).doc
- lock on 操作(lock is 操作).doc
- lock on 键位明细(锁定键位明细).doc
- lishi 2(离石 2).doc
- lock on的键位操作(Lock on key operation).doc
- lock on键盘操作及僚机指令(On keyboard and wingman commands lock).doc
最近下载
- 草果栽培技术.ppt VIP
- 药物设计软件:Schrodinger二次开发_(16).Schrodinger插件开发与使用.docx VIP
- 浙江省9+1高中联盟2024-2025学年高二上学期11月期中考试物理试题(含答案).docx VIP
- 教育研究导论(宁虹主编)笔记.pdf VIP
- 药物设计软件:Schrodinger二次开发_(15).自定义分子力场与参数化.docx VIP
- 2019年高铁动车广告,高铁车身广告,高铁广告价格.pdf VIP
- 高考数学考点题型全归纳.pdf VIP
- 万华化学安全管理实践.pdf VIP
- 丹纳赫DBS管理系统.pptx VIP
- 金属焊接软件:SYSWELD二次开发_(6).焊接热源模型开发.docx VIP
文档评论(0)