This post update every day! You can follow this article and learn linux command tips and tricks. Enjoy :).
1. tar command examples
Create new tar archive
Extract from an existing tar archive.
View an existing tar archive.
2.grep command examples
Search for a given string in a file (case in-sensitive search).
Print the matched line, along with the 3 lines after it.
Search for a given string in all files recursively
3.find command examples
Find files using file-name ( case in-sensitve find)
Find all empty files in home directory
4. ssh command examples
Login to remote host
Debug ssh client
Display ssh client version
5. Vim (Vim is an advanced text editor)
Go to the 143rd line of file
Go to the first match of the specified
Open the file in read only mode.
6. diff command
Ignore white space while comparing.
7. ls command (list directory contents)
Display filesize in human readable format (e.g. KB, MB etc.,)
comments powered by