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
Print the Newest File in a Given Directory and Other Directory Listing Examples
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
How to Use Grep Combined with Standard Output From Other Commands
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.
Figuring Out Linux sort By Examples
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
How to Recursively List Out Files In a Directory in Linux
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
Simple Command to Find Which Version of Redhat/CentOS You’re Running
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
How to Check Ubuntu Kernel Version with uname
The uname shell command will print out in any Debian or RedHat variant like Ubuntu and Centos Linux much of the main system information, here
You have a 23.34% Chance of Guessing a Four Digit Pin Combination
According to Datagenetics 10.71% of 4 digit passcodes are 1234. Data Genetics did some number crunching on ATM pin data, not sure how they got
How to View Processes and Their Respective Ports on Linux and OSX
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
How to Watch For a Process to End on Ubuntu Linux
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