Shell

GUI scripting in bash

July 13, 2010

This week’s techmail is GUI scripting in bash which takes a look at a few options for GUIfying your bash scripts: Zenity (for GNOME) and kdialog for KDE. My favourite is Zenity since I use GNOME, and it doesn’t require all this whacky DBUS stuff (although I suppose …

Enhanced history searching in zsh

March 20, 2010

This week’s TechMail is Enhanced history searching in zsh because I seem to always be doing the same thing over and over again and it’s good to save keystrokes. =) I imagine other people are in the same boat as well, so there you go… something simple yet …

Tips and tricks for working on the command line

November 14, 2008

This week’s TechMail is Tips and tricks for working on the command line which points out a few simple things you can do on the CLI to make life easier for yourself, such as renaming files or dealing with history, and some lesser-known character sequences you can use. Funny …

Zsh tab completion with subversion 1.5

November 8, 2008

This has ticked me off for a bit, and I finally decided to find out why. Tab completion in zsh was returning the following every time I tried to use it, after upgrading to subversion 1.5: _arguments:comparguments:303: invalid argument: ARG Looks like the reason is that the …

Try command-line looping for added efficiency

September 22, 2008

Last week’s TechMail was Try command-line looping for added efficiency which discusses using loops in the shell to iterate over a number of items while using particular commands (i.e. for loops in the shell). Extremely useful stuff if you’ve ever needed to repeat …

Send messages and alerts from the command line

September 9, 2008

Last week’s TechMail was Send messages and alerts from the command line which discusses using the mail and wall commands. Two very simple, yet infinitely useful, programs.

Using vi key bindings in bash and zsh

April 24, 2008

Been busy redoing my office this week and was busy with Mandriva release stuff last week so I forgot to put up the new TechMails. Last week’s techmail was Using vi key bindings in bash and zsh, which looks at using, you guessed it, vi keybindings instead of the default …

zsh history

April 20, 2008

Saw a few others on Planet Mandriva doing this so I figured what the heck, I’d do the same. I don’ t use bash tho, I use zsh and on one box I have the extended history saved (timestamps), and the other I don’t. Also keep in mind that I do a lot of stuff via sudo …

Secure temporary files in Linux

March 1, 2008

This week’s TechMail is Secure temporary files in Linux which discusses how to properly secure temporary files, using things like loopback filesystems, separate partitions for /tmp and using appropriate mount flags. It’s pretty simplistic stuff, but can make a huge …

Manipulate process priority with nice

November 27, 2007

This week’s TechMail is pretty basic, but one of those “hidden gems” that the average person probably isn’t aware of. Of course, it’s one that the average person may not care about either but… regardless, this week’s techmail is …

Power Linux with pipes and redirection

October 16, 2007

This week’s TechMail is Power Linux with pipes and redirection; a little discourse on how to use pipes and redirects and how they make the CLI way more kick-ass than any GUI.

Locate files with the find tool

September 11, 2007

Another week, another tip, this one is Locate files with the find tool, a quick run-down on using find to… well… find stuff.

Learn to search with grep

September 4, 2007

Another week, another TechMail tip. This week’s is Learn to search with grep.