Replace a command in Linux bash

Published: 31 March 2020
on channel: PaBlo Tech
3
0

In order to reuse the arguments of a command #bash provides you an alternative to "!*" You can also replace the command of your last command instead of reusing the arguments. The "^" char make it possible.

$~ touch one.txt two.txt
$~ ^touch^ls


On this page of the site you can watch the video online Replace a command in Linux bash with a duration of hours minute second in good quality, which was uploaded by the user PaBlo Tech 31 March 2020, share the link with friends and acquaintances, this video has already been watched 3 times on youtube and it was liked by 0 viewers. Enjoy your viewing!