Latest Posts
Tags
awk awk -F awk examples background run script bash awk command grep linux curl disk space docker commands docker usage du find and grep Google Analytics grep -v grep examples java java example linux awk linux command linux find linux grep linux ls ls -al ls -lrt ls examples ls sort ls sort by size mkdir mv examples mysql mysql column to row mysql example rm rmdir sed sed examples sed tutorial seo Shell tutorial top vim vim examples vim tutorial w wordpress
Tag Archives: linux command
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. Syntax Options -L, –logical use PWD from environment, even if it contains symlinks -P, –physical … Continue reading
Posted in File & Directory
Tagged linux command, pwd command
Comments Off on pwd command tutorial in linux/unix with examples and use cases
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 relative. If the directory name is omitted, it means to switch to the root directory … Continue reading
Posted in File & Directory
Tagged cd command, linux command, switch directory
Comments Off on cd command tutorial in linux/unix with examples and use cases
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 only display the name of each file and directory and its associated information, but also … Continue reading
Posted in File & Directory
Tagged linux command, linux ls
Comments Off on ls command tutorial in linux/unix with examples and use cases
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. if you need to remove directories, you need to use parameter. Syntax rm [OPTION]… [FILE]… … Continue reading
Posted in File & Directory
Tagged linux command
Comments Off on rm command tutorial in linux/unix with examples and use cases
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
… Continue reading
Posted in File & Directory, Monitor, System, Text Processing
Tagged linux command, linux shell, shell command
1 Comment
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); Remove all containers:~ docker rm $(docker ps -a -q) Continue reading
Posted in How to
Tagged docker usage, linux command
Comments Off on How to stop / remove all containers of docker
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 container, etc. Continue reading
Posted in How to
Tagged docker usage, linux command
Comments Off on How to run Ubuntu system in docker
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 characters, and grep prints each line that matches a pattern. A FILE of “-” stands … Continue reading
Posted in File & Directory
Tagged grep examples, grep usage, linux command
Comments Off on grep command tutorial in linux/unix with examples and use cases
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 them all. Continue reading
Posted in System
Tagged linux command, printenv
Comments Off on Printenv command tutorial in linux/unix with examples and use cases
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 environment variables. Continue reading
Posted in System
Tagged linux command, linux env
Comments Off on env command tutorial in linux/unix with examples and use cases
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 output. Continue reading
Posted in File & Directory
Tagged linux command
Comments Off on tee command tutorial in linux/unix with examples and use cases
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, or you can search for all files to be replaced and replace them. Continue reading
Posted in How to, File & Directory, Sed Command, Text Processing, Vim Command
Tagged linux command, replace strings, sed
Comments Off on How to replace strings in files in the Linux command line
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 strings in files and display … Continue reading
Posted in File & Directory
Tagged linux command, more, more is less
Comments Off on more command tutorial in linux/unix with examples and use cases
How to run a script in the background in Linux
This article shares how to run scripts in the background of linux, and how to use the shell’s built-in commands to control scripts during running … Continue reading
Posted in Internet Technology, How to
Tagged background run script, linux command, nohup, setsid
Comments Off on How to run a script in the background in Linux