Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi everyone. i installed fedora 16. now i want to ovewrite a file, in root ETC folder. this file is in my home directory. plz suggest me how to make it possible? thanks in anticipation
First, to "overwrite" any file, just save a document with the same filename. Working in a GUI, you'll typically be prompted to confirm you want to do this. In a terminal, use "mv"
Second, the /etc directory should not be in your /home directory----perhaps you mean that you want to replace a file in /etc with one in /home??
hi everyone. i installed fedora 16. now i want to ovewrite a file, in root ETC folder. this file is in my home directory. plz suggest me how to make it possible? thanks in anticipation
sudo mv ~/newfile /etc/oldfile
where newfile is the name of the file in your home directory and old file is the name of the file in the /etc directory
Just my opinion, if you do not know how to copy/move a file to /etc, you should not be messing with files in there.
Fedora does not use sudo by default, unless specifically installed by the user.
whoops, you're right. I forgot, it's been a while since I used fedora.
sajjadpu, you are going to have to have root privlidges.
while I don't entirely agree with towheedm, His caution is reasonable. You could do a good amount of damage to your system if you are mistakenly overwriting something you shouldn't
On the other hand you are never going to learn to swim if you don't get your feet wet.
what exactly are you replacing? replacing files in etc is not typical.
whoops, you're right. I forgot, it's been a while since I used fedora.
sajjadpu, you are going to have to have root privlidges.
while I don't entirely agree with towheedm, His caution is reasonable. You could do a good amount of damage to your system if you are mistakenly overwriting something you shouldn't
On the other hand you are never going to learn to swim if you don't get your feet wet.
what exactly are you replacing? replacing files in etc is not typical.
hi dear.currently i installed fedora 16 on core I3 desktop. after it i was
interested to install xmgrace on it. i installed the following files
then the next step was to replace id.so.comf file having the text
include ld.so.conf.d/*.conf
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/sane
/usr/lib/qt-3.1/lib
/usr/local/lib
in it. the name of old file is also ld.so.conf. the new ld.so.conf file is necessary to overwrite so that xmgrace can start. if you know another method of installing xmgrace then it will give me highly pleasure. thank you very much.
[QUOTE=John VV;4671405]you do not replace that file
you run "ldconfig" on the new software ( you BUILT FROM SOURCE )
for rpm's and yum there is NO NEED
also you NEED to be root to do that to the SORRCE BUILT FILES -- NOT the rpm's
see the manual and help page
Code:
su -
ldconfig --help
--- and ----
man ldconfig
and HOW did you install
this way ? or some other ?
[code]
yum install fftw libpng10 libXp grace
dear i installed all the files just by clicking on the file and installation started. but now need to replace id.so.conf file but still i am facing problem to replace it. I also used yum instal grace command but again failed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.