share
Super User"Must Have" Text/Terminal applications?
[+30] [46] timepilot
[2009-08-05 22:38:06]
[ linux command-line software-rec terminal must-have ]
[ http://superuser.com/questions/18730] [DELETED]

I spend most of my time in Linux using tiled window managers such as Awesome [1] or DWM [2]. As a result, prefer to use text/terminal applications. Some of my favorites are: Vim [3], mc [4], Htop [5], MOC [6], GNU Screen [7], WeeChat [8], rTorrent [9], ELinks [10] and Lynx [11].

What are your must-install text/terminal applications?

(1) Whats a CLI app? Can you update your question to include what that means? - Ciaran
(11) It's an acronym for "command line interface". - nagul
sorry I wasn't clear, edited. thx - timepilot
I can change the title if it's unclear - I'm just used to hearing apps that run in the terminal window called CLI apps. Given your comment, its not clear to me what you would consider a CLI app (maybe nothing). - timepilot
@Timepilot: I think Johannes just means that applications like vim and elinks take over your terminal, rather than working a command at a time (like grep or sed). That said, it's pretty common to link together full-screen terminal applications together with the command utilities as CLI applications. This is a very common usage. - Telemachus
@Telemachus thx! To whoever down voted, because subjective? - timepilot
I think making this question a community wiki is a good idea. How do I do this? Thx - timepilot
@timepilot - Edit the question and tick the Wiki Box - Diago
[+48] [2009-08-06 10:10:12] Esko Luontola

screen [1]

Especially over SSH, it lets you keep the programs running when you disconnect and then continue your work from where you were left. Having multiple virtual terminals is also very useful.

[1] http://en.wikipedia.org/wiki/GNU%5FScreen

(4) +1, but I use tmux instead: tmux.sourceforge.net - Alex Barrett
1
[+25] [2009-08-06 05:34:36] Mike

I find wget [1] to be useful from time to time.

[1] http://en.wikipedia.org/wiki/Wget

wget -c \o/ - dbr
2
[+17] [2009-08-06 13:11:22] A. Scagnelli

Nethack [1]!

Roguelikes are great fun to blow off steam for a few minutes or a few hours. There are native Windows, Mac, GTK, X11, WinMo, and other versions, but the original is the text-based terminal version. Combine with screen and an internet connection for nethack on any device with a monitor+keyboard, or combine with the NAO server for a good meta-game (or hints from watching people better than you).

"Died from choking on a donut-shaped piece of meat." says it all.

[1] http://www.nethack.org/

(2) Ah, of course - good call. Been playing it, on and off, for some 15+ years. Haven't ascended yet, but some day... :) - Jonik
I'm also quite fond of vitetris to help pass the time :) - Richard Marquez
Most smartphones these days can SSH into a shell - nethack on the go! - Phoshi
3
[+14] [2009-08-06 11:14:16] P.Bjorklund

Irssi [1] - IMHO the best IRC client ever invented. I have used it for years now and whenever I try another one out I end up coming back to a shell with Irssi running.

It has a neat scripting [2] system that takes perl scripts, some useful ones include..

It is commonly used in conjunction with screen, which keep irssi running even when you close the terminal, and allows you to access the session from other machines via SSH - "A Guide to Efficiently Using Irssi and Screen" [7] is a good article on this

Oh and you need the theme I've used all these years, gothic [8]! Many more themes can be found on themes.irssi.org [9]

[1] http://www.irssi.org/
[2] http://scripts.irssi.org/
[3] http://scripts.irssi.org/scripts/trackbar.pl
[4] http://scripts.irssi.org/scripts/autoaway.pl
[5] http://scripts.irssi.org/scripts/screen%5Faway.pl
[6] http://scripts.irssi.org/scripts/nickcolor.pl
[7] http://quadpoint.org/articles/irssi
[8] http://www.irssi.org/themefiles/gothic.png
[9] http://www.irssi.org/themefiles/gothic.png

(2) I don't use IRC much these days, but Irssi is indeed great. For one thing, gotta love the smart autocomplete for almost everything (it was so good I sometimes accidentally tried to use it to complete the actual text I was going to send to a channel...) - Jonik
(1) Not sure if the 1197 pixels high screenshot adds more value than annoyance. Use a smaller image if you must, please? - Jonik
(2) I also agree that the screenshot someone added had to go :-P - P.Bjorklund
(1) I'll add to irssi bitlbee.org and twirssi.com, for a single point messaging client. - mwalling
4
[+14] [2009-08-20 12:25:08] miloshadzic

cowsay [1]

You can pipe fortune, like in this example from Wikipedia:

baldur@baldur-desktop:~$ fortune | cowsay
________________________________________
/ You have Egyptian flu: you're going to \
\ be a mummy.                            /
----------------------------------------
    \   ^__^
     \  (oo)\_______
        (__)\       )\/\
            ||----w |
            ||     ||
[1] http://www.nog.net/~tony/warez/cowsay.shtml

fortune -o | cowsay - Johan
So flipping awesome. I love easter eggs - D'Arvit
5
[+13] [2009-08-06 12:33:11] Jason Baker

I'm guessing you've already got grep [1] and sed [2] unless you've got something weird set up. These tools are infinitely useful for programmers, and I would assume for just about anyone who edits text files.

I'm also told that ack [3] and gawk [4] are also good tools for this stuff.

[1] http://en.wikipedia.org/wiki/Grep
[2] http://en.wikipedia.org/wiki/Sed
[3] http://betterthangrep.com/
[4] http://www.gnu.org/software/gawk/

+1 for those and I'd add awk, gnu.org/software/gawk/manual/gawk.html - mas
grep --color is nice too - mark
heavy grep users should give ack a try: betterthangrep.com - piquadrat
6
[+10] [2009-08-06 13:58:20] Gnoupi

fortune [1].

Not especially the best for productivity, though. But always nice, from times to times ;)

[1] http://linux.die.net/man/6/fortune

(2) +1. Random observation: the best (funniest) fortunes I've seen were on university's SunOS 5.9 machine. On all the Linux distros I've used, they simply aren't as good on average (with default settings at least). - Jonik
7
[+10] [2009-08-07 11:37:55] voyager

Vim [1] (or Emacs [2]?) and Htop [3] (replacement for top).

[1] http://en.wikipedia.org/wiki/Vim_%28text_editor%29
[2] http://en.wikipedia.org/wiki/Emacs
[3] http://en.wikipedia.org/wiki/Htop_%28Unix%29

+1 for htop. :) - jweede
(3) Come on. You can't ride the fence. You have to choose. Are you one of us or one of them? - Dennis Williamson
(1) @Dennis: I had to mention Eight Megabytes And Constantly Swapping ;) - voyager
+1 for vim, but -1 for emacs. No vote for you! (Just kidding, +1) - Mark Szymanski
8
[+10] [2009-08-20 11:33:23] timepilot

Htop [1] - better version of top (system monitor)

[1] http://en.wikipedia.org/wiki/Htop_%28Unix%29

htop makes top completely obsolete. - Richard Marquez
9
[+9] [2009-08-06 10:37:29] David Spillett

sl [1]!

[1] http://platonic.techfiz.info/2008/12/08/steam-locomotive-silly-mistake-runs-a-train/

Hahahaha, awesome :) +2 if I could. - Ehtyar
sl is as bad as null-domain redirects. Just tell me it doesn't exist, don't make me wait to do more :\ - A. Scagnelli
There's one difference - sl is opt-in. - grawity
evil; pure evil I tell you - hasen j
There is nothing wrong with a little evil... - David Spillett
10
[+8] [2009-08-06 01:31:26] John Fouhy

ImageMagick [1].

[1] http://www.imagemagick.org/script/index.php

I prefer GraphicsMagick (graphicsmagick.org), but +1 anyways. - Ehtyar
I haven't heard of GraphicsMagick.. Maybe I'll look into it. Mind you, my use of IM is not hard-core enough that I would benefit from performance improvements anyway :-/ - John Fouhy
11
[+6] [2009-08-06 10:34:23] Jonik
svn

Kind of obvious, perhaps, but for developers, especially on Unix-like systems, who use Subversion [1] for version control, knowing how to use the command-line client [2] is invaluable. Oftentimes, especially for things like branching, tagging or merging, it's much handier than graphical Subversion front-ends.

The command reference [3] in svnbook is a great for learning to use svn.

[1] http://subversion.tigris.org/
[2] http://svnbook.red-bean.com/en/1.5/svn-book.html#svn.ref.svn
[3] http://svnbook.red-bean.com/en/1.5/svn-book.html#svn.ref

(3) Distributed version control system as GIT, Bazaar or Mercurial is more comfortable. - Pawka
(2) @Pawka: That is not an "universal" truth, as it totally depends on the needs of you or your team. For lots of developers svn certainly fills the needs better than distributed systems (and vice-versa). - Jonik
There are still live projects that use RCS - mas
12
[+6] [2009-08-20 11:38:24] timepilot

rTorrent [1] - a configurable torrent client.

[1] http://en.wikipedia.org/wiki/RTorrent

I like transmission-daemon. it just runs in the background and all u have to do is drop .torren files into watch folder. web interface if u need it. rtorrent can be run as a daemon but it's rather ncurses program and not a daemon. - Andre
13
[+6] [2009-08-20 13:08:54] Hipponax43

rsync – for archiving and copying files and directories.


14
[+5] [2010-03-11 09:14:34] Jimmy Hedman

Pipeview (aka pv [1]) is my must-have.

[1] http://www.ivarch.com/programs/pv.shtml

15
[+5] [2009-08-06 01:19:55] erichui

Email clients: Pine or Mutt. I use both on different systems.


16
[+4] [2009-08-07 23:59:20] user4680

IPTraf [1] - Detailed network traffic monitor. Provides some really good live data in a nice origanised layout.

[1] http://iptraf.seul.org/

17
[+4] [2010-06-29 19:02:49] D'Arvit

Seriously, someone hasn't said Lynx [1]?

How else would you search for solutions to your problems when you lose your GUI?

[1] http://en.wikipedia.org/wiki/Lynx_%28web_browser%29#Development_history

18
[+4] [2009-11-23 21:16:26] Dennis Williamson

More serious

Less serious

  • boxes [5] - for fans of cowsay [6] and want something similar (it's practical, too, since it can create comment boxes for several languages)
  • figlet [7] and toilet [8] - similar to banner
[1] http://www.bitwizard.nl/mtr/
[2] http://hightek.org/dialog/
[3] http://linux.die.net/man/1/whiptail
[4] http://gt5.sourceforge.net/
[5] http://boxes.thomasjensen.com/
[6] http://www.nog.net/~tony/warez/cowsay.shtml
[7] http://www.figlet.org/
[8] http://caca.zoy.org/toilet.html

19
[+3] [2009-08-06 12:25:48] Ehtyar

VLC [1] and mplayer/mencoder [2] are awesome for multimedia

[1] http://www.videolan.org/vlc/
[2] http://www.mplayerhq.hu/design7/dload.html

Do these qualify as text/terminal apps? You can launch them on the command-line obviously, but I doubt they show the actual video in a text terminal... :) - Jonik
They're not strictly terminal, but they do work well over X forwarding. - A. Scagnelli
(4) Sure, mplayer -vo aa myfile - dbr
20
[+3] [2009-08-06 02:16:48] Uberfuzzy

Does the operating system matter? A CLI is a CLI.

I use NirCmd and Nopey for a lot of strange things you CAN do in Windows, but need to do from CLI.

Also, random things from http://gnuwin32.sourceforge.net/packages.html.


This is awesome! - vava
which "this" are you referring to? - Uberfuzzy
21
[+3] [2010-06-29 16:02:35] SomeGuy

sc - the text-only spreadsheet


22
[+3] [2009-09-22 23:35:56] EmmEff

Python [1]

Write your own apps :)

[1] http://python.org

23
[+3] [2009-08-08 22:10:44] Bob Weber

bc [1]

I alias the command to 'bc -l' to get rid of the lame rounding.

[1] http://en.wikipedia.org/wiki/Bc_programming_language

I kind of switched to python over time... - Tadeusz A. Kadłubowski
Python for a calculator? - Bob Weber
24
[+2] [2009-08-24 01:01:27] community_owned

feh [1] - image viewer and great for setting wallpaper.

[1] http://linuxbrit.co.uk/software/feh/

25
[+2] [2009-09-22 23:01:37] LeMiz
  • For text stream processing, the obvious grep, cut, tail, head, cat, etc... and lot of pipes over them ! I also tend to develop my own tools command line tools in python, and ensure they pipe well.
  • rsync for synchronizing between machines, but also for simple backups
  • git for versioning (you are not limited for source code, I version all sort of documents)
  • curl or wget
  • cron and at
  • scripts you coded yourself that make your life easier !

+1 for 'scripts you coded yourself' :) - bitmask
26
[+2] [2009-09-22 23:33:17] Richard Marquez

Newsbeuter [1] - the Mutt of RSS feed readers.

[1] http://www.newsbeuter.org/

27
[+2] [2010-08-05 22:10:39] miguel.de.icaza

A few years ago I wrote a DOS-like file manager called Midnight Commander which was a copy of the Norton Commander, the command is "mc"


I use MC all the time - great work! - timepilot
28
[+1] [2010-11-21 21:57:42] Mike

cat is for printing file content so tac is for printing file content, but reverse order ...


29
[+1] [2009-08-18 12:09:47] timepilot

mc - file manager


30
[+1] [2010-06-29 18:27:27] Richard Marquez

cmatrix and vlock together make a pretty good screensaver for your terminal. Just put the following in your .bashrc (or equivalent):

alias screensaver="cmatrix ; vlock"

31
[+1] [2010-06-29 18:39:24] BloodPhilia

Some without you surely will not be able to do much:

ls
cd
sudo

32
[+1] [2010-06-29 18:57:43] Radhesh

elinks / w3m - text mode browsers!

and

mutt - text mode email client :)


33
[+1] [2009-08-06 12:18:26] Ehtyar

dig and host from BIND [1]

[1] http://www.isc.org/products/BIND/

34
[0] [2009-08-08 20:08:04] Jouni K. Seppänen

A newsreader for reading Usenet newsgroups and gmane.org [1]. A good one is slrn [2], or if you are an Emacs user, try Gnus [3].

[1] http://www.gmane.org/
[2] http://www.slrn.org/
[3] http://www.gnus.org/

35
[0] [2009-11-02 11:23:50] community_owned

MPD (music player daemon) and a terminal client like ncmpcpp [1].

[1] http://unkart.ovh.org/ncmpcpp/

36
[0] [2009-11-03 05:51:26] freedrull

Anything made with libcaca [1].

[1] http://caca.zoy.org/wiki/libcaca

37
[0] [2009-11-03 05:57:20] TuxGeek

pansenctrl [1] console based XMMS player :)

[1] http://www.web-europe.de/johannes/pansenctrl/pansenctrl.html

38
[0] [2011-01-29 20:01:01] Arcege

screen [1] - terminal multiplexer; cplay [2] - curses based music player; cmatrix [3] - terminal 'screensaver'

[1] http://savannah.gnu.org/projects/screen
[2] http://www.tf.hut.fi/~flu/hacks/cplay/
[3] http://www.asty.org/cmatrix/

39
[0] [2011-04-04 05:17:17] galymzhan

ranger [1] - VIM-like console file manager.

[1] http://ranger.nongnu.org/

40
[0] [2011-07-27 15:00:14] jankes

For music, I find cmus [1] much better than MOC. Alternatively, if you like to grab the music status from some widgets, MPD + ncmpc [2] or ncmpcpp [3].

[1] http://cmus.sourceforge.net/
[2] http://mpd.wikia.com/wiki/Client%3aNcmpc
[3] http://unkart.ovh.org/ncmpcpp

41
[0] [2010-08-05 22:47:16] Am1rr3zA

I use Axel [1] for downloading, it can make many connection I love it.

[1] http://www.icewalkers.com/Linux/Software/515850/Axel.html

42
[0] [2010-08-31 20:37:07] mankoff

Mac OS X specific:

| pbcopy

And pbpaste.


43
[0] [2010-07-25 19:59:57] zimbatm

airport from /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport

airport -s to scan the networks


44
[0] [2010-07-26 20:42:02] Toby

I like fping (available via MacPorts)

fping -e www.google.com

I have the output from fping-ing several servers dumped onto my desktop via Geektool every 30s, replacing the "is alive" / "is unreachable" with snazzy Unicode symbols.

I also recommend rolling your aliases to common apps, for example I have

alias photoshop="open -a Adobe\ Photoshop\ CS3"

in my .profile and .bashrc, and with symlinks to dirs on network shares where I have lots of images I want to photoshop, I can very quickly tab-complete to the files I want to open.


45
[-1] [2009-08-06 10:12:30] adopilot

PuTTY [1]

[1] http://www.chiark.greenend.org.uk/~sgtatham/putty/

(6) I think PuTTY is not exactly what was sought for. It's an SSH/telnet client through which you get to access unix terminals, but I think OP meant text-based apps that run within a terminal. - Jonik
46