10-07-2009
2,
0
Join Date: Oct 2009
Last Activity: 8 October 2009, 5:04 PM EDT
Posts: 2
Thanks Given: 0
Thanked 0 Times in 0 Posts
Quick help with UNIX commands (pipes and filters)
Hey all, I need a command line that creates a new file named whatever, say stuff.txt in the current working directory which contains the number of directories in the current working directory, followed by the number of empty files in the current working directory, followed by the name of the working directory.
Also, a command line that displays a long listing of the contents of the working directory, sorted by the date the file or directory was last modified, one screen at a time. I can get this one it's just the one screen at a time thing that gets me.
Any help? I know these are done using pipes and filters, but i'm having a lot of trouble.
Thanks