'mkdir' command in linux

 

  mkdir – create one or more directories

  Format mkdir [options] directory name

  Eg1: mkdir /data1

  Here it creates a directory data1 in directory '/'

  Eg2 : mkdir -p /data/data1/data2

  is similar to mkdir /data; mkdir /data/data1; mkdir /data/data1/data2

  • 94 Пользователи нашли это полезным
Помог ли вам данный ответ?

Связанные статьи

what is the command 'ls' used for?

       ls – list directory contents.    ...

for what the command 'tail' is used for?

  tail – print the last 10 lines of the named file.If more than one file is specified...

for what purpose the commad 'du' is used for?

      du- estimates the file space usage.   Format: du [options] [file]...

what is the use of command 'grep'?

    grep- search one or more files that matches a regular pattern  Format:...

'cp' command in linux

    cp - copy files and directories.  Format: cp [options] source...