Tag: bash

  • Trying out zsh (again, maybe?)

    It’s been a very, very long time since I tried using a different shell than the bash shell. Back some 10-15 years ago I remember hearing about fish and trying it out. I think it broke some bash paradigms so I went back to bash. I could have sworn I tried zsh in the past, […]

  • Discovered two awesome commandline programs!

    First up is tldr. This something I’ve wanted ever since I started with Linux 16 years ago! Basically it gives you the examples part of a man page. For both of these I’m going to use a screenshot because copy/pasting it into the blog doesn’t do it justice. This is just the first page of […]

  • History Meme

    [emesa@mario ~]$ uname -a Linux mario.mushroomkingdom #1 SMP Sat Apr 19 12:39:34 EDT 2008 i686 athlon i386 GNU/Linux [emesa@mario ~]$ history | awk ‘{a[$2]++}END{for(i in a){print a[i] ” ” i}}’ | sort -rn | head 176 ls 172 eog 81 ./makeSpiral.pl 80 cd 61 ./makefibonaccicollage.pl 58 mplayer 51 ./makePolar.pl 36 mv 28 flickr_views.py 24 […]

  • Another example of when the command line trums the GUI

    Whenever you’re working with the file directory structure or with text in general, you can’t do any better than using the command line.  For example, I was recently copying a bunch of files off of some old CDs because I was noticing that they were starting to develop bit-rot.  (I couldn’t access all the files […]

  • Bash Shell Scripting

    One of the best things about Linux is the ability to write shell scripts. These are most often used as utility programs to do repetitive tasks for you. I just wrote my first one on Sunday and here it is followed by commentary. #!/bin/bash echo “starting xchat…” xchat& echo “starting Gaim…” gaim& echo “starting Thunderbird…” […]