Learn how to combine the ls command with head to show us the five last modified files in a directory.
Java Software Developer and DevOps engineer from The Neterlands with 15+ years experience in developing enterprise web applications. Cloud enthousiast. World traveler and scuba diver.
Here's what I've written (so far):
In this tutorial, we’ll see how to loop through the contents of a file, line by line. This might sound like a trivial task, but there are some caveats that we need to be aware of.
Explore the Bash feature called tilde expansion.
Learn how to copy our SSH keys to other machines
A quick and practical guide to Linux exit codes.
Learn how to use set -e to make bash scripts terminate immediately when some error occurs.
Learn how to make curl permanently send all requests through a proxy server.
Learn about the process of filename expansion, also known as globbing.
Learn how to make crontab -e use our favorite editor.
Learn how to map hostnames to specific ports.