The most useful for me is probably ~~"ln = ls -n"~~
It's supposed to be "lsn = ls -n".
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
sudo in Windows.Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
The most useful for me is probably ~~"ln = ls -n"~~
It's supposed to be "lsn = ls -n".
Ehm ... https://linux.die.net/man/1/ln
In true accordance to the post. I mistyped. I have it set as lsn.
No thanks. I choose life. Though it reminds me of this little gem
Wasted my time watching it, I'm glad I don't have your brain as it does not relate at all.
You linking a suicide script that wipes your entire drive if you make a mistake, and an old bug in steam that also wiped your drive if you made a certain mistake. Sounds like that's in the same ballpark to me.
Question is, why would you watch it if you thought it was a waste of time? Most people would probably stop watching at that point and do something else. But hey, you do you.
I only have one alias: alias rm=trash-rm
EDIT: Sorry. It's actually alias rm=trash
@KindaABigDyl @_thebrain_ what is trash-rm?
trash-rm moves files to the trash bin, as opposed to the usual rm which instantly deletes them.
Should be just trash not trash-rm, but it's like the other person said, when you go to rm, it moves it to trash now, instead of deleting, since usually I don't want to truly delete things (i.e., I don't raw delete when using a GUI, so I'm bringing that behavior to CLI as well)
You can ofc still use the old rm and do full deletion. Either sudo rm (unless root also has rm aliased) or /bin/rm
But also you can do rm then trash-empty for the same behavior.
I'm actually trying a new alias alias del=/bin/rm so that I have a quick way to get the old behavior.
alias pqsl='psql'