Repeat last command with “sudo”

后端 未结 5 964
情歌与酒
情歌与酒 2021-02-01 11:58

I often forget to run commands with sudo. I\'m looking for a way to make a bash function (or alias) for repeating the last command with sudo. Something

5条回答
提交回复
热议问题