[newbie] Commands In linux
Hi, Can anyone help me ? I want to do the following with the linux command line ( I have had a look at man and --help but still could not figure it out) 1 - I want to get a complete recursive list of number of files, number of dirs and total byte size of a path. 2 - Want to delete all files of a particular name or extension in a recursive path e.g all *.rpm or all xyz*.rpm I have looked all over the internet but cannot find any info about these commands or more complex ones. They only tell you very basic and simple stuff. Any help will be appreciated. thanks. Tim Franzke __ Get Your Private, Free Email at http://www.hotmail.com
Re: [newbie] Commands In linux
On Fri, 13 Aug 1999, you wrote: Hi, Can anyone help me ? I want to do the following with the linux command line ( I have had a look at man and --help but still could not figure it out) 1 - I want to get a complete recursive list of number of files, number of dirs and total byte size of a path. 2 - Want to delete all files of a particular name or extension in a recursive path e.g all *.rpm or all xyz*.rpm I have looked all over the internet but cannot find any info about these commands or more complex ones. They only tell you very basic and simple stuff. Any help will be appreciated. thanks. Tim Franzke __ Get Your Private, Free Email at http://www.hotmail.com -- type 'info' at the command line. Learn to use this unique tool or if you prefer(I do) enter emacs and press C-h i. Look in /usr/doc/LDP for a number of manuals especially 'getting started'. I bet you looked on all those flashy sites. In linux it the borring and dull sites(to the newbie anyways) that have all the info. Check with www.fsf.org they build the best tools without which there would never have been a linux or *bsd or any free os. Joe - http://f-cpu.tux.org/ the future of the CPU!!! http://www.lsl.com/ the best in linux products!
Re: [newbie] Commands In linux
Tim Franzke wrote: Hi, Can anyone help me ? I want to do the following with the linux command line ( I have had a look at man and --help but still could not figure it out) 1 - I want to get a complete recursive list of number of files, number of dirs and total byte size of a path. Recursive list of all files in a path: ls -R Number of files in the list: ls -lR | wc -l Number of directories: find . -type d | wc -l Size of the path: du . 2 - Want to delete all files of a particular name or extension in a recursive path e.g all *.rpm or all xyz*.rpm rm -r *.rpm I have looked all over the internet but cannot find any info about these commands or more complex ones. They only tell you very basic and simple stuff. -- Steve Philp Network Administrator Advance Packaging Corp. [EMAIL PROTECTED]