this post was submitted on 27 Mar 2024
787 points (98.5% liked)

linuxmemes

22722 readers
2454 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

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.

    founded 2 years ago
    MODERATORS
     
    (page 2) 22 comments
    sorted by: hot top controversial new old
    [–] [email protected] 56 points 11 months ago (1 children)

    Obligatory --no-preserve-root

    [–] [email protected] 19 points 11 months ago (2 children)

    Modern distros today. SMH. Back in my day everyone had root at the office.

    load more comments (2 replies)
    [–] [email protected] 82 points 11 months ago (3 children)

    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

    [–] [email protected] 26 points 11 months ago (10 children)

    Funnier Fact: they had to stack all those barrels behind the corporation's building until they could sell them all.

    ::I made this up::

    load more comments (10 replies)
    load more comments (2 replies)
    [–] [email protected] 18 points 11 months ago (2 children)

    This is why you use virtual machines, anyone can be root!

    [–] [email protected] 3 points 11 months ago

    Or just to have a modular, secure and private system.

    load more comments (1 replies)
    [–] [email protected] 5 points 11 months ago

    in 2024 this should rewrite history in all your githib repos to destroy wverything next fetch

    [–] [email protected] 39 points 11 months ago

    change it to != cowards!

    [–] [email protected] 57 points 11 months ago

    I did this once on my laptop with no backups. I was lucky. I also used the correct version with --no-preserve-root.

    [–] [email protected] 22 points 11 months ago (1 children)
    [–] [email protected] 18 points 11 months ago (3 children)

    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.

    [–] [email protected] 18 points 11 months ago (2 children)

    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.

    [–] [email protected] 16 points 11 months ago

    As an old Perl jockey, you can pry my backticks out of my cold, dead hands.

    [–] [email protected] 6 points 11 months ago* (last edited 11 months ago) (1 children)

    Daily Linux user since Slackware 95, news to me too lol

    load more comments (1 replies)
    load more comments (1 replies)
    [–] [email protected] 55 points 11 months ago (2 children)

    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

    [–] [email protected] 1 points 11 months ago

    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.

    [–] [email protected] 31 points 11 months ago (1 children)

    Right click for paste, they have \n in the clipboard

    [–] [email protected] 8 points 11 months ago (3 children)

    Afaik \n may not run a command. I have pasted multiline commands but they only seem to run after hitting enter

    [–] [email protected] 7 points 11 months ago

    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.

    load more comments (2 replies)
    [–] [email protected] 97 points 11 months ago (1 children)

    root shell? Already playing it fast and loose, I see.

    [–] [email protected] 64 points 11 months ago (1 children)

    The only legitimate commands for a non-root shell are sudo -i, exit, and echo "yee haw"

    load more comments (1 replies)
    load more comments
    view more: β€Ή prev next β€Ί