Skip Navigation
37 comments
  • Remember for $() to wrap it in quotes to prevent word splitting!!!

  • Another cool bash trick: $! gets all the arguments of the previous command, but not the command itself

  • I am not sure what the default keybinding is for this but I always create a .inputrc file for searching forward and backward in the history without opening the C-r menu:

     undefined
        
    "C-p": history-search-backward
    "C-n": history-search-forward
    
      
37 comments