How does grep exclude directory, file, keyword in Linux/unix
Grep command supports multiple exclusion methods, including grep exclude directory, grep exclude file, grep exclude binary files, and grep exclude keywords....
How to grep ignore case in linux/unix
In linux/unix, we can use the grep -i option to ignore case matching search keywords. grep ignore case syntax: grep -i "keyword" file...
linux view apache logs
In Linux, apache logs (error logs and access logs) provide useful information for system administrators to solve and locate problems....
Linux log view using linux command line
Linux log view using linux command line, tail -f: added log content for real-time monitoring, cat: view all log content, more: view log content by...
How to find and replace specified string with sed in linux/unix
find and replace content in linux: Use the grep command and sed command to search and replace, Use the find command and sed command to...
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 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...
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...