Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
moving directories using bash
Name: richard kenny Date: December 2, 2004 at 16:44:36 Pacific OS: mandrake10 CPU/Ram: 433celeron
Comment:
HI there. I'm new at this, and managed to install the firefox browser, but have it in my home directory and want to move it to the usr/share/, but can't seem to get it right, can someone give me an example of how to do this. Thanks Much, Richard Kenny rkenny
Name: C_Legend Date: December 2, 2004 at 20:26:07 Pacific
Reply:
How did you install it? Was it a tar.gz file? RPM?
Assuming it's not an RPM, what I would do is remove it from your home directory:
# cd /home/firefox
(or wherever it's installed)
# rm -f -r *
# cd ..
# rmdir /home/firefox
Now, reinstall Firefox in the directory of your choice.
Make sure you're not confusing Firefox's application directory and its user data directory (under /root and/or /home).
Good luck.
0
Response Number 2
Name: ernie Date: December 3, 2004 at 12:04:44 Pacific
Reply:
If you installed Firefox using the Firefox installer while logged in on your regular user account, Firefox will install to your regular users home directory. If you want it installed system wide, you must execute the installation as the root user. You can remove the Firefox installation from your home directory as described in the previous post.
To install Firefox system wide, in a terminal window or consol screen, enter 'su' (no quotes). The root password will then be requested, enter it. Now you can run the Firefox installer. It will install Firefox in /usr/local (IIRC).
HTH,
Ernie [ewilcox@buckeye-express.com] ICQ 41060744 Registered Linux User 247790
0
Response Number 3
Name: 3Dave Date: December 10, 2004 at 04:39:40 Pacific
Reply:
FYI to move the folder: # mv /home/richard/firefox /usr/share
Best off sticking with the installer these days though now there is one.
Summary: Greetings i want to compress some directories using tar. teste]$ tree . `-- teste1 |-- teste12 `-- teste13 My question is: how can i exclude some directories using tar? if a use tar cvf test...
Summary: I need help with this basic script writing using bash shell. I just started using Linux and the company I work for is trying to instill this system. How do I write a script that will create a menu to ...
Summary: 3Dave is kind of hinting about another problem you may have, which is the $PATH environment variable. There is a good chance that most of your programs are in a directory that is not in your $PATH. Fo...