This got all sorts of fun shell tricks in the replies.
-
RE: https://infosec.exchange/@cR0w/116915966560002695
This got all sorts of fun shell tricks in the replies. If you have more, please add them. They will surely be new to someone.
-
RE: https://infosec.exchange/@cR0w/116915966560002695
This got all sorts of fun shell tricks in the replies. If you have more, please add them. They will surely be new to someone.
@cR0w@infosec.exchange
ubuntu updates oneline;
apt update; apt upgrade -y; apt autoremove -y
the usual -
@cR0w@infosec.exchange
ubuntu updates oneline;
apt update; apt upgrade -y; apt autoremove -y
the usualalias yolopatch='sudo apt -y update; sudo apt -y full-upgrade; sudo apt -y autoremove; sudo apt -y autoclean; flatpak upgrade; snap refresh -
RE: https://infosec.exchange/@cR0w/116915966560002695
This got all sorts of fun shell tricks in the replies. If you have more, please add them. They will surely be new to someone.
@cR0w all the small reminders to maybe NOT use fish shell

-
RE: https://infosec.exchange/@cR0w/116915966560002695
This got all sorts of fun shell tricks in the replies. If you have more, please add them. They will surely be new to someone.
@cR0w Not a lot of people know that you can also s/foo/bar to correct the line above in unixy discord at least
-
@cR0w Not a lot of people know that you can also s/foo/bar to correct the line above in unixy discord at least
@etchedpixels I didn't know either. Neat.
-
RE: https://infosec.exchange/@cR0w/116915966560002695
This got all sorts of fun shell tricks in the replies. If you have more, please add them. They will surely be new to someone.
i've been using unix command line shells for literally decades on a daily basis. i still learn new tricks (or relearn forgotten tricks) pretty often.
-
i've been using unix command line shells for literally decades on a daily basis. i still learn new tricks (or relearn forgotten tricks) pretty often.
@paul_ipv6 Same. That's why this is so fun.
-
RE: https://infosec.exchange/@cR0w/116915966560002695
This got all sorts of fun shell tricks in the replies. If you have more, please add them. They will surely be new to someone.
@cR0w @briankrebs Uh, nice stuff, added my 2 cents.
-
RE: https://infosec.exchange/@cR0w/116915966560002695
This got all sorts of fun shell tricks in the replies. If you have more, please add them. They will surely be new to someone.
@cR0w try this neat command:
dir -
@cR0w try this neat command:
dir -
-
-
tl;dr: I made funny and possibly insulting DNS records!
For DNS domains and systems I managed I used the "nslookup" command - which required you to type "exit" to get out. For some reason my brain insisted on typing "quit" first - which always ended up with nslookup trying to look up the record "quit".
So I made one. It pointed to another machine named "type-exit-you-idiot" which was enough to jog my memory so I could get out of this utility.
This worked great until another member of staff also used nslookup and typed "quit"...
Thankfully they also found that funny. I changed the record after that.
-
-
M mjack@mastodon.bsd.cafe shared this topic