Advertisement
Guest User

histexp

a guest
Feb 23rd, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.12 KB | None | 0 0
  1. $ echo $-
  2. himBHs
  3. $ echo 'lc=$(history | tail -2 | head -1 | cut -d" " -f 4); echo $lc' > histScript
  4. $ ./histScript
  5. echo
  6. $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement