Three more tips - use keybindings, scripts and SSH without passwords

29 April 2008

In this post I look at how to use readline keybindings that are useful in many contexts. I then look at how to SSH without passwords. Lastly, I talk about making a script directory in your home directory so you can quickly add new scripts to your system path.

Read More

Five Tips for Easter

22 March 2008

Happy Easter everyone, I don't have enough chocolate eggs for you all, so instead, here are five tips.

Read More

Advanced Unix Groups

20 March 2008

Imagine we want to have some files, where one group of users can read and write to them them, while another group of users can only read them. How do we achieve this using basic Unix permissions?

Read More

Ten Steps for attending a keysigning party

07 September 2007

*A key signing party can be an event of its own, or it might be at a user group meeting, or at a conference, or at a workplace. The idea is to increase the 'web of trust' and thus strengthen the system as a whole, as well as making your own key more trusted. Alex Willmer explains what you need to do to participate in a key signing party, using GNU Privacy Guard. *

System Message: WARNING/2 (<string>, line 1); backlink

Inline emphasis start-string without end-string.

Read More

How to backup your DVDs

05 September 2007

I have an office-style chair next to my desk, it has five little wheels at the bottom. I was sitting in it today and heard a gentle crunch noise coming from somewhere. It turned out that I had accidentally ran over a DVD and cracked it.

I had recently bought a small pile of new DVDs, and they were sitting on my desk in their shrink-wrap. The cracked DVD made me decide to keep backups, so I started with them. I am using the dvdbackup utility. The idea is not to rip the DVD to a MPEG or whatever but to backup the whole DVD to disk, the resulting files can be burned back to a new DVD with mkisofs if I get another broken DVD.

Read More

Using your Digital camera on the Command Line

31 August 2007

In this post I talk about how to use your digital camera at the command line,

Read More

Ditch the Bitch with Bash History

07 August 2007

I just read a long and heart-wrenching story about Mark Felder, a Gentoo Linux user whose long-time live-in girlfriend successively cheated on him with someone she caught with from a school reunion. The proof was in ~/.bash_history.

Read More

Command the Web - an ELinks tutorial

25 July 2007

Command-line browsing is not always the best approach; e.g. for flickr or a webcomic, it is the wrong approach of course.

However, for most things command line browsing works well. The system requirements are very low indeed. It is fast and secure; web pages have a consistent look and there are no flashing adverts, pop up windows or other web annoyances.

Read More

Ogg Theora to Vorbis: Video File to Audio File

22 July 2007

A lot of free software type people and events are starting to use the Ogg Theora format when putting their videos online. However, I personally often like to listen to podcasts when my eyes are busy but my ears are free. Ditching the video, i.e. the ability to see the person standing there itching themselves, is often not a great loss.

So if you download a video in Ogg Theora format, you should be able to stick it on your rockbox or other portable ogg player and listen to it on the go. However, that is a significant waste of space on your limited flash drive. A more sensible approach is to strip out the sound only and get a smaller file.

Read More

Three quick one-line bash tricks

16 July 2007

This weekend I tried to go the whole time without any caffeine drinks, a feat that I would not recommend. Needless to say, I am very much looking forward to my cup of tea tomorrow morning. I am too sleepy to write a diatribe today, so here are three commands I have used recently.

Read More

Starting the Command Line in 2007?

01 July 2007

In the last post, I was responding to a question from a commenter called Gregory, however before his question he gave an interesting disclaimer:

> The trouble is that beyond knowing what a path is and a dozen or so DOS commands I have little actual knowledge of command code symbology and syntax for any OS, let alone something like Linux.

Read More

Mutt and Emacs cheatsheets

17 April 2007

As mentioned in yesterday's post, I am putting some of my more structured notes online as cheatsheets. The first obvious candidates for cheatsheets are the computer programs that I use and their keybindings. So here is my cheatsheet page.

The first two cheatsheets are for Mutt and Emacs. I have been using these cheatsheets myself for a few weeks, so hopefully I have ironed out most major mistakes, so feel free to use them and feed back any problems or missing commands. I will update them over time as I use them, and publish new ones on different topics. I have released them under the General Public Licence, so feel to print them, share them, modify them and so on.

Read More

Emacs key Commands - Conveyor-Belt Sushi

25 March 2007

Guide to Emacs Key-bindings

The normal Emacs convention is that Control is represented by the large C. The small c is the 'c key', i.e. the third letter of the alphabet. So C-y means to press Control and the 'y key' at the same time.

Read More

History of Emacs and XEmacs

25 March 2007

Last time we looked how to get Emacs. Before you get bogged down in information, open Emacs and type into the box. See how far you can get without reading anything.

Emacs and Emacsen

Read More

Installing Emacs

24 March 2007

Although I have mentioned it in passing, I cannot believe I have got this far without covering Emacs, I covered Nano and Vim two years ago!

Emacs is the one of the two main text editors that I use daily, (gedit being the other one). I do everything in plain text when possible, only going to a Word Processor if I need footnotes or something.

Read More

Emacs Series

23 March 2007

This series is about Emacs, one of the major text editors in use today, and for the last 30 years!

Read More

Automate Emerge with Bash

06 March 2007

I am a big fan of abstracting everything, and having computers do as much as possible for me. Steve Long has been working with bash and emerge and has come up with a little program called igli-update.

This script is a bash wrapper for emerge that aims to make it more convenient to keep your Gentoo Linux system up to date, and is especially useful at helping you survive long emerges as it will keep retrying failed packages until there are none left that will compile. It will then create a list of failed packages at the end. It also attempts to consider GCC upgrades as well as filtering emerge output to only show the more useful information.

Read More

Converting HTML to Text

06 March 2007

html2text is a little command-line program that is available in many Linux distros including Gentoo and Ubuntu. As you might expect, it converts HTML to txt format.

To convert an html file to text, you can use:

Read More

IRC Part two: Command line IRC with Irssi

04 March 2007

Last time we looked at what IRC is and why you might like to use it. Now we get a bit more practical.

How does IRC work?

Read More

IRC Part one: What is IRC?

03 March 2007

For some of you, IRC will be a given as you will have been using it for decades. For some others of you, it will seem completely alien, especially if you are only used to MSN Messenger.

IRC stands for Internet Relay Chat. It is a useful form of communication, and very mature, being around far longer than the newer one-to-one 'messenger' type programs. Unlike these, IRC has a chat-room concept, where a group can talk together. There are also no animated smileys or fancy graphics of flying monkeys.

Read More

Older

About

Hello, my name is Zeth, I'll be your host here.

Command Line Warriors is about taking control of your own technology, it looks at our experiences of computing; especially using GNU/Linux, the Python programming language, the command-line and issues such as techno-ethics, best practices and whatever is cool now. If you take control of your technology then you are a Warrior too!

This site is your site too which means that you can contribute and get involved. You can leave comments using the facility provided. For me, the comments and discussions are by far the best part of the site. So please do have your say!

Latest Discussions

Nui

July 18, 2008
Hmm, this would be more persuasive as an argument with some evidence. I am a happy admin of Windows and a novice user of Linux, so I have taken the ...
Give Linux a chance

Paddy3118

July 18, 2008
Hi, I too work with Electronic Design Automation tools, where Tcl is used extensively. I tend to only occasionally have to write in Tcl and so find the TclTutor utility: ...
Python and TCL

Cliff Wells

July 17, 2008
I personally cannot live without the Web Developer extension or Firebug. Unfortunately these are probably both among the more difficult to port extensions. Given how poorly Firefox functions on Linux ...
Will Epiphany be able to compete with Firefox's extensions?

making money on the internet

July 17, 2008
[url=http://www.divinecaroline.com/public/user/profile?user_id=83997]extra money 101waystoincome.com[/url]
A year after my 2007 predictions - the score card

Leatherjackets99

July 16, 2008
New Style in Leather Jackets For Man and Woman at http://www.Leatherjackets99.com They Offer Free Shipment Worldwide.
Email Syntax Check in Python

Åke Forslund

July 13, 2008
I'm pretty much a novice in both of these languages but I find them both easy to use and preform the tasks I give them. However I rarely use them ...
Python and TCL

Christopher Thoday

July 12, 2008
A single test is not sufficient to give you confidence that the algorithm is working. You should make 'number' an argument of 'main' so that you can test some boundary ...
Python and TCL

paul21

July 10, 2008
Shame on Mozilla. They should make developers specify the extension license before hosting it. They should show the license next to download button as well.
Are your Firefox extensions proprietary software?

Tris

July 8, 2008
Justin - You say they had not heard of Linux? That doesn't sound very professional to me!
Give Linux a chance

michael

July 8, 2008
what about Galeon? in Gnome i use Galeon mostly. it is fast and stable and has a nice portal with search masks for Debian, FSF, Freshmeat and so on. wtf ...
Will Epiphany be able to compete with Firefox's extensions?

vermin

July 7, 2008
> Eventually, after a bit of digging and Googling, I found their Toolbar-License... You simply found the license of the StumbleUpon Toolbar for Internet Explorer. This is another product, much ...
Are your Firefox extensions proprietary software?

Andrew West

July 6, 2008
Both the Python and the Tcl example could do with error checking. While at first this may not seem on topic with the post I think it better shows the ...
Python and TCL

Kurushiyama

June 30, 2008
XML is no replacement for SGML, it's a subset.
An Introduction to ReStructuredText