How do I delete a file in unix?



How do I delete a file in unix?..

Answer / supriya tamhane

rm filename
OR
rm -f filename

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix General Interview Questions

You have a file called tonky in the directory honky. Later you add new material to tonky. What changes take place in the directory, inode, and file?

1 Answers  


What is the main goal of the Memory Management?

1 Answers  


How to copy files from one directory to other in unix?

1 Answers  


How to make a new directory in unix?

1 Answers  


How is unix different from linux?

1 Answers  


What is grep|sort give example?

1 Answers  


What are a shell in unix and its types?

1 Answers  


What does shebang mean in unix?

1 Answers  


1)How to schedule a job,that will periodically execute in second by crontab? 2)I know only second specific time to execute the job. like 10 10 * * * sleep 40&&ps -l>/dev/pts/1 It will execute at 10:10:40 AM but do not know how to execute 15 second,30 second so on at 10:10 am.

3 Answers   Qwest,


What methodology can be utilized to modify the password in unix?

1 Answers  


How would you identify daemons in unix?

1 Answers  


What does cp mean in unix?

1 Answers  


Categories