»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 02-13-2004, 08:20 AM   #1 (permalink)
Registered User
 
Join Date: Sep 2002
Location: Woodstock, GA
Posts: 287
d1sc g0lf3r is on a distinguished road
Linux - How do I locate....

I am still new to Linux as I only play around with it every now and then. I want to use Mozilla as my default web browser and I am trying to figure out where the application is installed by default so I can create a link to it from my desktop?

While I am here:
1. Where can I find a good list of linux commands?
2. How do I uninstall a program?

I like playing around with Linux because it is challenging. Sometimes though after I have accomplished a task I still dont feel like I understand what I did.

For Example...I use atl.speakeasy.net to test my connection speed which uses a Java applet. I am assuming by default that Mozilla does not use Java since the applet did not load. So I downloaded Java from Sun's website and followed their instructions for installation and I created a "symbolic link?". I apparently did it right because now the java applet loads but I still do not know what a symbolic link is or does really.

This is what I think it did. I think the link I created told my Mozilla browser where I had installed Java so it could use it? I was told to cd to my /usr/lib/mozilla-1.1/plugins then create a symbolic link here by typing "ln -s /usr/java/j2sdk1.4.2_01/plugin/i386/ns610/libjavaplugin_oji.so libjavaplugin_oji.so
(replace with path to your Java installation)"...what does ln -s mean?

Sorry for so many questions

d1sc g0lf3r is offline   Reply With Quote
Old 02-13-2004, 08:25 AM   #2 (permalink)
Guest
Guest
 
Posts: n/a
http://www.techimo.com/forum/t98492.html

basic user commands
  Reply With Quote
Old 02-13-2004, 08:31 AM   #3 (permalink)
Registered User
 
eagle1's Avatar
 
Join Date: Oct 2001
Location: La Isla del Encanto
Posts: 4,125
eagle1 is on a distinguished road
ln -s.

"Not too much to say about links. A link is either a "hard link", which is basically a copy of a file, in another place, except that if either copy is modified, both are affected. Another type is the "symbolic link" which is more a pointer to the real file. When you access the symlink, the real file is accessed, even though it is somewhere else on the system. "

Linking simbolically. It could be compared to the windows shortcuts. Like for example if you have a program installed in:

/usr/bla bla/bla ba/bla ba2/huh/executable

you can link this to another file in your home directory (by doing what you just did to install Java) and you don't have to go through all those folders so you would just go to your home directory and do:

ln -s /usr/bla bla/bla ba/bla ba2/huh/executable executable

__________________
boo!

Last edited by eagle1; 02-13-2004 at 08:33 AM.
eagle1 is offline   Reply With Quote
Old 02-13-2004, 08:32 AM   #4 (permalink)
Registered User
 
eagle1's Avatar
 
Join Date: Oct 2001
Location: La Isla del Encanto
Posts: 4,125
eagle1 is on a distinguished road
BTW, you can learn what does commands do by looking at the man pages.
From a terminal type:

man ln

and it will explain to you what you can do with it.
The ln command has different options.
__________________
boo!
eagle1 is offline   Reply With Quote
Old 02-13-2004, 08:49 AM   #5 (permalink)
Registered User
 
Join Date: Sep 2002
Location: Woodstock, GA
Posts: 287
d1sc g0lf3r is on a distinguished road
Thanks for the replies. Do either of you know where Mozilla is installed by default in Mandrake 9.0?
d1sc g0lf3r is offline   Reply With Quote
Old 02-13-2004, 09:02 AM   #6 (permalink)
Registered User
 
eagle1's Avatar
 
Join Date: Oct 2001
Location: La Isla del Encanto
Posts: 4,125
eagle1 is on a distinguished road
I think the find command should help you.

http://www.onlamp.com/pub/a/bsd/2002...SD_Basics.html

http://www.dsl.org/cookbook/cookbook_10.html

Also try with the whereis command or the command which.
(.look at the man pages for info).
__________________
boo!
eagle1 is offline   Reply With Quote
Old 02-13-2004, 09:23 AM   #7 (permalink)
Registered User
 
Join Date: Sep 2002
Location: Woodstock, GA
Posts: 287
d1sc g0lf3r is on a distinguished road
Thanks Eagle1 I used the find command and located it after it spit out a bunch of gibberish saying "...Permission denied". I am assuming it did this because I was not root? or did I do something else wrong? I created my link from the /usr/bin directory.

[rkeener@rob rkeener]$ find / -name mozilla
find: /mnt/floppy: Input/output error
find: /mnt/cdrom: Input/output error
find: /etc/skel/tmp: Permission denied
find: /etc/default: Permission denied
find: /etc/cups/certs: Permission denied
find: /etc/cups/ssl: Permission denied
find: /var/lib/xdm: Permission denied
find: /var/lib/gdm: Permission denied
find: /var/lib/nfs/statd: Permission denied
find: /var/lib/slocate: Permission denied
find: /var/run/sudo: Permission denied
find: /var/spool/cron: Permission denied
find: /var/spool/cups: Permission denied
find: /var/spool/at: Permission denied
find: /var/spool/postfix/active: Permission denied
find: /var/spool/postfix/bounce: Permission denied
find: /var/spool/postfix/corrupt: Permission denied
find: /var/spool/postfix/defer: Permission denied
find: /var/spool/postfix/deferred: Permission denied
find: /var/spool/postfix/flush: Permission denied
find: /var/spool/postfix/incoming: Permission denied
find: /var/spool/postfix/maildrop: Permission denied
find: /var/spool/postfix/private: Permission denied
find: /var/spool/postfix/public: Permission denied
find: /var/spool/postfix/saved: Permission denied
find: /root: Permission denied
find: /proc/1/fd: Permission denied
find: /proc/2/fd: Permission denied
find: /proc/3/fd: Permission denied
find: /proc/4/fd: Permission denied
find: /proc/5/fd: Permission denied
find: /proc/6/fd: Permission denied
find: /proc/7/fd: Permission denied
find: /proc/8/fd: Permission denied
find: /proc/12/fd: Permission denied
find: /proc/97/fd: Permission denied
find: /proc/189/fd: Permission denied
find: /proc/312/fd: Permission denied
find: /proc/633/fd: Permission denied
find: /proc/688/fd: Permission denied
find: /proc/704/fd: Permission denied
find: /proc/712/fd: Permission denied
find: /proc/761/fd: Permission denied
find: /proc/778/fd: Permission denied
find: /proc/917/fd: Permission denied
find: /proc/973/fd: Permission denied
find: /proc/992/fd: Permission denied
find: /proc/1001/fd: Permission denied
find: /proc/1024/fd: Permission denied
find: /proc/1051/fd: Permission denied
find: /proc/1084/fd: Permission denied
find: /proc/1164/fd: Permission denied
find: /proc/1165/fd: Permission denied
find: /proc/1276/fd: Permission denied
find: /proc/1277/fd: Permission denied
find: /proc/1447/fd: Permission denied
find: /proc/1455/fd: Permission denied
find: /proc/1518/fd: Permission denied
find: /proc/1552/fd: Permission denied
find: /proc/1659/fd: Permission denied
find: /proc/1660/fd: Permission denied
find: /proc/1661/fd: Permission denied
find: /proc/1662/fd: Permission denied
find: /proc/1663/fd: Permission denied
find: /proc/1664/fd: Permission denied
find: /proc/1786/fd: Permission denied
find: /proc/8215/fd: Permission denied
find: /proc/8235/fd: Permission denied
/usr/bin/mozilla
/usr/lib/menu/mozilla
find: /.gconfd: Permission denied
d1sc g0lf3r is offline   Reply With Quote
Old 02-13-2004, 09:52 AM   #8 (permalink)
Registered User
 
eagle1's Avatar
 
Join Date: Oct 2001
Location: La Isla del Encanto
Posts: 4,125
eagle1 is on a distinguished road
No.. you didn't do anything wrong.
If you are a regular user it will give those messages but other than that, it's cool.
You did fine.
__________________
boo!
eagle1 is offline   Reply With Quote
Old 02-13-2004, 02:21 PM   #9 (permalink)
Registered User
 
Join Date: Aug 2002
Posts: 63
soulware is on a distinguished road
I always give myself sudo access to find so that I don't have to switch to root to search the system. Does Mandrake come with sudo?
soulware is offline   Reply With Quote
Old 02-13-2004, 03:21 PM   #10 (permalink)
Registered User
 
Join Date: Sep 2002
Location: Woodstock, GA
Posts: 287
d1sc g0lf3r is on a distinguished road
No idea what sudo is, so I cannot say either way
d1sc g0lf3r is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 05:02 PM.