- 1、本文档共24页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
linux基本命令说明参数(国外英文资料)
linux基本命令说明参数(国外英文资料)
# indicates the rights user (e.g., root) for the average user
Boot tip: Login: enter the user name
Password: the input password user is the system registered user successfully login, can enter the corresponding user environment.
Exit the current shell, type: exit
Useradd netseek adds a netseek user
Passwd netseek sets the password for netseek.
(/etc/passwd /etc/group)
Userdel netseek deletes the account
Userdel-r netseek deletes the account with its own directory.
For more details, see man page, and account manager.
3. Check the command
Ls -l displays the list of files
Ls - al - a show all files and directories (ls will default file name or directory name beginning with . as a hidden files, not listed)
Ls - al | grep ^ d show directory
Ls - al | grep ^ [^ d] queries in a directory directory does not contain all the files
Ls-sh (man ls).
Linux file types:
D indicates that this file is a directory
- indicates that this file is a common file
B indicates that this file is a special block device I/O file
C indicates that this file is a special character device I/O file
The l indicates that this file is a connection file. Follow the file name of the file name after its file name
The file command determines the file type by detecting the contents of the file
Create files and directories
Touch 1. TXT
Cat 2.txt (create a file with a directive, fill in the content, press CTRL + d to save the content)
Mkdir mywork establishes the mywork directory
Copy files or directories
Cp filename1 filename2
Cp - r dir1 dir2 copies directory
The cp-rf parameter f is to remove the existing target file without prompting
The cp-i parameter I and f are the opposite, and the prompt asks the user to confirm that the target file will be overwritten and an interactive copy before overwriting the target file.
Delete files and directories (delete files or directories with rm)
Rm 1. C / / remove 1. C
Rm - rf (force delete file or directory, delete without prompting.)
Remove the
文档评论(0)