LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Huge amount of stuff needs to be listed but how? (https://www.linuxquestions.org/questions/linux-newbie-8/huge-amount-of-stuff-needs-to-be-listed-but-how-160101/)

Totoro 03-20-2004 01:17 AM

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.

Redeye2 03-20-2004 01:54 AM

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.

Totoro 03-20-2004 02:10 AM

Oh really? :D

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

Thanks.

- T


All times are GMT -5. The time now is 09:18 PM.