Practical solutions

Linux Howtos How-To Guides

Solve the problem. Keep building. Collection of Linux how-to articles

Find the answer you need

Browse practical solutions, grouped by the task you're working on.

__COUNT__ entries on this page

How to Suppress Output in BashThis article guides to suppress all the output of a command using Bash. How to Overwrite File in BashThis article demonstrates how to overwrite a file in Linux. ash Nohup vs AmpersandThis article discusses the difference between nohup and ampersand operator for running Linux processes in the background. How to Write to a File in BashThis article explains different methods to write to a file using bash. How to Increment Variable Value by One in Shell ProgrammingThis article demonstrates how to increment a variable value by one in shell programming. How to Sort Data Based on the Second Column of a File in BashThis tutorial educates about how to use the bash command to sort data based on the second column of a file. How to Pretty Print JSON in a Shell ScriptThis article is an overview behind printing JSON in a human-readable format. How to Convert String to Integer in BashThis article presents multiple methods to convert a string into an integer using Bash. How to Pass an Array to a Function in BashThis is a compact programming tutorial about passing arrays as arguments to functions in a Bash script. How to Print File After Skipping First X Lines in BashA read on how to print a file after skipping the first few lines in Bash. How to Get the Primary IP Address in LinuxThis tutorial will discuss getting the primary IP address in the Linux operating system using a Bash script. How to Run Mkdir Only When the Directory Does Not ExistThis article provides an overview of creating a directory only when it does not exist. How to Run Regular Expressions Inside a Case Statement in BashLogic behind running regex in a case structure in Bash. How to Get the File Creation Date/Time in BashThis article explains the process of getting file creation date or time in Bash. How to Remove Newline From String in BashThis tutorial demonstrates how to remove newline from a string in Bash. How to Loop Through Directories Recursively in BashThis tutorial demonstrates how to loop through directories recursively in Bash. How to Change the User in BashThis tutorial demonstrates how to change the user in Bash. How to Bash md5sum CommandThis tutorial demonstrates how to use md5sum command in Bash. How to Return an Array in BashThis article explains how to return an array in the Bash programming language. How to Remove Duplicate Lines in BashThis is an article on how to eliminate duplicate lines from a file in Bash. How to Get Yesterday's Date in LinuxA brief guide on how to obtain the date of the previous day in a Linux system. How to Create a Progress Bar in BashThis is a guide on creating a progress bar in Bash to display the progress of a running command or process. How to Count Unique Lines in a File in LinuxThis is a guide on how to count the number of unique lines in a file using the sort, uniq and awk commands in Linux.. How to Count Files in Directory in BashThis article teaches readers how to count the files in a specific directory using the Bash command line.