Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-20-2004, 01:17 AM   #1
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, 01:54 AM   #2
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, 02:10 AM   #3
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


- T


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 03:42 PM
Listed partition in cfdisk, but not listed in /dev? Erik_the_Red Linux - Newbie 7 08-05-2005 11:44 PM
Ping times grow HUGE after X amount of time Shade General 2 05-11-2005 11:03 PM
Huge Huge Problem With Forums!!! The_Insomniac Linux - General 1 06-07-2004 08:15 AM
Applications consume huge memory amount in kernel-2.6.4 l2g Red Hat 3 04-09-2004 09:49 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:34 AM.

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