Back to basics with this one, the linux wc command (word count) can be used to count lines, words and bytes in a file and
Back to basics with this one, the linux wc command (word count) can be used to count lines, words and bytes in a file and
Linux directory listing command ls is another must. This command lists files oldest to newest piped to grep which excludes directories piped to awk which
Grep is often most powerful when examining the output of other shell commands. This example searches the Linux processes from the ps command for apache.
The Linux sort – it’s incredibly fast, runs well on files larger than ram, and a must to master for any good sysadmin. Here are
A few examples on using the Linux find command to list out all files matching a file type. The find command is on just about
Finding out the version of redhat or centOS you’re running is easy, you simple cat out the release version file standard on any red hat
If you want to see what processes are listening on what ports these you can use the linux command lsof and netstat. Below are a
I wanted to send myself a text when a long running process was done so I needed a command that would watch for a process
Here are 2 different shell commands using cat. These examples would allow you to stack files into a new file concatenating them together. Useful for
sed is a really powerful Linux command line utility. It can in a one line do what would take sometimes 20-30 lines of code in