Ain't Meek Coder
Pages
Home
Tuesday, January 29, 2013
Remove all files from a directory linux
$ rm /home/usr/dirname/*
or
$ cd /home/usr/dirname/
$rm *
+jayakrishnan nair
says that always use the first option rather than the second one
Read more:
http://www.linuxstall.com/delete-all-files-from-directory/#ixzz2JMYbz4Fr
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment