Sudo command in Linux with examples

Originally published at: sudo command in Linux with examples

The sudo command in Linux is one of the most important and widely used commands for managing system permissions. It allows you to run a command as the superuser, giving you elevated privileges that are necessary for performing administrative tasks on the system. This article is a follow-up to the previous 90 Linux Commands frequently used…

I don’t know why, But I keep forgetting sudo !! exists lol. Also did not know about --edit and --group. This could be useful when I have to adapt some programs for sysfs.


Thanks for the feedback. Sometimes when posting about well-known commands, it’s a worry if it would be useful to a large audience.

I have also either forgotten or not aware of a lot of these command options. Good to know I’m not alone. I will continue this series.

Also, I am now suddenly online. Every day hopefully.

1 Like