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!

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

Postby swirler » 2016-12-20 10:25

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.
swirler
 
Posts: 166
Joined: 2013-11-24 11:19

Previous

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

fashionable