Ultimo comando
!!$- last argument from previous command!!^- first argument (after the program/built-in/script) from previous command!!*- all arguments from previous command!!- previous command (often pronounced “bang bang”)!n- command numbernfromhistory!-n- lastncommand, counting from last executed command(!! == !-1)!pattern- most recent command matchingpattern!!:s/find/replace- last command, substitutefindwithreplace
Para más info Unix History