Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How often do you have to look up the command for something?

Here you can discuss every aspect of Debian. Note: not for support requests!
Message
Author
swirler
Posts: 166
Joined: 2013-11-24 11:19

Re: How often do you have to look up the command for somethi

#31 Post by swirler »

I've scheduled periodic backups (cronjobs) of my .bash_history file and grep through them when I can't remember a command I know I've used already.

I've also seen people appending some sort of tag to a command in order to recall it quickly, maybe something like

Code: Select all

ls -laF --group-directories-first #dir
the idea being that just typing #dir after hitting CTRL+R would bring up the command - of course it's kinda useless with a short command like the example above, but I find it useful with longer ones.

Post Reply