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 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 stop / remove all containers of docker
How to stop/remove all containers of docker? View all container IDs:~ docker ps -a -q ; Stop all containers:~ docker stop $(docker ps -a -q);...
How to run Ubuntu system in docker
How to use docker to run the system? This article shares with you examples of searching image, starting image and building container, starting container, closing...
grep command tutorial in linux/unix with examples and use cases
linux grep command – print lines that match patterns Linux grep searches for PATTERNS in each FILE. PATTERNS is one or patterns separated by newline...
Printenv command tutorial in linux/unix with examples and use cases
linux printenv command - Print the values of the specified environment VARIABLE (s). If no VARIABLE is specified, print name and value pairs for ...
env command tutorial in linux/unix with examples and use cases
The env command executes another program after modifying the environment as specified. When the env is used without parameters, it prints a list of current...
tee command tutorial in linux/unix with examples and use cases
linux tee command - read from standard input and write to standard output and files. Copy standard input to each FILE, and also to standard...
How to replace strings in files in the Linux command line
There are many ways to replace strings in Linux. You can use vim/vi to edit files, you can also use the sed command to replace,...
more command tutorial in linux/unix with examples and use cases
linux more command - a filter for paging through text one screenful at a time. Examples: Display file contents starting at line 20, search for...