Hack 57. Eliminate the continuous repeated entry from history using HISTCONTROL Hack 57. Eliminate the continuous repeated entry from history using HISTCONTROL by Ramesh In...
Hack 68. Fine tune the partition using tune2fs Hack 68. Fine tune the partition using tune2fs by Ramesh Use the tune2fs –l /dev/sda1 to view the filesystem information as s...
Hack 43. Use shell script inside PS1 variable Hack 43. Use shell script inside PS1 variable by Ramesh You can also invoke a shell script inside the PS1 variable. In the exa...
Hack 32. PS4 – Used by “set -x” to prefix tracing output Shell script and output WITHOUT PS4: Shell script and output WITH PS4: Hack 32. PS4 – Used by “set -x” to prefix trac...
Hack 80. Show all accepted directives inside httpd.conf Hack 80. Show all accepted directives inside httpd.conf by Ramesh This is like an extended help for httpd, which wil...
Hack 52. Repeat previous command quickly using 4 different methods Hack 52. Repeat previous command quickly using 4 different methods by Ramesh Sometime you may end up repe...
Hack 73. Use ssh-copy-id along with ssh-agent Using ssh-copy-id along with the ssh-add/ssh-agent Three Minor Annoyances of ssh-copy-id Hack 73. Use ssh-copy-id along with ssh...
Hack 31. PS3 – Prompt used by “select” inside shell script Shell script and output WITHOUT PS3: Shell script and output WITH PS3: Hack 31. PS3 – Prompt used by “select” insid...
Hack 42. Use bash shell function inside PS1 variable Hack 42. Use bash shell function inside PS1 variable by Ramesh You can also invoke a bash shell function in the PS1 as ...