r/bash • • Nov 11 '20

lol.sh

Post image
459 Upvotes

19 comments sorted by

18

u/bajazona Nov 11 '20

Wait till you discover &&

8

u/fcktheworld587 Nov 11 '20

Love me some &&

13

u/mrrippington Nov 11 '20

it's amazing how after that point, it turns into an almost a game to fit the entire thing to a single line( with full directory paths ofc!)

7

u/fcktheworld587 Nov 11 '20

What do you mean "almost"?

4

u/bajazona Nov 11 '20

Lol, I’ve done entire deployments and app restarts this way with like 20 commands in the line, would just copy form my history take the dog for a walk in time for it to finish

26

u/SkyyySi Nov 11 '20

The reason I learned how to pipe was because

neofetch | lolcat

10

u/theniwo Nov 11 '20

tr | sed/awk | sort | uniq | wc -l

shit

3

u/[deleted] Nov 11 '20

[removed] — view removed comment

2

u/Quillox May 14 '22

Yo how did you get your name@host [time] with the directory on the right? Looks awesome!

2

u/[deleted] May 14 '22 edited May 21 '22

[removed] — view removed comment

1

u/scrambledhelix bashing it in May 21 '22

Just an FYI: Reddit removed this comment because of the "justpasteit" link. Letting you know because it won't leave our queue now until we remove it ourselves (approving it does nothing. Nothing!)

1

u/[deleted] May 21 '22

[removed] — view removed comment

1

u/scrambledhelix bashing it in May 21 '22

Honestly don’t know offhand what the Reddit blacklist is; they make some odd choices.

Try pastebin maybe, or rentry.co — or if you want to paste in-line that’s fine, just use the original markdown syntax of indenting the block of text with four spaces (the newer convention of three backticks to start and end a code block isn’t supported on old Reddit)

1

u/Quillox May 22 '22

Finally got around to doing it heh

https://imgur.com/a/eSPDyvE

10

u/marazomeno Nov 11 '20

Y'all still writing scripts, when you can fit it all in one line?

4

u/diseasealert Nov 11 '20

I don't even do that!

0

u/[deleted] Nov 11 '20

[deleted]

1

u/fcktheworld587 Nov 11 '20

0

u/[deleted] Nov 12 '20

[deleted]

1

u/fcktheworld587 Nov 12 '20

I don't know how to GIMP :( too busy to learn. And by busy, I, of course, mean "stupid and lazy".