Learn how to monitor memory usage in Linux using the free command.
Here's what I've written (so far):
Learn about using xz for compressing and decompressing files from the Linux command line
1. Introduction In this tutorial, we’ll first explore the two tty drivers present in a Linux system; /dev/tty and /dev/console. Then we’ll discover the different roles of /dev/console, /dev/tty0 and /dev/tty. 2. /dev/console /dev/console is known as the system console. Historically this was the terminal attached directly to the Linux computer. Now it provides an option […]
Learn how to use Bash special built-in variables to control the execution flow of a script
Learn about the docker build cache and how to control it.
Learn several ways to empty the content of a file.
Learn how to efficiently navigate directories with the pushd and popd commands.
1. Overview In this tutorial, we’ll look at different strategies to randomly choose a line of text from a file. 2. Creating Our Sample File Before we begin, let’s create a file called example_file.txt, which will contain 10 numbered lines: $ : > example_file.txt; seq 1 10 | xargs -I % echo line % | […]
Learn how we can use the different memory measurements of Linux processes.
A quick and practical guide to Linux’s source command.