LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-29-2006, 02:45 PM   #1
richeyc
LQ Newbie
 
Registered: Apr 2006
Posts: 2

Rep: Reputation: 0
how to add lines to a .conf file


i need to add lines to /etc/modprobe.conf but i am new to linux and dont know where to begin. I am currently running fedora core 5 but help on fedora core 4 would work too i guess thanks
 
Old 04-29-2006, 03:18 PM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
You must use a text editor. If you use KDE, look for KEdit, KWrite or Kate. Gnome has gEdit. For the command line you might try pico.
 
Old 04-29-2006, 03:25 PM   #3
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Also you need to be root to modify that file as well.

Brian1
 
  


Reply



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
How can I use a shell script to add and replace lines in a file? abefroman Programming 10 12-27-2005 05:05 PM
Slack 10 xorg.conf font lines vrln Slackware 2 07-01-2004 03:56 AM
PHP - What to add to Apache httpd.conf file? maktos Linux - Software 9 04-17-2004 08:18 PM
More lines to add- XF86Config? fukumdaryl Fedora - Installation 3 02-16-2004 10:33 AM
Add lines of code to files from command line robeb Linux - General 2 06-12-2002 03:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:58 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
Open Source Consulting | Domain Registration