Kill all the process defined by a process name:
ps -aux | grep 'myProcessName' | grep -v grep | awk '{print $2}' | xargs -r kill -9
Check a line from multiple files:
find . -name 'process.sh' | xargs sed -i 's/..\/load_env.sh/modules\/load_env.sh/g'
Increase the history size and format:
export HISTTIMEFORMAT='%F %T '
export HISTSIZE=1000000
export HISTCONTROL=ignoreboth
Directory utilities:
du -sk * | sort -n -> sort directories by file size.
Alias definition:
$ cat /etc/profile.d/local.sh
alias dir="ls -al"
alias ll="ls --color=auto -alio --time-style=+'%Y-%m-%d %H:%M:%S'"
alias l="ls --color=auto -aCF"
alias a=alias
alias et="exec tcsh"
Check WiFi Singal strength:
iwconfig wlan0 | grep 'Signal level'