Using the yes command to automate responses

Using the yes command to automate responses

The Linux yes command allows you to automate responses to scripts and commands, but how it responds is up to you.

Repeating commands on Linux with or without changes

Repeating commands on Linux with or without changes

There are a lot of ways on Linux to make repeating commands easier than retyping them, and here's a nice collection of them.

Rocky Linux 9 arrives with Peridot

Rocky Linux 9 arrives with Peridot

New to Rocky Linux 9 is Peridot, a tool that makes it easy for anyone to replicate and extend Rocky Linux.

Using the eval command in Linux to run variables as commands

Using the eval command in Linux to run variables as commands

The eval command allows you to run the contents of variables as commands and can be very useful -- especially in scripts.

Finding files on Linux with the longest names

Finding files on Linux with the longest names

File names on Linux systems can be as long as 255 characters, and here's how to find the longest ones.

The Linux fold command breaks up text, drives loops

The Linux fold command breaks up text, drives loops

The Linux fold command can break long lines of text into pieces, but it can also be used to create arguments for looping in scripts.

Open-sourced tool speeds up Linux scripts via parallelization

Open-sourced tool speeds up Linux scripts via parallelization

The pa.sh tool finds sections of code that can run independently, then runs them in parallel to save time.

Counting the days on Linux

Counting the days on Linux

Linux marks time in the number of seconds since the start of the Linux epoch. Here's a script for using that information to figure how many days separate two dates expressed in traditional calendar notation.

Removing duplicate characters from a string on Linux with awk

Removing duplicate characters from a string on Linux with awk

A clever awk command can make it easy to remove duplicate characters from a string.

Using htop to check performance on Linux

Using htop to check performance on Linux

Spend some time checking out the htop tool for viewing processes and system performance and you might just find it extremely handy when you need it.

Connecting to your Linux system with your Android phone

Connecting to your Linux system with your Android phone

If you have an Android cell phone, you can install an app that allows you to connect to your Linux system and run commands in a terminal session.

Use bash to change an IP address from dynamic to static on Linux

Use bash to change an IP address from dynamic to static on Linux

The script described here can change Linux systems' IP addresses from dynamic to static with much less manual work.

Concatenating strings and using += in bash

Concatenating strings and using += in bash

There are many ways to concatenate strings when you're using bash and += might just surprise you!

Extracting substrings on Linux

Extracting substrings on Linux

Linux provides a nice selection of commands for pulling substrings from text, but each has its own way of working.

Running a Linux terminal in your Windows browser

Running a Linux terminal in your Windows browser

Here's an introduction to running a Linux terminal inside a browser and some of the tools available to you.

Using strace and ltrace to help with troubleshooting on Linux

Using strace and ltrace to help with troubleshooting on Linux

strace and ltrace provide a flood of information about system and library calls being made by Linux processes, and sorting through it all can help discover the cause of problems.

How to cheat on Wordle using Linux

How to cheat on Wordle using Linux

Figuring out Wordle can be a lot of fun, but if it gets too frustrating, this Linux bash script can be your friend. Enjoy taking a look at how the cheating process works.

Using whereis, whatis, and which to find out about commands on Linux

Using whereis, whatis, and which to find out about commands on Linux

The whereis, whatis and which commands can provide information on Linux commands, but in spite of names that appear related, they provide very different answers.

Creating a quick calculation function on Linux

Creating a quick calculation function on Linux

Need to perform a long series of calculations? Let's look at a cool trick for making it easier.

2 ways to remove duplicate lines from Linux files

2 ways to remove duplicate lines from Linux files

Linux awk and uniq commands offer options for cutting out duplicate lines from Linux files.

Load More