Persistent sudo
Sometimes, you have a number of tasks to complete as an administrator and having to put sudo in front of every command just becomes annoying. Luckily, you can change into persistent sudo mode.
sudo -i
This will then prompt you for your password and once successfully entered, you will be transfered to the root user.
It is much like doing su, except that you are prompted for your own password, rather than the root account’s password.
Sometimes, you have a number of tasks to complete as an administrator and having to put sudo in front of every command just becomes annoying. Luckily, you can change into persistent sudo mode.
sudo -i
This will then prompt you for your password and once successfully entered, you will be transfered to the root user.
It is much like doing su, except that you are prompted for your own password, rather than the root account’s password.