Test Shell Builtin Command

Test Shell Builtin Command

The test command can be a shell builtin or file executable (if you specify the full path to the file) that is used for file comparison, it returns a status of 0 (true) or 1 (false) depending on the evaluation of […]View Full Post

read prompts in bash script

read prompts in bash script

We’ve previously taken a quick look at the builtin read command, where we use the built-in read to populate the $REPLY variable, which holds the value of read when a variable is not supplied to read, it would store whatever you […]View Full Post

Sourcing With Bash

Sourcing With Bash

Generally, to run a bash program or script you need to add a permission bit, which makes the program or script executable and you then run it whenever you like, the thing is when execution starts, a new process or […]View Full Post