3 ms·
to save you the trouble of finding out for your self: yes, it works (! is not that special)
by hansel_der 5y ago
to save you the trouble of finding out for your self: yes, it works (! is not that special)
- binwiederhier 5y agoI eventually have to figure out what ! does. In my she'll it always leads to errors about some events and whatnot. I shall Google and find out ;-)
- binwiederhier 5y agoOh wow ! is quite powerful. Some of these bang commands are quite questionable, but hey... Like !12 runs the 12th command from the bash history. That's seems super dangerous to me.
- tannercollin 5y agoHere's a good collection of tricks like that: https://github.com/jlevy/the-art-of-command-line https://github.com/jlevy/the-art-of-command-line