Sunday, 5 April 2009

7 Interesting Apps for Command-Line

aaxine - watch movies in the shell
aaxine is included in the xine-console package and can be used to watch video files in a shell, without the need of the X Window System, with the help of ASCII characters. See the screenshot below:

ttv is a command-line application for watching TV when in command line. All you need is a TV-Tunner card, and ttv will show the output as ASCII characters.

aview is both an image viewer and video player, with support for PNM, PGM, PBM and PPM image formats, together with FLIC video formats. You can use the netpbm package installed to convert formats like PNG or JPG to PNM with tools like pngtopnm.

This is a tool which will convert any video formats supported by ffmpeg into Theora video, the free video format. The easiest way to run it is as ffmpeg2theora video_file, which will use default settings to convert video_file into Theora.

ncurses-based audio player with using TUI (text user interface), cmus proves very efficient when listening to music while in command-line, with no need to start an X Server. It uses keyboard shortcuts similar to Vim, which means you can control it by typing : then enter the desired command, and it supports a multitude of audio formats, including MP3, FLAC and Ogg Vorbis. What I like about cmus is the fact that it's pretty easy to use, intuitive, and the interface is simple but efficient.

convert is a tool included in the imagemagick package, which allows not only to convert between various image formats, but also to create and apply numerous effects to them. For example, to create a logo with some text on the command-line you can issue something like:

convert -size 1024x768 xc:black -font Times-Roman -pointsize 80 -fill green -annotate +20+80 'sudo apt-get girlfriend' -fill lightgreen -annotate +23+83 'sudo apt-get girlfriend' -trim +repage logo.png

pdftotext comes in the package xpdf-utils and allows you to convert PDF files into text files (obviously leaving images behind), so you will be able to read them with tools like less or a text editor.

Do you have some other cool tools for CLI which you would like to share? Please feel free to discuss in the comments below.


Anonymous said...


tuxhelper said...

I second htop & ask for a detailed tutorial for cmus.

Craciun Dan said...

Hmmm, I don't think it needs a tutorial, the man page should be enough I guess.

Anonymous said...

It's apt get install girlfriend not just apt-get girlfriend

makkay said...

rtorrent - torrent client a tutorial
bastet - tetris game that sends the worst block possible
moc - another mp3/other formats player
chm2pdf - i once had a chm file so i converted to pdf instead of installing chm reader
mc - midnight commander .. i don't use it but it's cool

Anonymous said...

how about:

dpkg -P Last_girlfriend;apt-cache search new_girlfriend|grep sexy|grep blond

Craciun Dan said... :)

Anonymous said...

don't get to
apt get uninstall girlfriend
when you're done

mjjzf said...

Mcabber for Jabber messaging and Mp3blaster for the music.

Anonymous said...

It's apt-get girlfriend cause you get one, don't install it...
where would you install her xDD?