System Check before shift begins
Here is an oldie but goodie, right before my shift would begin here is a set of items to check for. #!/bin/bash # # Script to quickly review the system status # prior to beginning a shift # 11/24/2014 F.Gonzalez…
tech notes from my desk
Here is an oldie but goodie, right before my shift would begin here is a set of items to check for. #!/bin/bash # # Script to quickly review the system status # prior to beginning a shift # 11/24/2014 F.Gonzalez…
To prevent a command from being added to the history in the first place, make sure that the environment variable HISTCONTROL contains among its colon-separated values the valueignorespace, for example (add e.g. to .bashrc): $ export HISTCONTROL=ignorespace This will prevent any command with a leading…
Use this one all the time, it relies mostly on dmidecode output and keeps it very nicely organized for a database use case later in the process. Meanwhile here is a helpful inventory bash script to get your assets in…