Skip to content

Latest commit

 

History

History
16 lines (16 loc) · 272 Bytes

shell-history.md

File metadata and controls

16 lines (16 loc) · 272 Bytes
  • Clean command history
# history -c
  • Permanently disable bash history
# echo 'set +o history' >> ~/.bashrc
  • Disable command history system wide
# echo 'set +o history' >> /etc/profile
  • Disable history for current shell
# set +o history