by infra xpertzz | Feb 7, 2021 | Shell Scripting
FUNCTIONS & SIGNALS 6.1. Signals Finding the signal man page Your system contains a man page listing all the available signals, but depending on your operating system, it might be opened in a different way. On most Linux systems, this will be man 7 signal. When in...
by infra xpertzz | Feb 3, 2021 | Shell Scripting
CONDITIONS & INTERACTIVE SCRIPTS 4.1. IF clause General At times you need to specify different courses of action to be taken in a shell script, depending on the success or failure of a command. The if construction allows you to specify such conditions. The most...
by infra xpertzz | Feb 3, 2021 | Shell Scripting
GNU 3.1. Interactive editing What is sed? A Stream Editor (sed) is used to perform basic transformations on text read from a file or a pipe. The result is sent to standard output. The syntax for the sed command has no output file specification, but results can be...
by infra xpertzz | Jan 31, 2021 | Shell Scripting
BASH SCRIPT BASICS 1.1. Shell programs General shell functions – The UNIX shell program interprets user commands, which are either directly entered by the user, or which can be read from a file called the shell script or shell program. Shell scripts are...