Hack 7. Set System Date and Time Hack 7. Set System Date and Time by Ramesh To change the system date use: # date {mmddhhmiyyyy.ss} omm – Monthodd – Dateohh – 24 ho...
Hack 40. Change the prompt color using tput tput Color Capabilities: tput Text Mode Capabilities: Color Code for tput: Hack 40. Change the prompt color using tput by Ramesh...
Hack 36. Display output of any command in the prompt Hack 36. Display output of any command in the prompt by Ramesh You can display output of any Linux command in the promp...
Hack 71. Create a new group and assign to an user Create a new developer group. Validate that the group was created successfully. Add an user to an existing group. useradd -G d...
Hack 63. Disable the usage of history using HISTSIZE Hack 63. Disable the usage of history using HISTSIZE by Ramesh If you want to disable history all together and don’t wa...
Hack 56. Change the history file name using HISTFILE Hack 56. Change the history file name using HISTFILE by Ramesh By default, history is stored in ~/.bash_history file. A...
Hack 84. Execution Sequence of .bash_* files Execution sequence for interactive login shell When you logout of the interactive shell, following is the sequence of execution: Exec...