unix操作系统的小知识(Little knowledge of UNIX operating system).docVIP

  • 3
  • 0
  • 约2.12万字
  • 约 23页
  • 2018-04-03 发布于江西
  • 举报

unix操作系统的小知识(Little knowledge of UNIX operating system).doc

unix操作系统的小知识(Little knowledge of UNIX operating system).doc

unix操作系统的小知识(Little knowledge of UNIX operating system) Little knowledge of Unix operating system (1) catalogue management We can use MKDIR, rmdir and CD commands to create, delete directories, and change the working directory, and through the LS command list to display directory content, in order to achieve effective management of directory. (1) the function of the MKDIR command is to create directories, and can create multiple directories at the same time, the format is as follows: MKDIR [-p] directory-name (s) The parameter P in the establishment of representative of the specified directory, if the parent directory does not exist, it is created. [cases] MKDIR dir1 dir2 dir3, dir2, dir1 / / create directory dir3 in the current directory MKDIR dir1/dir4 / / in the current directory under the dir1 subdirectory of the dir4 directory to create MKDIR - P / dir6/dir7 in the current directory, since there is no dir6 directory, then automatically create the directory dir6, Then the subdirectory dir7 / / create (2) the rmdir command function is to delete the directory, but it can only delete a directory (or file does not contain a directory), so the command used less, in this article will introduce a more commonly used to delete directories. The format of the rmdir command is as follows: Rmdir directory-name (s) (3) in the process of handling documents and other operations, it is necessary to work in different directories, then the CD command can be put into use. The CD command function is to change the current working directory, the command format is as follows: CD [directory-name] Behind the CD directory path can be absolute, or relative path. If the CD with no following the path name is back to the users home directory. If you are not familiar with some of the concepts here, please refer to the introduction and basics of the Unix operating system, which will not be repeated here. Here are some examples: CD dir1 / / enter the current directory in the dir1 directory CD. /

文档评论(0)

1亿VIP精品文档

相关文档