Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm pretty new to ubuntu and cron, and I was wondering how to search for something in the crontab file. Basiclly, the ubuntu equivilent of ctrl+f on windows.


share|improve this question

just found it. If I run crontab -e, I can search with ctrl+w.

thanks for the help

share|improve this answer
Ah, you did not mean the crontab file (/etc/crontab), but the user specific crontab entries. If you set your EDITOR to gedit, you will have nicer output and be able to use Ctrl-F. – January Sep 27 '12 at 10:58

Try from command line. Open terminal Ctrl+Alt+T and run following command :

cat /etc/crontab | grep yoursearchkeyword
share|improve this answer
This crontab file doesn't appear to be the one I get when I use crontab -e – Jonathan Leaders May 28 '15 at 0:41

To grep a user-specific crontab:

crontab -l | grep -i keyword

share|improve this answer

You can just open the crontab file in gedit and use Ctrl-F.

gedit /etc/crontab

For your user specific crontab file, do

crontab -e

Depending on your $EDITOR environmental variable, you will open it in your favorite editor. If the EDITOR=gedit, then you will be able to do Ctrl-F. If the editor is nano, you need to do Ctrl-W. With EDITOR=vi, you type /.

share|improve this answer
Is there anyway to cat the user-specific crontab? – Jonathan Leaders May 28 '15 at 0:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.