Removed by mod
It used to send it to root’s local mailbox but I haven’t looked since the 90s.
Santa, as a bad kid.
doas root sudo open eyes
Adhd brain: you have no power here!
Serious question, what exactly does
do
do? In my terminal I can see that do is a command but all I get isbash: syntax error near unexpected token
do’and obviously with such a common name it's hard to find information on google about what
do` actually does.It’s used in loops in bash, like:
for i in 1 2 3 do echo "$i" done
or
while true do echo "o/" done
But then why is it available in my command line terminal as a command that I can use? Like when I type
do
and then hitTAB
twice to list commands that match the output isdo done dofsck etc...
but when I just enterdo
in the command line ordo --help
I getbash: syntax error near unexpected token 'do'
I would assume that since I can run
sudo apt update
that I could also rundo apt update
where it would run it not as a super user. I know justapt update
would do that too, but I’m just so curious if it’s possible to usedo
as a user-levelsudo
or what else it might be able to do.
You’re not root, bruh.