How To Unzip/Extract Gz File In Linux?

How To Unzip/Extract Gz File In Linux?

Gzip is a popular compression algorithm and tool used to compress files to reduce file sizes? The gzip compression is very popular in Linux and Unix-based operating systems and distributions. The gzip files generally have the *.gz or *.z extension. In this tutorial, we explain how to extract or unzip the gzip files by using … Read more

How To Add Comment To Dockerfile?

How To Add Comment To Dockerfile?

Dockerfile is used to configure docker images and specify commands to be executed before the image creation. Dockerfile contains instructions to read by the docker engine and executed properly. Even the Dockerfile may contain a lot of commands, configuration, etc. which should be explained and described for later use. Comments can be added into a … Read more

Bash Shell Script Comment

Bash Shell Script Comment

Linux Bash Shell Script Comments can be used to add some information about the script of specific command or line in a script file. Comments are not interpreted as a shell script command. Single line or multiline comments can be created in a shell script. Bash Shell Script Singleline Comment The hash mark (#) is … Read more

Linux Bash Comment Tutorial

Linux Bash Comment Tutorial

Bash comments are used to provide descriptions and explanations for the bash script. Bash comments can be used to add description and explanation for a variable, function, code block, or for the complete script. Comments can be used later used to understand the bash script and related code blocks easily and make changes or updates … Read more

How To “mkdir” Only If Directory Not Exist In Linux?

How To "mkdir" Only If Directory Not Exist In Linux?

Linux mkdir command is used to create directories. The mkdir command creates directories that don’t exist. But in some cases, the directory may already exist where we do not want to create or recreate the directory. You may ask how can I accomplish this if the directory exists does not run mkdir command? Directory Existince … Read more

Recursive mkdir Command In Linux

Recursive mkdir Command In Linux

The mkdir command is used to create folders or directories in the Linux operating system. By default, one-level directories or folders can be created and child folders cannot be created with a single command. But to make things easier and faster the mkdir command provides the -p option in order to create multiple parent and … Read more

Linux Bash sort Command Tutorial

Linux Bash sort Command Tutorial

Linux bash provides a lot of useful commands where the sort command is one of them. As its name suggests the sort command is used to sort different content from a file, command, device in different ways. The default behavior of the sort command is sorting provided content from a to Z in ASCII format. … Read more

How To List and Display Cron Jobs In Linux?

How To List and Display Cron Jobs In Linux?

Cron Job is used to execute and run different applications, scripts, commands, and tasks at the specified time and intervals in Linux distributions. List and Display Current User Cron Jobs with crontab Command The crontab is the official command in order to manage cron jobs. The crontab command can be also used to list and … Read more

The “error command gcc failed with exit status 1” Error and Solution

The "error command gcc failed with exit status 1" Error and Solution

The “error command gcc failed with exit status 1” error is a very common error that is mainly related to the GCC compilation and required libraries. This error text is longer than this. The remaining part expresses the specific application name or libraries. In this tutorial, we examine how to find the error cause and … Read more