1. cat ~/.bash_history
2. history -w /dev/stdout
3. history | cut -c 8-
4. fc -l -n 1 | sed 's/^s*//'
5. history|awk '{$1="";print substr($0,2)}'
1. cat ~/.bash_history
2. history -w /dev/stdout
3. history | cut -c 8-
4. fc -l -n 1 | sed 's/^s*//'
5. history|awk '{$1="";print substr($0,2)}'