News for hackers. Stuff that matters.
Re:Show HN: Start every terminal session with a vivid remind... by pelagicAustral on Wednesday January 03, 2024 @11:26AM (#38855942)
I start every sesh with:

    fortune | cowsay | lolcat
Re:Show HN: Start every terminal session with a vivid remind... by eigenket on Wednesday January 03, 2024 @12:06PM (#38856503)
Same, although mine has

    cowsay -f stegosaurus
And I've been meaning to get rid of the lolcat because it's the only thing on my laptop with a Ruby dependency and I'd like to reclaim the disk space that requires.
Re:Show HN: Start every terminal session with a vivid remind... by macNchz on Wednesday January 03, 2024 @12:42PM (#38857016)
Wow I've had my terminals open with fortune | cowsay for years but somehow had no idea that there were different cows.

Should anyone also happen to be interested in taking a quick glance at everything installed by default:

    cowsay -l | tail -n +2 | sed 's/ /\n/g' | xargs -i% bash -c 'echo %; fortune -s | cowsay -f %; printf "\n\n\n"'
edit: I like the novelty, I'm going to try out having a random "cow" saying my fortune greeting:

    fortune -s | cowsay -f $(cowsay -l | tail -n +2 | sed 's/ /\n/g' | shuf | head -n 1)
Re:Show HN: Start every terminal session with a vivid remind... by seti0Cha on Wednesday January 03, 2024 @03:09PM (#38859138)
It's super easy to create your own cows. Just look at any of the files in /usr/share/cowsay. You basically just have to get an ascii picture and add a couple of tags. Mine's a hypnotoad.
Re:Show HN: Start every terminal session with a vivid remind... by eigenket on Wednesday January 03, 2024 @06:08PM (#38861057)
Once I left my laptop unlocked at university and a fellow student and friend of mine added something to my .bashrc using a custom cowsay file being piped some text he got from a bash error handling mechanism I don't recall.

He already had the cow art file on his computer for some reason so I think the deed took him only a minute or so. The overall effect was that if you entered a command not recognised by the shell (like typoing dc instead of cd for example) an ascii-art version of a certain microsoft paperclip would respond "I'm sorry I don't know how to dc, would you like help with that?"

Re:Show HN: Start every terminal session with a vivid remind... by pelagicAustral on Thursday January 04, 2024 @09:32AM (#38867430)
Oh man, I just tried and my first shot was:

     ________________________________________
    < Your ignorance cramps my conversation. >
     ----------------------------------------
     \     ____________
      \    |__________|
          /           /\
         /           /  \
        /___________/___/|
        |          |     |
        |  ==\ /== |     |
        |   O   O  | \ \ |
        |     <    |  \ \|
       /|          |   \ \
      / |  \_____/ |   / /
     / /|          |  / /|
    /||\|          | /||\/
        -------------|
            | |    | |
           <__/    \__>
Re:Show HN: Start every terminal session with a vivid remind... by 8organicbits on Wednesday January 03, 2024 @12:09PM (#38856549)
Found a demo of what that produces:

https://github.com/busyloop/lolcat#screenshot

Re:Show HN: Start every terminal session with a vivid remind... by sss111 on Wednesday January 03, 2024 @11:49AM (#38856276)
for people on a mac, run

  brew install fortune lolcat cowsay
Re:Show HN: Start every terminal session with a vivid remind... by tbomb on Wednesday January 03, 2024 @01:10PM (#38857432)
similar, only I use dadjoke and the thinking cow to keep things a lighthearted :)

  dadjoke | cowthink -s