Find Files Containing a String Pattern in Linux

Grep

Grep is a powerful command line utility to search for files containing text string patterns in linux. In this tutorial we’ll be using grep with some common options to refine our file searches for better results.

Tags: tutorials, linux, command line

Read more »


Find Files or Directories in Linux Command Line

find

The linux find command is one of the best ways to find files and directories in the command line. The find command is extremely versatile providing many options for granular control over your search query. If it exists, the find command will find it.

Tags: tutorials, linux, command line

Read more »


Delete Lines or Strings Between Two Patterns With Sed

sed

In this tutorial we will go through various ways to delete lines or strings between two patterns with the linux sed command stream editor.

Tags: tutorials, linux, command line

Read more »


Test Disk Drive Read Speed With hdparm

hdparm

If you’d like to test the read speed of your hard disk drive(HDD) or solid state drive(SSD) or any type of drive, you can use hdparm on linux. hdparm is an excellent command-line tool to test your disk drive’s read speeds. hdparm can give you an accurate representation of the read speeds of your disk drives to see if they’re performing as expected.

Tags: tutorials, linux, command line

Read more »


Linux tldr Pages Command

tldr tar

Linux tldr pages command displays simplified man pages for linux command-line tools. Unlike the man pages, tldr pages is more like a cheat sheet that displays usage examples for linux commands.

Tags: tutorials, linux, command line

Read more »


Linux watch Command

linux watch command

In this tutorial we will be looking at the linux watch command. watch comes pre-installed on most linux distributions. The watch command is an excellent tool if you need to run any commands repeatedly at set intervals.

Tags: tutorials, linux, command line

Read more »


Get CPU and GPU Temps in Linux

Get CPU and GPU Temps in Linux

To get CPU and GPU temps in linux you need to install and configure lm-sensors. With lm-sensors you can monitor cpu and gpu temperatures and fan speeds as well as voltages for some systems. Lm-sensors reads the available sensors on your motherboard, cpu, and gpu and displays their output. Once configured, you can use the command line or a GUI to monitor your system’s sensors.

Tags: tutorials, linux, command line

Read more »


Upgrade Kept Back Packages in Linux

Upgrade Kept Back Packages in Linux

Occasionally when updating your linux system from a terminal, you’ll notice a warning stating “The following packages have been kept back”. This means that when updating, those packages will not be upgraded. Today we’ll look at how to upgrade kept back packages in linux.

Tags: tutorials, linux, command line

Read more »


Remove Orphaned Packages in Linux

Remove Orphaned Packages in Linux

There are a couple of tools to remove orphaned packages in linux. Packages in linux systems depend on other packages or libraries in order to work properly. In some cases you will already have some or all the dependencies installed from them being installed by other packages.

Tags: tutorials, linux, command line

Read more »


Bash Aliases

Bash Aliases

If you’re not familiar with bash aliases I highly recommend you read on. Bash aliases are fantastic for saving time and not having to remember commands or groups of commands.

A bash alias is just a shortcut that you can set to be a word or even a single letter.

Tags: tutorials, linux, command line

Read more »