[TriLUG] hello and mysql help please

Jason Tower jason at cerient.net
Sat Jun 17 15:29:23 EDT 2006


lots of people don't realize that rm options can usually be placed after the 
argument, so

   rm -rf /var/lib/mysql

is equivalent to

   rm /var/lib/mysql -rf

i've found the latter to be a lot "safer" to type by giving your brain an 
extra second or two to catch any mistakes before hitting enter.

jason

Rick DeNatale wrote:
> On 6/17/06, jason watts <jsnthegod at hotmail.com> wrote:
> 
>> and just so i know, what does the f stand for in the command you 
>> mentioned
>> "rm -rf /var/lib/mysql/mysql/"  i know the r stands for recursivly 
>> (right?)
> 
> 
> the f option on rm stands for force, it turns off prompting and other
> error checking.
> 
> So rm -rf will delete the /var/lib/mysql/mysql directory and every
> file and directory underneath it.
> 



More information about the TriLUG mailing list