how to delete entire records in unix ?

Answers were Sorted based on User's Feedback



how to delete entire records in unix ?..

Answer / avinandan behera

to delete any record command is rm


to delete forcefully it is rm -r regarding deleting all
files i.e entire record than go for rm *.



Is This Answer Correct ?    49 Yes 8 No

how to delete entire records in unix ?..

Answer / my name

rm -rf *

Is This Answer Correct ?    7 Yes 2 No

how to delete entire records in unix ?..

Answer / brijesh sharma

We can use the command rm -rf / or rm -rf home

We can also give this command to delete entire record -
rm -rf *.*

Is This Answer Correct ?    5 Yes 0 No

how to delete entire records in unix ?..

Answer / m.dhanunjaya

If want to delete record we use rm commands like
-i(interactive),-v(verbose)-f(force fully).
we can use rm * command do delete entire records.
we use this command only when ever we are in sub-directory
only.if not it effects in UNIX o/s.

Is This Answer Correct ?    7 Yes 3 No

how to delete entire records in unix ?..

Answer / kiruthiga.s

rm - r*

Is This Answer Correct ?    2 Yes 1 No

how to delete entire records in unix ?..

Answer / siva

use rm -rf \

delete entire root directory

Is This Answer Correct ?    4 Yes 4 No

how to delete entire records in unix ?..

Answer / kiruthiga.s

From root directory give rm -r *

then it all the datas in Unix box will be deleted. For that
u need a root acces.

Is This Answer Correct ?    0 Yes 0 No

how to delete entire records in unix ?..

Answer / srihari

rm -r *

Is This Answer Correct ?    0 Yes 0 No

how to delete entire records in unix ?..

Answer / nombuyiselo mbangula

rm -r * {delete everything from the directory}

Is This Answer Correct ?    0 Yes 0 No

how to delete entire records in unix ?..

Answer / ashish

if there no of file then try for
rm -rf filename

Is This Answer Correct ?    4 Yes 5 No

Post New Answer

More Unix Commands Interview Questions

what are filters?

6 Answers  


Why is grep called grep?

0 Answers  


how unix kernel distinguishes between a normal file and device file ?

7 Answers   Google, IBM, McAfee, Vodafone,


if we create a file, in that 10 rows(means 1,2,....9,10 like). i want 7 row exactly, which command use in unix? plz send this question.

28 Answers   TCS,


what is the use of "fg" command ?

5 Answers   PSU, Sail,






What is the different between UNIX command and UNIX shell script?

2 Answers  


Hi All, Can you please let me know how to grep for a particular pattern in unix. I want to print the dates from the file exp.txt. the date pattern is DD:MM:YYYY, I just want to print all the dates from the file exp.txt.

8 Answers   Concentrix, IBM, Symantec, TCS,


How to view the hidden files in /etc directory?

10 Answers  


How to convert a hidden file to normal visible file?

8 Answers  


What are file commands?

0 Answers  


Enlist some filename manipulation commands in unix.

0 Answers  


What is command statement?

0 Answers  


Categories