Directory structure and meaning of Linux system
After the login system, under the command window type the command: You will see as shown in the figure below: Tree directory structure: The following is the explanation for these directories: /bin: Bin is the abbreviation of Binary, this directory holds the...
df command tutorial in linux/unix with examples and use cases
linux df command – report file system disk space usage linux df command displays the amount of disk space available on the file system containing...
du command tutorial in linux/unix with examples and use cases
Linux du command – estimate file space usage Linux du command recursively summarizes the disk usage of a file or directory. Syntax Options -0, –null...
mkdir command tutorial in linux/unix with examples and use cases
linux mkdir command – make directories Linux mkdir command is used to create directories. If the directory does not exist, it is created. Syntax Options...
rmdir command tutorial in linux/unix with examples and use cases
linux rmdir command – remove empty directories Linux rmdir command is used to remove directories. If the directory is empty, it is removed. If the...
touch command tutorial in linux/unix with examples and use cases
Linux touch command – change file timestamps Linux touch command is used to modify the time attributes of a file or directory, including access time...
pwd command tutorial in linux/unix with examples and use cases
linux pwd command – print name of current/working directory Linux pwd command is mainly used to print the full filename of the current working directory....
cd command tutorial in linux/unix with examples and use cases
linux cd command – switch directory Linux cd command is used to switch the current working directory to dirName. Syntax dirName: can be absolute or...
ls command tutorial in linux/unix with examples and use cases
linux ls command – list directory contents Linux ls command is the most commonly used command in our daily use of linux. ls can not...
rm command tutorial in linux/unix with examples and use cases
linux rm command – remove files or directories The linux rm command can remove each specified file. By default, the rm command cannot remove directories....
Linux common commands tutorial and use examples
Linux Commands Tutorial
1. Linux common directory command list
2. Linux file operations commands
3. Linux file permissions commands
4. Linux file content view commands
5. Linux text processing commands
......
How to mount volume in docker container
Docker run use -v bind mount a volume. You can also modify the docker hostconfig.json and config.v2.json configuration files to mount volumes to existing docker...
How to map the docker container network port to the host port
When running the docker container, you can use -p for port mapping. This article describes running a new container mapping port and mapping an existing...
How to change permissions folder and all its subfolders and files in linux
Changing the permissions of a folder and its subfolders and files is often used in Linux operations.For example: To change all the directories and files...
How to set docker container host name
When we start a new container, the default host name is the container’s id. This host name is not only easy to remember, but also...