Skip to content

Instantly share code, notes, and snippets.

@hnishi
Last active March 11, 2016 07:19
Show Gist options
  • Save hnishi/c99dedccfb1d8fa34112 to your computer and use it in GitHub Desktop.
Save hnishi/c99dedccfb1d8fa34112 to your computer and use it in GitHub Desktop.
export PS1="[\u@hn \W]\\$ "
#scripting log. to see, less -r (-R)
script -af /home/hnishi/LogArchive/$(date +%Y%m%d_%H:%M:%S)_$(whoami).log
test -r ~/.bashrc && . ~/.bashrc
less -r LogArchive/20160218......
-r option must be used
show raw control character
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment