Learn how to can clear logs and configure the system not to keep them around for too long.
Alex Tighe is a senior software engineer. He has a wide range of experience developing software for everything from experimental neuroscience to NASA satellite image processing to global investment banking software. In his free time, he enjoys reading, traveling, and building Lego sets.
Here's what I've written (so far):
Baeldung on Linux
- Processes (3)
- Files (3)
- Scripting (2)
- Administration (2)
- Filesystems (1)
- File Editing (1)
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.
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.