Help - Search - Members - Calendar
Full Version: Send directory in Long file
Linuxhelp > Support > Programming in Linux
jhope12
How would I Send a directory in long format of the Lab3 directory to a file called dir.txt
michaelk
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)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.