The mktemp command can help us create a temporary file or directory in the correct location on a Linux system. We look at how it works and some tips for using it.
Here's what I've written (so far):
Learn multiple ways to write the contents of a Bash variable to a file in Linux.
We may sometimes wish to calculate the size of directories in our filesystem. We explore how to use the du command to achieve some common use cases.
When we use grep to filter the results of ps, it often finds itself as well as the desired process. We discover a couple of tricks to avoid this happening.
Learn how to kill a detached GNU screen session from the command line.
Learn a common way to store the PID using a .pid file and an example of how you would use it
Working with multiple terminals on Linux can get hard to manage, especially setting up the connections each time. The screen utility solves that for us.
Learn how to use wc to count lines, words, or even characters in a file.