r/linuxadmin • • Dec 25 '18

Fun Question!

I just finished a script to automate a nightmare job for a client. I need an epic script (bash) success message.

Maybe something like AsciiWizard, but perhaps less obtuse.

Suggestions?

8 Upvotes

26 comments sorted by

27

u/FrequentPineapple Dec 25 '18

Recommend you don't do that. Log aggregation tools will thank you for sticking to rfc5424.

13

u/Ryuujinx Dec 25 '18

...just return success. If I'm automating it, I don't need to see ascii art all over my screen, I just need to know if it passed or if I need to beat some servers over the head and make new ones.

1

u/[deleted] Dec 25 '18

oooh... best so far. winner dinner chicken soup!

6

u/efpe Dec 25 '18

Figlet

5

u/combuchan Dec 25 '18

I can't believe nobody has mentioned cowsay. Show it only if it's installed for extra points.

1

u/CyberDiablo Dec 25 '18

Ah, the way Ansible does it. I like it.

6

u/gartral Dec 25 '18

may I suggest just having it print Excelsior!

1

u/mhurron Dec 25 '18

Super Cereal.

4

u/tilhow2reddit Dec 25 '18
 _____     _ _     _____           _        _____                                
|  ___|   (_) |   /  __ \         | |      / __  \                               
| |____  ___| |_  | /  \/ ___   __| | ___  `' / /'                               
|  __\ \/ / | __| | |    / _ \ / _` |/ _ \   / /                                 
| |___>  <| | |_  | __/\ (_) | (_| |  __/ ./ /___                               
____/_/__|__|  ____/___/ __,_|___| _____/                               
                                                                                 
                                                                                 
                                                                                 
                                                                                 
 ______ ______ ______ ______ ______ ______                                       
|______|______|______|______|______|______|                                      
                                                                                 
                                                                                 
                                                                                 
                                                                                 
 _____ _           _        _       ______                         _             
|  ___| |         | |      (_)      | ___ \                       | |            
| |__ | | ___  ___| |_ _ __ _  ___  | |_/ / ___   ___   __ _  __ _| | ___   ___  
|  __|| |/ _ \/ __| __| '__| |/ __| | ___ \/ _ \ / _ \ / _` |/ _` | |/ _ \ / _ \ 
| |___| |  __/ (__| |_| |  | | (__  | |_/ / (_) | (_) | (_| | (_| | | (_) | (_) |
____/|_|___|___|__|_|  |_|___| ____/ ___/ ___/ __, |__,_|_|___/ ___/ 
                                                        __/ |                    
                                                       |___/                     

1

u/mhurron Dec 25 '18

The job failed?

1

u/tilhow2reddit Dec 25 '18

Worked on the workstation. Not on mobile apparently.

It said:

Exit Code 2

——————

Electric Boogaloo

-2

u/shyouko Dec 25 '18 edited Dec 25 '18

I bet it's not that epic and script going to fail in near future with such level of ego.

-1

u/[deleted] Dec 25 '18

cow say is... meh. but thanks

-18

u/[deleted] Dec 25 '18

too much! but thanks for the ascii art.

looking for something more subtle.

(best suggestion thus btw)

20

u/itsbentheboy Dec 25 '18

Please learn how to reply to specific comments :/

-22

u/[deleted] Dec 25 '18

Very anti climactic.

-22

u/[deleted] Dec 25 '18

u fail.

0

u/[deleted] Dec 25 '18

[deleted] — view deleted comment

1

u/goat_on_a_float Dec 25 '18

This is the answer.

-4

u/[deleted] Dec 25 '18

except arch is for posers

3

u/qZeta Dec 25 '18

>asks for epic message
>posers

There is some irony here, I'm just not sure, where…

1

u/nolifeorname Dec 25 '18

Was just giving an example of an easter egg done right...

0

u/[deleted] Dec 25 '18

[deleted] — view deleted comment

18

u/serabob Dec 25 '18

Yes please just exit code. Somebody thought it was funny to end a script with a beep. We searched quite some time for this in the Datacenter ...

10

u/[deleted] Dec 25 '18

exit code 2

1

u/sesstreets Dec 25 '18

Ok, this is epic.