Story 2SYN Friday distro: Grml Linux

Friday distro: Grml Linux

by
in linux on (#2SYN)
story imageGrml Linux is a bit of a unique distro whose vision and focus have shifted over the past ten years. It represents the personalities of its developers, who prefer the zshell, focus on sysadmin tasks (deployment, disk cloning, backup, forensics, and rescuing borked systems). Lastly, one of the developers is visually handicapped. Thus: grml focuses on scripting, tools managed from the command prompt, and has chosen zsh as the basis for its innovations. Its Distrowatch page is here.

These days grml is a live CD or USB-stick based on Debian. You're not supposed to install it. It requires little more than 256MB of memory, and though it's intended to be mostly a command line environment, they've packaged Fluxbox and you can get there via startx. That's useful if you want to launch a browser to read up on a issue, but most of your day you'll be sitting at the command prompt in a zsh. Have a look at their zsh introduction page or their reference card then to get a sense of the shortcuts, command aliases, and scripts that help you administer your systems, or the dpkg package list showing installed packages.

I find the package list to be limited, and to my knowledge, there are no tools available that you can't find on other distros. But I find grml's advantage to be that they love and have put a lot of energy into the zshell, and if you're interested in the zsh this is a good place to see it showcased. It's also an easy distro to carry around on a USB stick if you're a command prompt warrior and want to quickly boot up to a useable command prompt from where you can do other things. For example, you simply run the grml-network script from the command prompt to discover, configure, and connect to a wireless network. And of course it's based on Debian's excellent hardware recognition and configuration system. This is a niche distro that won't appeal to everybody, but odds are better than average you'll soon find yourself at the ZSH Reference page looking into additional resources for using the amazing zshell (For starters, try the 429 and dense page ZSH Manual and this 14 page zshell reference card from the guys at bash2zsh. Have fun.
Reply 5 comments

ZSH (Score: 1, Interesting)

by Anonymous Coward on 2014-09-26 11:29 (#2SYP)

I've used ZSH a few times and liked it, but at the end of the day I am still using bash for some reason.

Re: ZSH (Score: 1)

by zafiro17@pipedot.org on 2014-09-26 11:55 (#2SYQ)

I keep going back to it because it's so intriguing and so powerful. And I keep giving up either because the manual is too long, the refcard is not enough, or I just don't have the time to make the sustained effort to learn it properly. Was just looking at "From Bash to Zsh" book, written by the guys behind frombsh2zsh website. Might be worth it!

Re: ZSH (Score: 1)

by fishybell@pipedot.org on 2014-09-26 12:16 (#2SYS)

I always find myself using bash out of sheer habit: it's what's installed by default essentially everywhere (except where it's cruel, unfeeling friend, sh, is installed by default). It's old, it's clunky, it's (apparently) sometimes insecure, and yet, it's not so much that I like it, but 15 years of habit is hard to break.

Re: ZSH (Score: 1)

by zafiro17@pipedot.org on 2014-09-26 12:41 (#2SYW)

I was forced to break the habit when I started running FreeBSD systems, which default to csh (and are therefore mostly immune to shellshock: nyah, nyah!). CSH is different in ways that matter. I don't like it as much, but being forced to learn and use it helped break me out of my bash comfort zone. So it's not impossible.

Re: ZSH (Score: 1)

by kwerle@pipedot.org on 2014-09-26 22:35 (#2SZ6)

I've been a zsh fan since the early 90's. About a year ago I installed http://ohmyz.sh/ (https://github.com/robbyrussell/oh-my-zsh), and after a little adjusting of it and myself, I love it.

The thing I miss most about zsh when I'm in bash is auto-cd. Just typing a directory path to cd to it. I know - it doesn't sound like much, but I do love the feature. Hey, look - it seems that bash has that as of 4.0 (which I guess is very recent). I'll have to set it more aggressively when I'm visiting other hosts...