It can be tricky to change the target of a symlink in a production environment…
Browsing: bash
Here is a great little command line trick to list only the subdirectories in your…
By default the echo command will include a trailing newline at the end of a…
Most programs will return an exit status of 0 if the program was successful, while…
For any number of reasons you may want to know the parent process ID of…
In order to control or monitor background child processes from a shell script you will…
In many cases you will need to determine the PID of a current Bash script…
At some point it may be helpful to have a BASH script dynamically determine the…
There are a few ways to take a relative path and convert it to an…
Comments are done in BASH and most other shells by placing a ‘#’ mark at…