exit – POFTUT

Linux Bash exit and Exit Codes

Linux bash shell provide simple but useful programming environment. We can write simple applications, scripts which will run commands, redirect input and outputs and create, stop process. After the execution of the script or function we may need to provide some information to script caller. exit keyword is used to end given script with useful information. … Read more

How To Linux Bash For Loop In Files?

Bash provides a lot of useful programming functionalities. for loop is one of the most useful of them. We can use for loop for iterative jobs. Linux system administrators generally use for loop to iterate over files and folder. In this tutorial, we will look at how to use for loop to iterate over files … Read more

Linux Bash Input, Output and Redirect

[rps-include post=6835] Linux Bash have different ways to run command and get output of the command or redirect the output. In this tutorial we will look different ways to redirect commands output. Writing Multiple Commands Same Line Command line can be terminated with ; to write commands same line $ clear;ls; In this example first … Read more