The Linux Guide: From Basics to Advanced Concepts

Last Updated: Nov. 2, 2023

A thorough exploration into the world of Linux. We will embark on a journey starting from foundational principles, moving seamlessly into advanced topics to deepen your understanding. Tackling challenges head-on, the 'Troubleshooting' section provides insights to resolve common Linux issues. And for those keen on managing and optimizing Linux systems, the 'System Administration' chapter delves into best practices and essential techniques.

The Linux Guide: From Basics to Advanced Concepts

Basics & Concepts

How to SCP to a Folder in Linux: Copy Folder Remote<>Local

A simple guide for using scp to copy folders from remote to local in Linux. This article provides step-by-step instructions on how to establish a secure connection, navigate to the desired local dire… read more

How To Find Files Based On Wildcard In Linux

Learn how to use the 'find' command in Linux to recursively search for files in current and subfolders using wildcards. Discover how to use the find command with the -name option, multiple wildcard p… read more

Tutorial on Linux User Management: How to Create a User

User management is a crucial aspect of the Linux operating system, and this article provides a guide on creating and managing users. From adding users to groups and editing user information to deleti… read more

How to Apply Chmod 777 to a Folder and its Contents in Linux

Applying Chmod 777 permissions to a folder and its contents in Linux can be done easily by following a few simple steps. This step-by-step guide will walk you through the process, starting with openi… read more

Tutorial: Using Unzip Command in Linux

This article provides a detailed guide on how to use the unzip command in Linux for file extraction. It covers various topics such as basic usage, listing files in a zip archive, extracting files wit… read more

Using Linux Commands to Find File and Directory Sizes

Retrieving file and directory sizes in Linux is made simple with the du and ls commands. Learn how to use these commands to find the sizes of files and directories in a specific folder. Discover the … read more

How to Sync Local and Remote Directories with Rsync

Learn how to use Rsync to synchronize local and remote directories in Linux with this step-by-step tutorial. Discover the installation and configuration process, as well as the syncing mechanisms of … read more

How to Alter the Echo Output Colors in Linux

This article provides a simple guide on modifying the output color of echo in Linux using bash color. It covers two methods: using ANSI escape sequences and using tput. The article also includes best… read more

How to Terminate a Process on a Specific Port in Ubuntu

Terminating processes on specific ports in Ubuntu can be done easily using Linux commands. This guide provides step-by-step instructions on identifying the process running on the port and terminating… read more

How To Stop A Process Running On A Specific Port In Linux

Guide on terminating a process running on a particular port in Linux. Learn how to stop a process using the lsof and fuser commands. Additionally, find some useful notes to enhance your understanding. read more

How to Post JSON Data with Curl in Linux

Posting JSON data with Curl in a Linux environment is made easy with this simple guide. From installing Curl to handling the response, this article provides step-by-step instructions for effortlessly… read more

How To Recursively Grep Directories And Subdirectories

Learn how to use the grep command in Linux to search files in directories and subdirectories recursively. Understand the need for recursive grep, use the recursive grep command, and explore advanced … read more

How to Use Find and Locate on Linux

Using Find and Locate commands on Linux can greatly enhance your file searching capabilities. This tutorial provides an introduction to these commands and their syntax, as well as best practices for … read more

Using SSH to Connect to a Remote Server in Linux

This article provides a tutorial on using SSH to connect to a remote server in Linux. It covers topics such as the basics of SSH, generating and using SSH keys, configuring SSH with the config file, … read more

How to Configure bashrc in Linux

Configuring the bashrc file in Linux is essential for customizing your Linux command line experience. This tutorial will guide you through the structure and syntax of bashrc, how to access and edit i… read more

How To Find All Files With Text On Linux

Learn how to search for specific text in files on Linux using simple commands. Find all files containing a text string easily and efficiently. Discover how to utilize the grep command and the find co… read more

How to Use SFTP for Secure File Transfer in Linux

Securely transferring files between a local machine and a remote server is essential in Linux environments. This article provides a step-by-step tutorial on using SFTP for secure file transfer. From … read more

How to Use Grep Command in Linux Unix

Learn how to use the grep command in Linux Unix with this tutorial. From understanding the syntax and regular expressions to advanced techniques like context control and output control, this article … read more

How to Use the Ls Command in Linux

Learn how to use the Ls command in Linux with this tutorial. From understanding the syntax and parameters to exploring real-world examples and advanced techniques, this article covers everything you … read more

Secure File Transfer with SFTP: A Linux Tutorial

Learn how to securely transfer files with a remote server using SFTP in Linux. This tutorial covers everything from installing and configuring SFTP to managing files and directories, best practices f… read more

How to Use Linux Commands

Learn how to use Linux commands with this tutorial. The article covers various topics including command line basics, manipulating files and directories, file viewing and searching, file permissions a… read more

Advanced

Displaying Images using Wget Bash Script in Linux

Learn how to display images in Linux using a wget bash script. This article covers everything from downloading an image with wget to displaying it in the terminal. Discover alternatives to wget and e… read more

How to Continue a Bash Script Post cURL Command

When working with bash scripts in Linux, it's important to know how to continue your script after executing a curl command. This article will guide you through common techniques for handling curl out… read more

Tutorial on Traceroute in Linux

Traceroute is a powerful command in Linux systems that allows you to trace the path of network packets from your computer to a destination. This tutorial provides a detailed guide on how to use trace… read more

How to Set LD_LIBRARY_PATH in Linux

Setting the LD_LIBRARY_PATH environmental variable in Linux can be done in a few simple steps. This article provides a guide on how to set the LD_LIBRARY_PATH temporarily and permanently, as well as … read more

How To Send A Header Using A HTTP Request With cURL

Including headers in a cURL call to send HTTP requests in Linux is a crucial skill for software engineers. This article provides a concise guide on how to accomplish this task effectively. The chapte… read more

Setting up an Intrusion Detection System on Linux

Setting up an intrusion detection system on Linux is essential for securing web applications. This step-by-step guide provides instructions on installing and configuring a PHP intrusion detection sys… read more

Troubleshooting

Troubleshooting: Unable to Save Bash Scripts in Vi on Linux

Addressing the issue of saving bash scripts in Vi editor on Linux systems. Troubleshooting common issues with saving bash scripts in vi and understanding the vi editor and its functionality. read more

Fixing the 'Linux Username Not In The Sudoers File' Error

Resolving the 'Linux: is not in the sudoers file' issue can be frustrating, but there are solutions available. This guide provides step-by-step instructions on how to add a user to the sudo group or … read more

How to Fix 'Undefined Reference to pthread_create' in Linux

A guide to address the 'Undefined Reference to pthread_create' issue in Linux. This article covers checking for the pthread library installation, adding the -pthread linker flag, using the pthread li… read more

How to Fix Openssl Error: Self Signed Certificate in Certificate Chain on Linux

Resolving the OpenSSL error of self signed certificate in a certificate chain on Linux can be accomplished through two simple solutions. The first solution involves adding the root certificate to the… read more

System Administration

Creating Incremental Backups with Bash Scripts in Linux

Implementing incremental backups in Linux using bash scripts is a valuable skill for any system administrator or developer. This in-depth tutorial covers topics such as the difference between full an… read more

Using a Watchdog Process to Trigger Bash Scripts in Linux

Setting a watchdog process to trigger bash scripts in Linux can greatly enhance automation and monitoring capabilities. Learn how to create a watchdog process, trigger bash scripts, and explore commo… read more