by tsm · 11y ago · 0 comments
$ ls -l /tmp/foo
ls: cannot access /tmp/foo: No such file or directory
$ ^foo^bar
-rw-rw-r-- 1 user user 0 Apr 17 19:12 /tmp/bar $ ls
hello_world hi_there_world
$ mv hello_world hello_everyone
$ !!:gs/hello/hi_there
mv hi_there_world hi_there_everyone
$ ls
hi_there_world hi_there_everyone