Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ python test.py
- $ vim test.py
- $ python test.py # here is where I need to repeat the second proximate bash command
- $ echo foo
- foo
- $ echo bar
- bar
- $ !-2
- echo foo
- foo
- $ python test.py
- $ vim test.py
- $ !py
- python test.py # Printed, then run
- !-2
- cp foo.py thing.py
- edit $_
- python $_
- !-2
- ^thing^foo
- $ echo "This is a disaster!"
- -bash: !": event not found
Add Comment
Please, Sign In to add comment