Shell Script Parameters A bash shell script have parameters. These parameters start from $1 to $9. When we pass arguments into the…
scripting
-
-
Shell Scripting case A case construct helps us to simplify nested if statement. You can match several variables against one variable. Each…
-
Shell Scripting eval command The eval command is a built-in command. It takes a string as its argument and evaluate it, then…
-
Shell Scripting Prevent setuid root spoofing Spoofing is a technique through which a user tries to grant unauthorized access on a system…
-
Shell Scripting Shift Through Parameters Shift command is a built-in command. Command takes number as argument. Arguments shift down by this number.…
-
Shell Scripting Sourcing a config file Many programs use external configuration files. Use of external configuration files prevents a user from making…
-
Shell Scripting Sourcing a file A file is sourced in two ways. One is either writting as source <fileName> or other is…
-
Shell Scripting Tutorial Shell Scripting tutorial provides basic and advanced concepts of Shell Scripting. Our Shell Scripting tutorial is designed for beginners…
-
Shell Scripting for loop The for loop moves through a specified list of values until the list is exhausted. 1) Syntax: Syntax…
-
Shell Functions With the help of functions, overall functionality of a function can be divided into smaller or logical parts, which can…