On Wed, 23 Dec 2015 10:23:27 +0100, I mistyped:
$ sudo some_long_command
$ sudo !!
*chuckle*
It should read
$ some_long_command
$ sudo !!
Results in
sudo some_long_command
$ !! -a -b -c
Results in
sudo some_long_command -a -b -c
$ ^_long^_very_long
Results in
sudo some_very_long_command -a -b -c
As already pointed out, such "user-friendliness" for command line is
provided by all common distros.
--
http://www.grundgesetz-gratis.de/