文档详情

linux基本命令说明参数(国外英文资料).doc

发布:2017-06-05约1.54万字共24页下载文档
文本预览下载声明
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
显示全部
相似文档