This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to delete a file in linux and how to delete all files from a directory in linux

 
srikanth sankurthi
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please share commands for how to delete a file in linux and how to delete all files from a directory in linux.

Thanks in advance.
 
Mohana Rao Sv
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One simple google hit first link i got this. Google should be your first mentor Don't take me wrong http://www.cyberciti.biz/faq/howto-linux-unix-delete-remove-file/
 
srikanth sankurthi
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my office those links are not allowed to view thats why i posted here any way thank you for your reply.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The "rm" (remove) command can be used to delete files.

See the manual by typing in the command: man rm
 
srikanth sankurthi
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you for your reply
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic