Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Will rm -r* removes hidden files?

Answers were Sorted based on User's Feedback



Will rm -r* removes hidden files?..

Answer / sathya

rm .* will remove all hidden files

Is This Answer Correct ?    8 Yes 3 No

Will rm -r* removes hidden files?..

Answer / wizard_cmp@yahoo.co.in

No. will get an error.

Is This Answer Correct ?    5 Yes 3 No

Will rm -r* removes hidden files?..

Answer / jennie

find the hidden files by doing ls -lat
and then use rm <filename>

Is This Answer Correct ?    1 Yes 0 No

Will rm -r* removes hidden files?..

Answer / anandhi

$rm –rf .??*


With the option –rf and the use " .??* " will remove/delete
all hidden files/directory. The initial " . " indicates
a 'hidden' file and the " ?? " match at least two
characters to exclude the parent-directory which is " .. "
and to remove or delete everything the " * " will match all
number or characters that used for files or directory name.

Is This Answer Correct ?    1 Yes 0 No

Will rm -r* removes hidden files?..

Answer / shan, chennai

Not at all agree. Will post you once I get the command for
that.

Shan, Chennai

Is This Answer Correct ?    0 Yes 0 No

Will rm -r* removes hidden files?..

Answer / abhijit (pune)

No, it will not delete hidden files.
but, rm -f .* will definately removes the hidden files in
that perticular directory.

Is This Answer Correct ?    0 Yes 0 No

Will rm -r* removes hidden files?..

Answer / jagadeesh kumar.k[tpgsi]

NO

Is This Answer Correct ?    0 Yes 1 No

Will rm -r* removes hidden files?..

Answer / viswa

The command rm -r * will not delte the hidden files. The
command will delte all the normal(unhidden) files and
direcotories.

#1 //Deleting all hidden files in present dir
rm -f .*

#2 //Deleting all hidden dir's in the present dir
rm -r .* OR rmdir .*

Note the command #2 will delete only the hidden dir's
created by the user not the default hidden dir's(. & ..)

Is This Answer Correct ?    0 Yes 1 No

Will rm -r* removes hidden files?..

Answer / sunitha k

rm -r* delete all files in the current directory and all
its sub-directories.it works really.

Is This Answer Correct ?    0 Yes 1 No

Will rm -r* removes hidden files?..

Answer / praful naik

Ans is rm -a

Is This Answer Correct ?    3 Yes 9 No

Post New Answer

More Unix Commands Interview Questions

What is the difference between grep and grep?

0 Answers  


How to remove a crontab file?

2 Answers  


What is awk good for?

0 Answers  


What does 'mkdir' command do in UNIX?

0 Answers   Syntel, Visa,


Where LOG fiels resides in AIX and pls tel me how to remove the log file

6 Answers   Vestas,


How do I open a port?

0 Answers  


What Command is used to make a directory?

4 Answers   IBM,


What is time_t?

0 Answers  


What difference between cmp and diff commands?

0 Answers  


in a growing log file how will you see the 1st 99 lines?

7 Answers  


what is the difference between SED and GREP ? Which one is more better and why?

4 Answers   IBM,


What is the use of tee command?

0 Answers  


Categories