D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Error message in Ubunto

 

On Thu, 2014-01-30 at 16:18 +0000, Brad Rogers wrote:
> On Thu, 30 Jan 2014 15:39:47 +0000
> Peter M Le Mare <plumpeace1@xxxxxxxxxxxxx> wrote:
> 
> Hello Peter,
> 
> >Thank you SO much for that. That horrible No Entry sign has gone and I 
> 
> You're welcome, Peter.
> 
> A suggestion;  Keep a note of the commands, and what they do and why you
> might need them, just in case this issue arises again.  In the past,
> I've thought to myself "No need to make a note - I'll remember that."
> Of course, I never can remember.
> 
History is great for this 

I have in .bashrc 
alias h='history'

so when I get stuck just type h | grep "the ball park command" 
then to run just type !(the command no) and it all comes flooding
back....

ie I can never remember the commands for rsync 

so  h | grep rsync

361  sudo rsync -avz /var/www/ kevinspc:/var/www/html

so running !361 

will back up my web server..

-- 

________________________________________________________________________


Regards

Kevin Lucas
Minions Post Master(Sub) 
A dedicated Linux user
/usr/bin/microsoft
Skype minions_shop
www.minionsbandb.co.uk
www.tearooms.minionsbandb.co.uk
FaceBook Minions_shop
Po House, Minions,
Liskeard Cornwall 
PL14 5LE
01579363386






-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq