Today I learned
  • Home
  • Github
  • Linkedin
  • Nomad Life(Travel Blog)
Sign in Subscribe

sudo

A collection of 1 post
shell

Run the last shell command with sudo

I often an into the situation where I type in a long command, hit enter and then figure out that I needed to run that command as root user. Instead of typing the same command with sudo prefixed we can do the same thing using a shortcut. To run the
Feb 16, 2016
Page 1 of 1
Today I learned © 2023
Powered by Ghost