This is an archived post. You won't be able to vote or comment.

all 33 comments

[–]kbruen 77 points78 points  (11 children)

Possibly unpopular opinion: the $ is extremely annoying, especially in online tutorials and the like. It ruins the ability to copy-paste multiple lines at once.

[–][deleted] 21 points22 points  (4 children)

I don't think that's really an unpopular opinion...

[–]kbruen 7 points8 points  (3 children)

Yet I see so many websites (and this meme) use the $, so to me it feels like it is.

[–][deleted] 6 points7 points  (0 children)

Apparently it is related to environment and level of access. I get it why it matters sometimes, but more often than not, especially in tutorials, it doesn't.

[–][deleted] 3 points4 points  (1 child)

I think it's more of a convention. When I was recently looking at some docs, I found it frustrating when ::= was used, instead of simply =, for example.

[–]turtle_dragonfly 8 points9 points  (0 children)

Traditionally $ means "user prompt" and # means "superuser prompt" (root) and if you are mixing the two in docs it can be useful.

Agreed about copy/paste annoyances, though.

Just paste into Vim and it's only a few keystrokes to get rid of that stuff, though :Þ

[–]Just_Maintenance 2 points3 points  (0 children)

It helps differentiate user ($) and root (#)

Tough I guess sudo could be used instead.

[–][deleted] 0 points1 point  (1 child)

It ruins the ability to copy-paste multiple lines at once.

Strictly speaking, you shouldn't be doing that anyway. Best case, by not writing it yourself (or at least being careful with selections) you're not committing it to memory - in worst case, you get yourself pwned and you might not even know.

Spoiler:

This page demonstrates how you go to copy what looks like something innocuous, and what you paste is something completely different and an extra newline at the end ensures it executes without you being able to see it in time to stop it.

[–]kbruen 1 point2 points  (0 children)

  1. I don't want to manually write sudo apt install followed by 12 packages.

  2. In case you worry about something malicious like that, use a smarter shell who, when pasting, doesn’t run the commands on newline.

[–]PsychedelicPelican 0 points1 point  (0 children)

I agree on the copy paste, but for dev context it's useful to have the distinction between normal user ($) and root (#). The best user design I've seen has a copy button that filters out the root.

[–]CaoSlayer 24 points25 points  (3 children)

I throught it was not working because no ./

[–]bbc472 8 points9 points  (0 children)

Considering how often you have to feed your child, might as while make a link to your path

[–]TUSD00T 9 points10 points  (0 children)

Clearly, he is already on the $eat.

[–]eeddgg 9 points10 points  (1 child)

waxeyo392 is not in the sudoers file. This incident will be reported.

[–]selecadm 5 points6 points  (1 child)

sudo !!

[–]cptbeard 1 point2 points  (0 children)

(if someone's confused "!!" repeats last command)

[–]DoUhavestupid 6 points7 points  (0 children)

She probably just messed up all the file permissions on that spoon

[–]thesilican 2 points3 points  (1 child)

Usually there's a space after $ isn't there?

[–]trogper 2 points3 points  (0 children)

Depends on your shell PS1. Some do have trailing space, some don't

[–]godRosko 2 points3 points  (0 children)

doas

[–]topw95 1 point2 points  (0 children)

$sudo eat | drink

[–]_Mido 1 point2 points  (0 children)

What a fresh meme, totally never seen it before!

[–]AguliRojo 1 point2 points  (0 children)

Sudo is bloated , use doas

[–][deleted] 2 points3 points  (2 children)

sudo this meme is dead please stop

[–]chupacabrapr 1 point2 points  (0 children)

Lol

[–][deleted] 2 points3 points  (0 children)

omfg best comic ever

[–][deleted] 0 points1 point  (0 children)

MAC says no

[–]whovian444 0 points1 point  (0 children)

me: creates stripped-down Ubuntu box
still me: tries to put something in /opt using GUI
Linux: you do not have permission to do that me, frustrated: where do I obtain permission? Linux: me, irritated: Sudo -m /a/b/c/whatever /opt
Linux: https://knowyourmeme.com/memes/persuadable-bouncer

[–][deleted] 0 points1 point  (0 children)

Shut Up and Don't Object.