Lurker News
I really enjoy using a command-line interface instead of a graphical user interface, and was wondering if anyone had any solid recommendations for applications that one can use in a terminal window.

Comments (385) 158 threads

Show all comments

Showing thread 115 of 158

nanna2 replies#
- pdfgrep : grep search pdfs

- htop : A nicer version of the process viewer top
- rename : bulk rename things via a regex/sed-like interface
- youtube-dl -x : download the audio of a video
- locate : Find something anywhere.

paol#
Second the usefulness of rename, but beware there is some confusion about the name of the tool. It's called 'rename' on debian and derivatives and 'prename' on RH and derivatives.
amelius1 reply#
> locate : Find something anywhere.

I strongly dislike updatedb, which is always stealing CPU cycles at inconvenient moments, and locate often seems out of date.
We should have had instant, database-like indexing in our filesystems ages ago.

_arvin#
You can run updatedb more frequently. By default it is run on a daily cron job and has the smarts to not run when on battery. (see /etc/cron.daily/mlocate)

You can also exclude directories in /etc/updatedb.conf that you don't want locate to index. I think in your case a more frequent cron job make sense. If run often enough, it finishes very quickly when running updatedb, which will you give you the instant search you're looking for.