LinuxQuestions.org
Help answer threads with 0 replies.
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 05-25-2007, 01:54 PM   #1
shipon_97
Member
 
Registered: Oct 2005
Location: Bangladesh
Posts: 504

Rep: Reputation: 31
Cool ifcfg-eth0 and link problem


Dear Friends ,

Plz tell me what is the difference between the following locations :

"/etc/sysconfig/network-scripts/ifcfg-eth0"
AND

"/etc/sysconfig/networking/devices/ifcfg-eth0"

when I am running 'service network restart' , then is the above two files are effected ?


My 2nd ques is : how I remove a linking file , for example :
ln -s /etc/test /etc/test.conf
using rm , i cant delete it .

Waiting for ur reply ... ..
 
Old 05-26-2007, 07:28 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
The one in network-scripts is the one that is used when you start networking. Not sure what the other one is but I've never had to modify that one - it may be put there when you start networking as a copy of the one from network-scripts.

ln -s /etc/test /etc/test.conf
creates the symbolic link /etc/test.conf from the original file /etc/test.

rm /etc/test.conf
should remove the symbolic link. Removing the link does NOT remove the original file. You have to remove the original file by typing:
rm /etc/test

Of course the user you're logged in as has to have permission to remove the file. Logging in as root to remove the link should work if nothing else does.
 
  


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
fedora/redhat: ifcfg-eth0 and ifcfg-eth1 Shaun2222 Linux - Networking 9 01-23-2008 03:25 PM
eth0 not coming up at bootup even when configured in ifcfg-eth0 djcham Linux - Networking 1 12-04-2006 08:09 PM
editing ifcfg-eth0 nkeever Linux - Newbie 4 05-05-2005 02:46 PM
ifcfg-eth0 configuration problem shyam Linux - Networking 2 08-06-2003 06:25 AM
ifcfg-eth0:X alias problem dgenne Linux - Networking 1 03-17-2002 01:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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