Sudo command in Linux with examples

Read the full article: 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… continue reading.

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.

2 Likes

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

I’m probably not alone; for as often as I use sudo, there are still some options and capabilities that I have not explored. I have, however, done some things with sudo on a few occasions to minimize having to provide the password; that’s a debatable thing to do, but I did it on systems that I wasn’t afraid to replace and I wasn’t afraid to risk some exposure at the time. I don’t think I have any such systems running now, certainly not on my newest system, which is on and I don’t care to expose. Anyway, thanks for sharing some of the features not commonly mentioned when discussing sudo.