Operating System - HP-UX
1830938 Members
2157 Online
110017 Solutions
New Discussion

removein Directory form home

 

removein Directory form home

 
no personal quote
2 REPLIES 2
Pete Randall
Outstanding Contributor

Re: removein Directory form home

Removing directory from home?

rm -rf /home/target_dir


Pete


Pete
Fragon
Trusted Contributor

Re: removein Directory form home

Hi Raghuram,
Can you make clear your question?
Do you want to remove all files and directories recursively? That's:
# rm -rf /home >/dev/null 2>&1

Of course, it's dangerous and may be not necessary!

-ux