Using bash’s shopt builtin to manage Linux shell behavior

Using bash’s shopt builtin to manage Linux shell behavior

The shopt builtin offers 53 settings that can alter how bash behaves. Read this post and then refer to bash's man page to follow up on how these settings might work for you.

Using the Linux stat command to create flexible file listings

Using the Linux stat command to create flexible file listings

The stat command isn't only for looking at file details one file at a time. It can also be used to create file listings that contain just the information you want to see – with considerably more than an ls -l command.

Enhancing the Linux command line with aliases

Enhancing the Linux command line with aliases

Using bash aliases in Linux can save time and having to remember complex commands - and it can be fun, too.

11  ways to list and sort files on Linux

11 ways to list and sort files on Linux

Linux commands can provide details on files and show options for customizing file listings, but can also reach as deeply into a file system as you care to look.

Managing process accounting on Linux

Managing process accounting on Linux

Process accounting can provide a lot of details that can help monitor user and system activity on Linux. Here's a look at how it works and what kind of data it provides.

Word game: Finding anadromes with Linux

Word game: Finding anadromes with Linux

Using Linux commands to find words that, when reversed, turn into other words turned out to be an enjoyable mental challenge. How many can you find?

Merging and sorting files on Linux

Merging and sorting files on Linux

There are quite a few ways to merge and sort text files on Linux. The command to choose depends on your data and your preferences.

Linux dominates supercomputing

Linux dominates supercomputing

The Linux operating system runs all 500 of the world’s fastest supercomputers, which help to advance artificial intelligence, machine learning and even COVID-19 research.

Digging for DNS answers on Linux

Digging for DNS answers on Linux

Dig is a powerful and flexible tool for interrogating domain name system (DNS) servers. In this post, we’ll take a deep dive into how it works and what it can tell you.

Summarizing your command usage on Linux

Summarizing your command usage on Linux

With a modest string of commands, you can get a quick look at what commands you're using on your Linux system and how often.

Some easy choices for encrypting files on Linux

Some easy choices for encrypting files on Linux

A lot of encryption tools are available for Linux systems. In this post, we look at some easy-to-use commands and a script for making the process even easier.

How to decipher Linux release info

How to decipher Linux release info

Displaying and interpreting information about Linux releases is a bit more complicated than it might seem.

Painless file extraction on Linux

Painless file extraction on Linux

Extracting files from archives isn't difficult, but it can be tedious, especially with all the archive naming conventions in use today. But you can make the task a little easier by putting everything you know about the process into a...

How to stress test your Linux system

How to stress test your Linux system

Stressing your Linux servers can be a good idea if you'd like to see how well they function when they're loaded down. In this post, we'll look at some tools that can help you add stress and gauge the results.

How to assess user activity in Linux

How to assess user activity in Linux

In this post, we look at commands that Linux server admins can use to view user activity

How to loop forever in bash on Linux

How to loop forever in bash on Linux

Looping forever on the command line or in a bash script is easy. Coming up with the reasons why you want to interrupt an infinite loop and how you want to do that requires a little more effort.

5 ways to examine the content of files on Linux

5 ways to examine the content of files on Linux

How to use the cat, more, head and tail commands to look at the content of Linux files, not just text files.

How to find and remove broken symlinks on Linux

How to find and remove broken symlinks on Linux

A symlink or "symbolic link" is a Linux file that simply points at another file. If the referenced file is removed, the symlink will remain but not indicate there's a problem until you try to use it. Here are some easy ways to find...

How to use tmux to create a multi-pane Linux terminal window

How to use tmux to create a multi-pane Linux terminal window

tmux is a terminal multiplexer – a tool that allows you to open multiple panes in a single terminal window and run separate commands in each of them. This post provides an introduction to tmux including how to navigate between the...

How to use Windows Subsystem for Linux to open Linux on Windows 10 machines

How to use Windows Subsystem for Linux to open Linux on Windows 10 machines

Opening a Linux terminal on a Windows 10 desktop can help you practice your Linux skills and explore Windows from an entirely different point of view. In this post, we look at Ubuntu 18.04 running through Windows Subsystem for Linux...

Load More