On Sun, Oct 15, 2017, at 16:18, regiv...@gmail.com wrote:
> Hello,
> 
> There are hundreds, thousands of different commands, sometimes very 
> obscure, especially when English is not your native language.
> 
> So now I tag the commands I write for the first time:
> 
> sudo swapoff -a; sudo swapon -a #ram #system
> 
> If I do not remember the "swap" string that means nothing in my 
> language, I could always remember #ram or #system.
> 
> I can list all #system commands with the "history" command:
> 
> history search \#system
> 
> or better:
> 
> history |grep -v "^history" |grep \#system |grep \#ram
> 
> Comments and hashtags start with the same symbol. What fortunate chance!
> 
> Regivanx.

Clever use of '#", and useful.  Thanks for sharing.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to