I'm trying to add an alias to my .bashrc alias oops='sudo !!'
when i execute it however I get:
sudo: !!: command not found
eliminating the alias from the .bashrc and im able to manually use sudo !!, why does this happen?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this community