how to delete entire records in unix ?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
Answer / nombuyiselo mbangula
rm -r * {delete everything from the directory}
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ashish
if there no of file then try for
rm -rf filename
Is This Answer Correct ? | 4 Yes | 5 No |
Explain how to use grep command to list find the records of a file containing 10 different strings?
what does the command 'wc' do?
What do chgrp command do?
How to set sticky bit, or it have any seperate directory to create sticky bit in sunfir servers. Please help me , i don't no the exact answer?
How to see unused port number in Solaris?
What do know about tee command and its usage?
how many types of file in unix?
34 Answers MNC, TCS,
1-how will you display a file whose name is starting with '- '? 2-how will you add a patten at end of every line in vi editor?
how to sort the content of the file based on numeric values
what is the command to get help on a UNIX terminal?
How does one process we can start an executable file? How to get the PID process, which we started?
What is pid?