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
How to find all files containing specific text on Linux?
In linux, to find all files containing a specific text, we can use the grep command, which can search for the specified text in the file. In the following example, we will introduce two methods to find all files containing … Continue reading
Posted in Find Command
Tagged find and grep, grep examples, linux command
Comments Off on How to find all files containing specific text on Linux?
6 methods of executing historical commands in linux bash
!! – repeat the previous command; !t – repeat the previous command headed by t; !Number – repeat the previous command with number … Continue reading
Posted in Text Processing
Tagged history, linux command
Comments Off on 6 methods of executing historical commands in linux bash
How to display full path/absolute path with ls command
linux ls full path, you can use the ls -d option combined with the environment variable $PWD. syntax: ls -d $PWD/* Continue reading
man command tutorial in linux/unix with examples
Man command in Linux/unix is used to display the user manual of any command we can run on the terminal. Continue reading
Posted in System
Tagged command help, linux command, man command
Comments Off on man command tutorial in linux/unix with examples
help command tutorial in linux/unix with examples
Help command can help you understand any built-in commands in linux/unix. Syntax: help name, name: built-in function name. Continue reading
Posted in System
Tagged help command, linux command
Comments Off on help command tutorial in linux/unix with examples
5 ways to get command help in linux/unix
How to get command help while working on Shell ? 1.command -h or –help 2.man command 3.help command 4.info command 5.whatis command Continue reading
Posted in System
Tagged command help, linux command, man
Comments Off on 5 ways to get command help in linux/unix
lsof command tutorial in linux/unix with examples and use cases
The lsof command can not only view the files and directories opened by the process, but also view the socket-related information such as the port the process is listening on. Continue reading
Posted in System
Tagged linux command, lsof, lsof examples
Comments Off on lsof command tutorial in linux/unix with examples and use cases
I/O redirect in linux/unix with examples
I/O redirection is a process that captures the output of a command, application, or script, and then sends the captured output as input to a file, command, or script. Continue reading
Posted in System
Tagged I/O redirect, linux command
Comments Off on I/O redirect in linux/unix with examples
How to use top command to monitor cpu usage in linux/unix
Linux top command monitor CPU: to monitor system CPU usage, to monitor the usage of multiple cores of the system CPU, to sort by cpu usage ascending/descending Continue reading
Posted in Monitor
Tagged linux command, top monitor cpu
Comments Off on How to use top command to monitor cpu usage in linux/unix
Shell tutorial
The Shell is a program written in C language, it is a bridge use Linux users.The Shell is a command language and a programming language.Shell is a kind of application, the application provides an interface to the user through the … Continue reading
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 each file name argument. If no file name is given, the space available on all … Continue reading
Posted in System
Tagged df command, disk space, linux command
Comments Off on df command tutorial in linux/unix with examples and use cases
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 end each output line with NUL, not newline -a, –all write counts for all … Continue reading
Posted in System
Tagged disk space, du, linux command
Comments Off on du command tutorial in linux/unix with examples and use cases
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 -m, –mode=MODE set file mode (as in chmod), not a=rwx – umask -p, –parents no … Continue reading
Posted in File & Directory
Tagged linux command, mkdir
Comments Off on mkdir command tutorial in linux/unix with examples and use cases
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 rmdir directory is not empty, the error message “Directory not empty”. You need to use … Continue reading
Posted in File & Directory
Tagged linux command, rmdir
Comments Off on rmdir command tutorial in linux/unix with examples and use cases
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 and modification time. If the file does not exist, the system will create a new … Continue reading
Posted in File & Directory
Tagged linux command, touch command
Comments Off on touch command tutorial in linux/unix with examples and use cases