Obligatory --no-preserve-root
linuxmemes
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
- Don't get baited into back-and-forth insults. We are not animals.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows. - No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. π¬π§ Language/ΡΠ·ΡΠΊ/Sprache
- This is primarily an English-speaking community. π¬π§π¦πΊπΊπΈ
- Comments written in other languages are allowed.
- The substance of a post should be comprehensible for people who only speak English.
- Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed. Β
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.
Modern distros today. SMH. Back in my day everyone had root at the office.
Fun fact there was a guy a little over a decade ago who got drunk and traded 7m barrels of oil futures. Not dollars, barrels. He made the price of oil jump up for a short while.
https://www.theguardian.com/business/2010/jun/29/drunk-oil-trader-banned-fsa
Funnier Fact: they had to stack all those barrels behind the corporation's building until they could sell them all.
::I made this up::
This is why you use virtual machines, anyone can be root!
Or just to have a modular, secure and private system.
in 2024 this should rewrite history in all your githib repos to destroy wverything next fetch
change it to !=
cowards!
I did this once on my laptop with no backups. I was lucky. I also used the correct version with --no-preserve-root.
There is a $[]
?
Huh, it's the same as $(( ))
- arithmetic expansion.
I think it's deprecated and not in the bash manual, but it still seems to work.
It is? Weird. I know about deprecated backticks, but this... I guess it's so deprecated that very few people know about this. Now a bit more.
As an old Perl jockey, you can pry my backticks out of my cold, dead hands.
Given that their hand is over the mouse and not the keyboard/enter key, I assume they're gonna click close on the terminal :p
Well they did have the type the command, and to do that they would first have to navigate to the terminal (assuming the machine isn't running just a plain tty) first.
Right click for paste, they have \n in the clipboard
Afaik \n may not run a command. I have pasted multiline commands but they only seem to run after hitting enter
Depends on the terminal I think. Pretty sure KDE's Konsole warns you that commands may be run when pasting something with newlines, but still allows it.
root shell? Already playing it fast and loose, I see.
The only legitimate commands for a non-root shell are sudo -i
, exit
, and echo "yee haw"