The mkdir command on Linux creates one or more directories below the local directory. You must have permission to write to the directory to run mkdir.
The most common options are:
Create the documents directory:
$ mkdir documents
Create the letters directory below the documents directory. If documents do not exist, create them first before the letters:
$ mkdir —p documents/letters
Creates the templates directory below the documents directory with read, write, and execute permissions for the directory owner, his group, and other users:
$ mkdir —m 777 documents/templates
The sudo command on Linux executes a given command as if it were another user.…
The ss command on Linux is extremely useful for investigating sockets, providing various information about…
Free Linux command shows the amount of total memory in use and available, as well…
The shell has structures for testing conditions and executing certain program sequences several times (loop),…
The /etc/fstab file stores the configuration of which devices should be mounted and what is…
The Netcat Command in Linux or nc is a utility used to do “almost anything”…
This website uses cookies.