Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I output text to a file?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
raid517
l33t
l33t


Joined: 06 Mar 2003
Posts: 946

PostPosted: Mon Aug 25, 2003 11:52 am    Post subject: How do I output text to a file? Reply with quote

Hi, please can someone tell me how to output text to a file? I mean for example if I do lsmod, or lspci (or whatever) how do I write the output to a text file that can be read later? I think I recall someone saying before that this was possible, but I've forgotten how to do it now. :(

Also, where on the live CD does Gentoo keep information about the modules it uses during boot time? Basically I want to copy this file to my real gentoo install and use it to automatically loaed all of my needed modules during boot time. The live CD has excellent hardware detection, so I am hopeful I can emulate this in my final install.

All advice is extremely welcome.

Q
Back to top
View user's profile Send private message
zhenlin
Veteran
Veteran


Joined: 09 Nov 2002
Posts: 1361

PostPosted: Mon Aug 25, 2003 11:57 am    Post subject: Reply with quote

Ah, the wonders of CLI.

lsmod > lsmod.out
Back to top
View user's profile Send private message
Brandy
Bodhisattva
Bodhisattva


Joined: 08 Jun 2003
Posts: 820
Location: New Zealand

PostPosted: Mon Aug 25, 2003 12:48 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Other Things Gentoo.
_________________
Faber est suae quisque fortunae.
Back to top
View user's profile Send private message
ctenet
Apprentice
Apprentice


Joined: 10 Aug 2003
Posts: 156
Location: New York, USA

PostPosted: Mon Aug 25, 2003 4:52 pm    Post subject: Reply with quote

as for what the livecd uses, it tells you on the screen before it logs you in
Back to top
View user's profile Send private message
raid517
l33t
l33t


Joined: 06 Mar 2003
Posts: 946

PostPosted: Mon Aug 25, 2003 9:04 pm    Post subject: Reply with quote

Well yes, it was a bit hard to see, but I figured it out. I just did modprobe > modprobe.bak on the cd and edited it/renamed it modules.autoload for my rea gentoo install.

Thanks again...

Q
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum