samedi 31 janvier 2015

Hotkey for doing sudo suggestions


On Ubuntu and Debian, often if I try to run a program I will get a message that says something to the effect of:



You don't have that program. To get it type sudo -apt -get -install programName



(or some variation on that). Then I usually type exactly the command that was just suggested. Is there a hotkey that will automatically type the suggested command for me, e.g., I type something like "Alt-Up" and "sudo -apt -get -install programName" is automatically typed?


Thanks.



Aucun commentaire:

Enregistrer un commentaire