Learn about each step of the boot process of a Linux system.
This is the standard author on the site. Most articles are published by individual authors, with their own profiles, but when multiple people have a strong contribution, we publish collectively here.
Here's what I've written (so far):
Baeldung on Linux on Java
- Administration (117)
- Scripting (98)
- Files (96)
- Processes (62)
- Networking (50)
- File Editing (33)
- Filesystems (25)
- Installation (17)
- Security (16)
- File Searching (14)
- Web (12)
- File Viewing (12)
- Search (7)
- Series (5)
- File Permissions (5)
- File Compression (5)
- Uncategorized (1)
Learn about NEW, ESTABLISHED, and RELATED iptable states.
Explore a few tools for a regular or real-time backup of parts of our Linux filesystem.
Learn about ways to add a volume to an existing Docker container.
Learn how to simulate the cron’s environment.
Learn what *** means in the output of traceroute.
Learn how to create and remove systemd service files
Learn about cURL and how to use it for validating certificates.
Learn about ways to run Xcode in Linux.
Learn various methods to check firewall status in Linux.
Learn how to add users and correct their permissions in Docker containers with Alpine Linux.
Learn about autocompletion in Vim.
Learn how to count words in a file.
Learn how to split a file into parts and join pieces back together.
Learn how to integrate the GNU Debugger with the Vim editor.
Learn how to customize the GRUB menu.
Learn how to select contents of a file with vim editor on Linux.
Explore various ways to reset a lost password and recover your account.
Learn how to detect rogue DHCP servers.
Learn how to bind together Internet interfaces.
Learn how to clean up the contents of files without references.
Learn about the differences among resolv.conf, systemd-resolve, and Avahi and how they resolve IP addresses.
Learn the commands to ask the DHCPD server to list assigned DHCP IP addresses.
Learn the function and differences between some standard server configuration directories.
Learn how to set up guest-to-host access in VirtualBox.
Learn how to use square brackets and double parenthesis to compare variables with numbers in Bash
A series of tutorials on Linux filesystems.
Learn about ways to detect and kill all stopped jobs in a Linux system.
Explore multiple ways to define more than a single command in the Docker CMD directive.
Learn different methods to determine if a shell variable is empty in Linux.
Learn how to share the configuration between Vim and Neovim.
Learn about the different kinds of shells we can get in the Linux environment.
Learn how to manage alternative programs.
Explore two methods to find the character encoding of a file in Linux.
Learn about ways to override the Dockerfile CMD when running a Docker image.
Learn about the definition of each memory attribute field in the /proc/meminfo file.
Learn how to configure the Apache web server to listen on two different ports.
Learn the difference between an IP and MAC address, and how to resolve the MAC address from a host’s IP.
Learn multiple ways to configure DNS in Linux.
Learn how to convert HTML documents to PDF in Linux.
Learn about a few popular Linux bootloaders and how to install and use them.
Learn how to monitor resource availability in the context of I/O operations.
Learn how to optimize the battery’s life in computers with Linux operating systems
Learn how to convert strings to numbers and perform calculations.
Learn how to access a BitLocker-encrypted device in Linux.
Learn about ways to check the environment variables a Linux process uses.
Learn about TCP/IP sockets and Unix sockets
Explore two git graphical user interface clients meant for Linux – Git Cola and Gitg.
Learn how we can change a device state from read-only after a temporary crash in Linux.
Learn about the swap files of the vim editor.
Learn more about the fstab file and how we can use it to allow users to read and write to a partition
Learn how to restart a stopped Docker container and automate the process.
Learn to play audio files from the Linux command line.
Learn about GRUB 2, how to re-install it, and repair it if any issues are found.
Explore different ways to set environment variables for daemons managed by systemd.
Learn how to check if a user might use sudo.
Learn to extend logical and extended partitions with fdisk on Linux.
Learn various commands to check if a process is running in Linux.
Learn about the Linux way to manage memory.
Learn how to unlock a Linux account after too many failed login attempts.
Learn how to set up your favorite Desktop environment to start up with your system.
Learn how to install and use telnet on a Linux machine.
Learn about the ipconfig and ifconfig network configuration commands
Learn about ways to merge CSV files in Linux.
Step-by-step explanations on setting up networking and SSH access to a local Linux virtual machine.
Learn how shared libraries work on Linux and to check if they are installed.
Learn how to delete a user and what to do if that doesn’t work as expected.
When we connect to a new host via SSH, we’re prompted to check its identity. We look at how to do this in advance of making an SSH connection in order to check hosts before using them, and to prevent scripts stalling at the prompt.
Learn three tools for creating a tunnel from one local port to another in Linux.
Learn how to boot Linux into command-line mode.
Learn about different methods of checking the processor speed of a Linux system.
Learn about the soft and hard limits on the number of open file descriptors.
Learn about the SFTP, SCP, and FISH protocols and explore some of the advantages of using each
Examine various ways to customize the Bash shell’s command prompt
Learn how to install and use Homebrew on Linux.
Learn how to resolve the “address already in use” issue in Docker.
Learn three approaches to scanning a LAN to get a list of all IP addresses on a LAN.
Learn how to install the VirtualBox Extension Pack via the CLI and GUI
Learn how to use programs to monitor network interfaces in real-time.
Learn about changing the primary monitor in X and Wayland.
A practical comparison between SO_REUSEADDR and SO_REUSEPORT.
Understand the /etc/network/interfaces configuration file and learn how to configure the network in Linux.
Learn how to read corresponding lines from two input files.
Learn how to add particular options to rsync to make it ignore specific file properties.
Learn how to add a user to multiple groups with various methods on Linux.
A quick and practical guide to running Docker without sudo.
Explore different ways of converting binary data into hexadecimal format.
Explore destination-based and source-based routing.
Explore several examples of using rsync in different scenarios.
Learn how to use the runuser command to execute parts of a script with a different user.
Explore the yq command.
See multiple methods to check whether a command executed successfully or not in Linux.
Explore the basics of Network Manager, while configuring network connections.
Learn about primary and secondary groups in Linux and their differences.
This article explains how to run different scripts sequentially and also how to stop and resume in foreground and background.
Learn methods of concatenating videos via FFmpeg.
Discover tools to limit the communication speed over a given interface under Linux.
Learn how to optimize your Vim workflow by manipulating windows on Linux.
Learn how to work with Flatpak, a package manager with many advantages.
Learn a few methods to list all users in a Linux group.
Learn how to connect a system to a wireless network using the command line from Linux.
Learn ways to detect which Linux distribution a system is running.
Explore various ways to utilize the feature of writing to a file directly from a Bash terminal.
This guide explains which characters are allowed and recommended in an environment variable on Linux.
Learn how to list installed packages on Debian and Red Hat based Linux systems.
Learn how permissions apply to symbolic links in Linux, and how to modify symbolic link ownership and permissions.
Learn about the Snap ecosystem and its main components.
Learn how to find logs of failed sudo attempts.
Learn a few options to compare binary files in Linux.
Depending on how it was installed, there are a few ways to uninstall a Linux application and its files. We look at how to do this via package managers and manually.
Learn how to get the hostname from an IP address in Linux.
Learn how to initiate a server and run iPerf on the client machine to measure network performance and bandwidth.
Explore different ways of counting characters in a line.
Explore ways of excluding some files from being deleted.
Learn about the /dev/sda file in Linux, and how it relates to a hard drive partition.
Learn how to create a Bash script that reads a text file line by line and displays each line on the screen.
Learn how to find the IP address of your primary network interface on Linux.
This article shows how to configure an NTP server and client on Linux.
Copying files between Linux machines can get interrupted. SCP is not usually able to resume a stalled copy. We look at some alternatives for file copying and how to kick start SCP.
Learn how to check if the Linux system regards a file as executable.
Learn how to generate cryptographic keys quickly using gpg.
Learn how to create a menu with a list of options in Bash.
Let’s compare vi and vim editors’ features.
Learn a few different methods to run commands that have been shadowed by an alias in Linux.
Learn how to convert videos to gifs using the command-line FFmpeg tool.
Explore ways to view and access the system resource usage in the Linux system.
Learn about Buffer Cache in Linux and how to restrict its size.
Learn to manage the system’s hostname.
When searching through our files using grep we may need to exclude binary files. We explore an example of how to do this and how grep works in this case.
Learn about ways to extract audio from video files using FFmpeg.
This short article explains what happens to files and directories when we issue the rm command to delete them.
Learn how to find out the start time of a long-running process in Linux.
Explore different ways to batch convert image files from one format to another.
Different commands to list only directories on Linux.
Learn how to connect to an FTP server, run several commands, and send files to/from the FTP server.
Learn how and why the output of htop and ps differs, as well as ways to adjust it.
Learn what each member of the exec() family of functions does and the differences between them.
Learn about the set command in Linux, its various options and their use cases.
Learn about the different ways to monitor memory usage.
A practical guide to compiling 32-bit binaries on 64-bit Linux systems.
Learn how to create a bash script that counts the files in a directory, and if there are more files than a specific number, it removes the oldest ones
Discover how to perform saving and quitting in the vim editor.
Learn algorithms to compare two strings in dot-separated version format to determine which one is the latest version.
Learn different approaches to putting items at the end of an alphabetic list in Linux.
Learn how to view the open file descriptors of a bash session.
Learn how to create big files (> 100 MB) on a Linux system.
Learn three approaches for listing all the available commands and aliases in Linux.
Explore ways to provide information about the Linux operating system.
Explore the setuid programs with the ability to do privileged work for ordinary users.
A quick and practical guide to using the tail command with colored output.
Learn to start, stop and restart the Nginx server in Linux.
Compare the performance of two of the most famous Linux shells: dash and bash.
Learn how to give full and limited sudo privileges to a local user in Linux.
Explore the applications of eval.
Sometimes we need to run a process in the background and check in on its progress from another Bash terminal. We look at a number of ways to monitor the output of a process.
Learn how to configure the remote access of MongoDB.
Overcome errors when writing to a directory despite having group permissions.
Learn how to check and monitor threads on Linux.
A practical guide to users and groups management in Linux.
Explore different ways we can raise an error and exit from the script.
Looking for a DevOps professional to join the Baeldung team.
Learn how to find the path of a process in Linux.
Learn how to check encoding schemes for a file and use the iconv tool to convert files to another encoding format.
Learn how to find all the serial devices on Linux without the need of opening them.
Learn tools and methods to monitor the network usage per process.
Learn how to compare two files, word by word, on the Linux command line.
Learn how to extract the duration from video files using different tools.
Learn about rsync and how to work with hidden files.
Learn how we can read machine code in Linux.
Learn about signals in Linux processes and understand why SIGINT is not propagated to child processes.
Learn to effectively run bash commands using gnome-terminal’s tabs.
Learn about different identifiers in Linux.
Learn how to get the final URL after a requested URL is redirected using curl and wget.
Learn how to check running processes in Linux, what the PID 0 is, and the actual process that has PID 0.
Learn all about the essentials for downloading directories and subdirectories recursively on the web.
Learn how to profile the memory usage of a Linux process by reading the output of the /proc/id/maps file.
Learn how to use the winedump command-line tool that is part of the wine tool to show exported symbols of a DLL.
While the find command can help us find files by types and permissions they possess, sometimes we need to look for files which are missing certain permissions. We look at how to achieve this in a couple of different ways.
Learn how to configure X11 port forwarding to run programs remotely over SSH
Learn how to query the status of the Ethernet port of a system
Learn how to parse a properties file.
Learn how to exit from bash in a safe manner.
Learn different ways to automate telnet sessions using the expect command.
Learn how to handle interactive processes and non-interactive processes in Linux.
Learn how to delete selected text from a vi editor in Linux using various techniques
Learn how to use “let” in Bash.
Learn how to use envsubst to replace all referenced environment variables in a text file with their corresponding values
Learn how to find the MAC address of a network interface in Linux.
Learn how to insert newlines to a variable in bash.
Learn about the different ways we can iterate over the output of the ls command.
Learn multiple ways of performing division on integers and floating-point numbers in Bash
A quick and practical explanation of tainted Linux kernels.
Let’s look at a few techniques for storing command output in variables in bash.
Explore different approaches to request a file in Linux without saving it locally.
Learn how to redirect the output of a systemd service to a given file with a simple example
Learn about sysroot and ways of tweaking it when calling the compiler.
Learn how to prevent wget from following redirects when downloading content in Linux.
In this tutorial, we’ll look at some specialized commands that can be used to search for strings in PDF files.
Learn multiple methods to set a user’s password non-interactively inside a shell script in Linux.
Learn about the different ways we can concatenate files.
Learn how to check if a variable is a number in Bash.
Learn how to link all files from one directory to another in Linux using various techniques
Learn different ways to uninstall Jenkins from Linux.
Learn about Linux open ports and their importance in minimizing security threats.
Learn several ways of getting the child processes of a process using pgrep, pstree, ps, and the proc file system
We can use the du command to find the size of files and directories, but this behaves unexpectedly when we have hard links. We look at how to resolve this issue and why it behaves this way.
Linux Technical Editor role
Learn how we can run a script or a program from a different directory in a shell script
Learn how to rename all folders and files to lowercase in Linux.
A quick and practical guide to synchronizing directories in Linux.
A quick and practical guide to using curl without cache.
Bash provides several ways to manage flow control in a script, but it does not natively provide a goto statement. We look at how to simulate goto and how to use the other built in flow control techniques
Learn how can we install an entire software package that has hundreds of files.
Learn how to set the vim background colors with the help of the colorscheme and highlight commands
Learn how to use command arguments from a file.
Learn how to merge PDFs from the Linux command line
Learn multiple ways to periodically restart a systemd service in Linux.
When running a Docker container we can set a port mapping to allow communication through the host. This usually is fixed for the lifetime of the container. We explore some strategies for changing the port mapping for an existing container.
A series of tutorials on managing Linux processes.
Explore a few ways to list the storage devices attached to a Linux system.
Learn the different essential registers in Vim and how we can access these registers to yank and paste text
Learn how to search for text that matches a multi-line pattern in a file using grep and awk
Learn why there’s a limit on the number of threads per process in Linux, and how to find out what that limit is.
A quick and practical guide to creating simple Debian packages.
Learn what Unix Sockets are and how to create and interact with them using common Linux utilities.
Learn how to create a directory and set permissions in a single command with the help of the mkdir and install commands.
Learn different methods to dynamically assign values to variables
Learn the differences between Process Identifier, Thread Identifier, and Parent Process Identifier in Linux, and also how to retrieve this information using various approaches.
Have a look at several ways of creating an archive file without keeping the directory structure.
Learn various ways to check the age or modification time of a file
Learn what killed a Linux process and determine why it happened
Learn how to configure Linux without using any UIs.
Learn about the lost+found directory and why it exists on Linux filesystems
Learn the meaning of using “-” in the Linux command-line and how it is interpreted by the most common commands
A quick and practical guide to the source command.
Learn how to restrict the commands a logged-in user can run in SSH session.
A collection of guides that show useful administration operations on Linux.
Learn how to automate the process of creating a user
Learn how to check if an SMTP server is running ok via the terminal.
Learn about the buffer and cache in Linux and how to empty them.
In this tutorial, we’ll talk about the use of the command find with regular expressions (regex).
Learn how to pass the PATH environmental variable to a scheduled process.
Understand the searching functionalities that GNU Bash offers and also learn of a conflicting key sequence (C-s) used by both the terminal and the shell.
A quick and practical guide to accessing and executing the commands on a remote SSH machine.
Learn how to detect and remove non-UTF-8 characters from a file.
Learn how to redirect output to another function in Bash.
Learn the difference between a double (..) and a single dot (.) in Linux.
Learn how to execute scripts over SSH connections.
A quick and practical guide to listing different specific file types between two directories.
In this tutorial, we’ll configure the Linux kernel and learn about its oldconfig Makefile target.
In this tutorial, we’ll discuss how to monitor disk I/O activity in the Linux system.
Learn how to find the limit on the length of filenames in Linux.
Learn about the Linux system limits placed on file descriptors in the context of understanding and resolving the “Too many open files” error.
Learn to find a process that is using a file in Linux.
Learn the graphics stack used in Linux-based operating systems and about some of the high-level GUI toolkits
Learned about process IDs in Linux – how they are generated, how high they can go, and what happens when the limit is hit.
A quick and practical guide to solving hostname resolution issues.
Learn the differences between running Linux on a virtual machine and bare metal
Learn a few tips and tricks using some well-known Linux commands to determine the peak memory usage of a process.
Learn the history behind POSIX, how it evolved, and some of the important POSIX standards
Learn a few different Linux commands for counting the number of directories contained inside a specific directory or directory tree.
Learn to change permissions for a folder and all its content in Linux.
A practical guide to creating a folder and file paths in one command in Linux systems.
Learn why the localhost is the default name of our system and how it helps test applications through the loopback network interface.
Explore the /dev directory and the contents that fall under it.
In this tutorial, we’ll discuss how to resolve or translate a domain name to an IP address. For this purpose, we’ll be using the following commands: ping, host, nslookup, dig, and nmap.
A quick and practical guide to displaying request headers using curl.
Learn a few methods we can use to find files by name or extensions inside the Linux terminal using built-in utilities
Learn how to compare two text files in Linux, and also find out how you can narrow down the comparison to find only addition/removal differences between them.
Learn how to schedule script execution in Linux.
Learned how we could encrypt our storage drives with Cryptsetup and VeraCrypt
Learn to find the process ID of Linux foreground and background processes.
Learn multiple command-line techniques for removing the last character in a file.
Learn several methods for finding the graphics card version for AMD, Nvidia, and Intel
Understand the “bad ELF interpreter” error in Linux and how to solve it.
Learn different ways to include the modified dates of files in the search result of the find command
Learn how to sort a file in-place from the Linux console using the sort command.
A quick and practical guide to monitoring CPU usage on Linux.
Learn to deploy long running applications in Linux.
Learn some of the simple and useful and tools we can use to concatenate multiple Gzip files into one from the Linux command line
Learn how to convert an image to Base64 in Linux
Learn what could be causing the “No such file or directory” error when we try to execute a binary of a program.
Learn how to use a variety of tools to print the first specified number of characters from a file
In this article, we’ll discuss some of the plausible ways to rename files by replacing space(s) from the filename.
Learn how to determine if a process is running inside a Linux container.
Learn multiple ways to find out the current, running shell in Linux.
Learn to use several tools to quickly find out and display the dimensions of an image file from the Linux command line
Learn two ways to solve the “Too many levels of symbolic links” error
Learn how to work with aliases in Linux.
Learn how to use the env, printenv, declare, or set command to list all variables in the system
Look at the methods we can use to bypass the confirmation prompts triggered by shell scripts and programs
Learn how to use Bash history to work more efficiently.
Learn how to use the vi command inside a Docker container.
Learn a few approaches to clipping videos using FFmpeg, which is a suite of tools provided for video manipulations
Learn about different tools we can use to open images from the Linux command line
A guide to killing Linux processes using their partial names.
A quick and practical guide to searching for text files in a particular directory.
Learn how to count all the lines of code in a directory in Linux.
Explore the usage of echo and printf commands in Linux and Unix-based systems.
A quick and practical guide to escaping a double quote in grep.
Learn multiple ways to monitor CPU usage and create a CPU spike in bash.
Learn how to get the path of a Linux command.
A quick and practical guide to debugging Linux OOM errors.
Learn how to download a GitHub repository tarball in Linux.
Explore the current and installed shells in the Linux system.
A quick and practical guide on how to use clipboard from command line.
Explore the details of the process and thread in the context of Linux
In this tutorial, we’re going to see different tools that we can use to check for total physical memory in Linux.
A practical overview of most common /proc/cpuinfo flags.
Learn about ssh’s proxying and tunneling capabilities
A guide to deleting empty files and directories on Linux.
Learn about archive libraries and shared object libraries
Explore stale file handles in Linux.
Learn to move all files except one in Linux.
Learn about different approaches in Linux to find the character count in a text file.
In this tutorial, we’ll have a look at how to find all of the soft links for a specific file.
In this tutorial, we’ll explain the steps to create an alias and learn how to pass parameters to it in the Bash shell.
In this brief tutorial, we’ll see some ways for serializing commands using bash in Linux. Even when some of them are already running.
Learn the most common ways of counting the number of lines of a specified file using Bash
Learn to make an HTTPS connection using curl.
In this tutorial, we’ll take a look at process management using process groups. Also, how to kill all processes that belong to a process group.
Learn how to capture SSL handshake messages over the network.
Learn to kill a Linux process running on a specific port.
Learn how to display specific columns from a file using Linux scripting.
Explore several ways of how directories can be compared on Linux.
Learn three practical methods to exclude directories while recurring through the directory hierarchy using grep
As Linux users, we frequently interact with the file systems. One of the common tasks is to list the files and sort them according to their size.
Learn to find and convert files ending with CRLF.
Learn how to run a Java Application as a service on Linux.
Learn how to use the negation of condition statement in bash programming.
Learn to find the IP address of the client in an SSH session.
Learn about the startup files .bashrc, .bash-profile, and .profile and their differences.
Let’s learn different ways to redirect or copy the output of an already running process
Learn how to pass the output of a command as an argument for another in Linux.
Learn different ways of ensuring only one instance of a bash script is running
Learn how to check if a string contains a substring in Linux.
There are many ways to run multi-line shell commands in Linux at once. Let’s explore and compare them.
Learn how to generate random numbers in a Linux environment.
Learn how to search within specific files on Linux.
Learn how to find the source code for the common Linux tools.
Learn about anonymous and named pipes in Linux.
A quick and practical Bash guide to checking if a directory is mounted.
Sometime we may need to process the content of a web page in our scripts. Let’s see how we can download a web page to a shell variable for further processing.
Learn how to find the current working directory of a running process.
When scheduling long-running jobs with cron, we may need to implement some sort of mutex functionality to prevent two instances running at the same time. Here we discover a few things we can add to our scripts to achieve this.
A quick and practical explanation of Linux stack spaces.
Learn the purpose of the most used MySQL utilities, along with some examples
Have a look at how to list active SSH sessions in Linux.
The bash shell runs commands as jobs. These can be paused, resumed and killed from the shell, with paused jobs resulting in warnings when we logout. We investigate how to take control of our jobs.
Learn how to record terminal sessions in Linux using script.
Learn a few options we can use to gather per-core CPU usage of a process
Learn how to insert text at a specific line of a file using Linux commands.
Have a look at how to detach and reattach to another screen session.
Linux provides several ways to constrain the resources used by a process. We look at a few techniques for controlling the CPU, RAM and disk space that a process can access.
Learn how to remove line endings from files in Linux.
Learn several ways to free up a TCP/IP port.
Learn the syntax for heredoc and herestring.
Learn different ways of partitioning disks in Linux.
Learn how to run multiple commands in the background using the Linux shell.
The paste command is a simple yet powerful tool. Let’s explore how we can use it.
Learn how to write text into a file using the Linux cat command.
Learn how to keep SSH sessions alive in Linux.
Let’s see how to change the default home directory of a user on Linux.
Have a look at how to append the contents of multiple files into one in Linux
Are you curious about what the “LD_PRELOAD trick” is and what you can use it for? Just keep reading.
Learn how to use conditional expressions in Shell
Learn how to repeat a Linux command at a given interval.
Do we need to recursively list directories that contain symlinks? Let’s find out how in this tutorial.
Learn how to append lines to the end of a file in Linux.
Learn about the differences between defining a bash variable with export and without export.
Certain characters cause problems when we use them in command arguments. Let's see how double-dash could be the solution.
Learn several ways of finding disk consumption points so that we can free up disk space
Learn about iptables which is a user-space firewall that filters connections based on user-defined rules
When we need to generate file hashes, SHA-256 is often one of the best choices. Let’s see how this works in Linux using the command line.
Explore the main differences between su and su – commands in Linux.
Learn how to manage and configure core dumps. We’ll investigate kernel.core_pattern and coredumpctl.
We often need to connect from our Docker containers to applications in the host. This is not the default, so let’s see what we need to do to make it possible.
Learn the benefits of each command, along with examples where each one excels
Learn different ways to combine and execute multiple Linux commands efficiently.
Learn how to start a shell in a new or running Alpine Docker container.
Learn how to calculate the min, max, mean, and median values of a dataset using Linux commands.
Learn how to execute a shell script directly from a URL using curl and wget.
Swap space is useful even when a Linux system has more than enough RAM for all its tasks. Here we dig deeper into swap space and why using it can be preferable to keeping everything in RAM for most installations.
Learn how to run our services with docker-compose and MariaDB to access multiple databases
Learn about Linux locale environment variables and how they affect the languages and character sets used to display command output.
xargs is very useful when we need to build command pipelines that pass the output of one command, as arguments for another.
Learn how to display system information without worrying about the underlying operating system using Neofetch.
Learn how to easily compare two files in Linux using the comm command.
Learn how to join the contents of two files using the join command.
Learn a few advanced techniques for using sed to search and replace text that contains multiple lines
Learn how to delete a file whose name begins with "-" using the find and rm commands.
Learn how to monitor memory usage in Linux using the free command.
Learn about using xz for compressing and decompressing files from the Linux command line
Learn the key differences between /dev/console, /dev/tty, and /dev/tty0 in Linux.
Learn how to use Bash special built-in variables to control the execution flow of a script
Learn about the docker build cache and how to control it.
Learn several ways to empty the content of a file.
Learn how to efficiently navigate directories with the pushd and popd commands.
We’ll look at different strategies to randomly choose a line of text from a file.
Learn how we can use the different memory measurements of Linux processes.
A quick and practical guide to Linux’s source command.
Learn how docker-compose can access private repositories using the docker login command.
Learn about associative and index-based Bash arrays
Learn how to use grep, awk, and sed to delete lines containing a specific string from text files in Linux.
There are a few ways we can reverse the output of a file, or command. Here we look at some of the common methods and compare their performance.
Explore how so (shared-object) files are organized in a Linux filesystem.
Learn how to use gzip and gunzip for compressing and uncompressing files from the Linux command line
Learn how to use dmidecode and lshw to retrieve the RAM configuration of our system
A quick and practical guide to the Linux ping command.
Learn how to use pkill, killall, and other tools for killing processes in Linux.
Learn how to use the tee command in Linux
Learn several ways to remove the first characters of line in Linux.
Learn how to use the chgrp command in Linux.
Linux provides the ifconfig tool to help us review and modify the settings and state of network interfaces. We explore some common use cases.
Learn how to count the number of files in a directory on Linux
A quick and practical guide to the “man” command in Linux.
Learn what Fork Bombs are and how to prevent them.
Take a deep dive into the vi editor
Learn how to use the cd command in Linux Bash Scripts.
Learn different ways to display a directory structure’s contents recursively in Linux
Learn how to operate the uniq endpoint in Linux.
Explore Linux Files through various articles with examples
The AWS CLI allows us to control our AWS account from the command line. Here we look at how easy it is to install on our Linux system.
Explore Linux Scripting through various articles with examples
A quick and practical guide to managing processes in Linux.
Learn about the diff command in Linux
Learn the path network packages take using the traceroute command.
A quick and practical guide to setting terminal output color in Linux.
Learn how to use the tar utility to create, list, and extract archives
We can securely copy data between machines using scp and rsync, which operate over a secure connection. We explore the tools’ similarities and differences.
A quick and practical guide to using shebangs.
Take a dive into the sed stream editor.
Learn how to soft-delete (trash) files in Linux systems.
Learn how to find and replace text in a file using the Linux command line.
Learn the basics of the Linux ps command including filtering and customizing the output
Linux allows us to clean up files by deleting recursively from the current directory. Here we look at the commands and how to use them safely.
Learn how to manage ec2 instances using the AWS CLI.
Take a deep dive into the awk programming language
Learn to find duplicate files in Unix.
Learn how to define and use Bash functions
Learn how to use the Linux read command to handle user input from the command line.
Learn how to use command-line arguments inside the bash script
Learn how to work with the AWS S3 CLI in Linux.
Explore file editors we can use to modify or create a new file in Linux.
Learn how to monitor and explore the disk usage in Linux.
Linux provides several tools for scrolling through the contents of text files. We compare their capabilities and demonstrate the most common ways to use them.
Learn strategies for appending multiple lines to a file in Linux.
Explore different ways of passing command-line arguments to the bash script during run time
Learn the differences between the Linux sort | uniq and sort -u commands.
Learn how to use top command in Linux.
Linux file permissions are determined by who owns the file and the visibility of that file to various users. Discover chmod and chown for configuring this.
Learn about stream redirections in Linux and how to accomplish them.
Learn several ways to split files in Unix Systems.
We can download and upload with both the linux curl and wget tools. In this tutorial we look at which tool is best suited for each type of task.
Explore different ways in which we can download multiple files in parallel using wget.
See how to copy files/folders in Linux, with full progress feedback.
A quick and practical overview of trimming strings after sequence occurrences on Linux.
Explore how to copy a file to multiple directories for both predefined and wildcard inputs on Linux.
Learn several ways to add a path to the Linux path variable.