shred files on Centos
Here’s a handy alias for shredding files on CentOS alias shred=’shred -v -n 1 -z -u’
Here’s a handy alias for shredding files on CentOS alias shred=’shred -v -n 1 -z -u’
alias chkconfig=”chkconfig | perl -pe ‘use Term::ANSIColor; s/\bon\b/color(\”green\”).on.color(\”reset\”)/ige;'” or to permit passing an agrument: function chkconfig(){ […]
nano syntax highlighting This article describes how to get syntax highlighting in the command line emacs […]
Installation Modify ~/.bashrc and append this line PS1=”\n\[\e[32;1m\][\[\e[37;1m\]\u@\h:\[\e[37;1m\]\w\[\e[32;1m\]]\\$ \[\e[0m\]” My Bash Prompt To replace yours in […]
To setup email on Centos 6 run these commands yum -y install sendmail mailutils chkconfig –levels […]
Add Current PATH to crontab Are you sick of your cron job failing because you are […]
How to create a bash script that deletes itself This script will delete itself via the […]
To fix the infinite scrolling issue with byobu and Ubuntu precise install it the following way: […]
Recently I needed to calculate the starting and ending memory addresses of an IOS application (in […]
Configuration To send mail from the command line in Ubuntu Precise sudo apt-get install mailutils If […]