Linux Bash exec Command Tutorial

Linux Bash exec Command Tutorial

Linux Bash shell provides the exec command in order to create a new process for the provided command and replace it with the current bash shell process. The exec command derived from the bash low-level exec() method. The exec command executes provided command with the provided arguments. exec Command Syntax The bash exec command has … Read more

Passing Function Parameters In Bash

Passing Function Parameters In Bash

As a flexible and advanced scripting environment bash provides the ability to create and run functions. Functions can be created without parameters or with parameters. By using functions with parameters the functions can be used more efficiently by using different data for different cases. In this tutorial, we will examine how to pass parameters into … Read more

How To Make POST Request with cURL?

How To Make POST Request with cURL?

The cURL is computer software and command-line tools used to make requests for different protocols. But the most popular usage with the curl command is making HTTP post requests. Even the curl command-line tool is created for the Linux operating systems it is cross-platform which can be used for Windows, MacOSX, BSD, etc. In this … Read more

Linux tee Command Tutorial

Linux tee Command Tutorial

The Linux tee command is used to process the standard input and copy the input data into another output or a file. The tee command is generally used with other commands in order to save their input into a file and also redirect to the other commands for processing. tee Command Syntax The Linux tee … Read more

Linux passwd Command Tutorial

Linux passwd Command Tutorial

Linux provides the passwd command in order to manage password and related configurations. The passwd can be used for the current user and other users. In order to use passwd command for other users, the root privileges should be provided by logging in to the root or using the sudo command. passwd Command Syntax The … Read more

Linux /etc/passwd File

Linux /etc/passwd File

All of the Linux distributions stores user information in a central file named /etc/passwd. The /etc/passwd file is a simple text based flat database which contains the current Linux system users with information like user name, user ID, default shell etc. Decades ago the /etc/passwd was also containing the user password hashes but because of … Read more

Linux route add Command Tutorial with Examples

Linux route add Command Tutorial with Examples

Linux provides the “route add” command in order to add new network routes. The route add command can be used to add a new gateway to access other networks and the internet. Also, explicit routes can be added to access other networks by specifying the first hop. During connection to a network or internet default … Read more

How To Run Shell Script (.sh File) In Linux?

How To Run Shell Script (.sh File) In Linux?

The Bash and Bash Shell is the main management component for the Linux systems. Commands run on bash in order to complete tasks or jobs. These commands can be stored in a file which is called a shell script. The shell script is used to run single or more commands by just calling the shell … Read more

How To Mount ISO File In Linux?

How To Mount ISO File In Linux?

ISO is a popular file format that is generally used to store optical media data like CDs, DVDs, etc. ISO files contain the image of a specific CD or DVD. Generally, operating systems, software, software bundles are stored inside ISO files. ISO is a file format and file system which is also defined as ISO … Read more