jhope12
Sep 27 2011, 09:07 PM
How would I Send a directory in long format of the Lab3 directory to a file called dir.txt
michaelk
Sep 28 2011, 07:19 AM
At first glance is this homework?
What do you mean by long format?
Look at the options for the ls command
To send some sort of output to a file would be
ls > test.file (This will overwrite if the file exists)
ls >> test.file (This will append if the file exists)