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
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
I needed to recursively unzip a big mess of nested zip files. This shell command does the trick, it also preserves the directory structure.
This is the only command I’ll use to upgrade or update the OS on my Ubuntu instances, any version. This doesn’t upgrade to the next
This command very quickly creates 100k randomly sized binary files in the directory you run it in. Took 6 minutes 37 seconds to run on