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 <[EMAIL PROTECTED]> 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.

--
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/

Reply via email to