LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-20-2004, 02:17 AM   #1
Totoro
LQ Newbie
 
Registered: Mar 2004
Distribution: Ubuntu
Posts: 17

Rep: Reputation: 0
Huge amount of stuff needs to be listed but how?


So I need to make list of huge amounts of stuff in a text file but the problem is:

There is too much stuff so "I can't" do it manually, would take forever, so iis there a way to list em in a text file with some sotf of command? Like in DOS we used to have "dir > files.txt" command, it would list all the content of the that dir showed to a txt file, of course when you added few commands more to it, it would strip the unnecessery stuff out of the list

So, is there some sort of command to use in this situation?
Thank you.
 
Old 03-20-2004, 02:54 AM   #2
Redeye2
Member
 
Registered: Feb 2004
Posts: 489

Rep: Reputation: Disabled
Actually, DOS (windows versions I think) ripped those commands off Unix/Linux. You can still use the > to direct the output to a file, or the | to send a program's output to another one. Ex: ls | grep *.rpm (though normally you would just use ls *.rpm ) but you get the idea.
 
Old 03-20-2004, 03:10 AM   #3
Totoro
LQ Newbie
 
Registered: Mar 2004
Distribution: Ubuntu
Posts: 17

Original Poster
Rep: Reputation: 0
Oh really?

Well anyway, thank you, you saved my life and the command worked juuuust fine

Thanks.

- T
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Make most amount of Linux users in least amount of time studpenguin General 24 02-02-2007 04:42 PM
Listed partition in cfdisk, but not listed in /dev? Erik_the_Red Linux - Newbie 7 08-06-2005 12:44 AM
Ping times grow HUGE after X amount of time Shade General 2 05-12-2005 12:03 AM
Huge Huge Problem With Forums!!! The_Insomniac Linux - General 1 06-07-2004 09:15 AM
Applications consume huge memory amount in kernel-2.6.4 l2g Red Hat 3 04-09-2004 10:49 AM


All times are GMT -5. The time now is 04:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration