Five shell tips I use every day

Use Ctrl-R to search history. Use !! to repeat the last command.

  1. cd - jumps back to the previous directory.
  2. sudo !! reruns the last command as root.
  3. xargs turns lines into arguments.
<?php

class OBJJ {
    
}
This entry was posted in Linux and tagged shell, tips. Bookmark the permalink.