Linux hints - jhu-information-security-institute/infrastructure GitHub Wiki

Sudo tips

  • Change the timeout period between password prompts for sudo usage by adding timestamp_timeout, Defaults variable type to /etc/sudoers as root (you can use visudo to edit this file as well)
    Defaults        timestamp_timeout=-1 #negative minutes for infinite time between password prompts; use 0 for always prompt password; use >0 for minutes between
    

Terminal tips

  • Pipe applications with extensive terminal output to less, to walk through long files (also described as scrolling with a keyboard)