An useful alias for the terminal

Many times you write something in the terminal and you forget to write the sudo at the beginning. Then you have to recall the line and add it to the beginning.

Well, with this alias, you just need to write dammit and then you will execute the last command with superuser powers. That’s pretty cool, isn’t it?

[UPDATE] It seems like WP changes the command, therefore, I will publish it in a screenshot. Anyone with a visual impairment,  write your contact details in the comments and I will send it for you by email.

The alias command. Give me your contact details if you have any visual impairment

Leave a Reply

Your email address will not be published. Required fields are marked *