Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
> Send directory in Long file
jhope12
post Sep 27 2011, 09:07 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 27-September 11
Member No.: 15,598



How would I Send a directory in long format of the Lab3 directory to a file called dir.txt
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
michaelk
post Sep 28 2011, 07:19 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



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)
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th November 2017 - 12:32 AM