[LBo] Quizz/Puzzle of the day
Jisao
dimark at securenet.net
Mon Feb 26 05:18:51 CET 2007
Goksin Akdeniz wrote:
>> su -c rm -rf
>>
> "su -c" is explained, so I will go on with rm -rf.
>
> rm removes all files and directories. Actuall on a *NIX system everything is a
> file. So a directory is a file which contains information of other files.
>
> rm (rEmOVE) simply deletes a file. The recent implmentation works different.
> You can delete a directory unless there are files and subdirectories.
>
> If you run rm with the options of r and f, you simply order:
>
> "Delete recursivley (r) and don't ask me any questions and ignore all(f)"
>
> rm -rf will delete all all files and subdirectories. So to make it work safe
> root or users can define an alias suc as rm -i
>
> rm -i is the interactive mode, when rm askes for every action of deleting
> files.
>
> For more on alias and rm consult the man pages. To view a man page simply type
> man NAME_OF_TOOL_OR_COMMAND
>
> man alias
>
> man rm
>
>
Good thing I asked!
Thank you all for answering the question.
Jisao
More information about the QnA
mailing list