LinuxQuestions.org
Visit Jeremy's Blog.
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 02-04-2004, 04:25 AM   #1
koswo
Member
 
Registered: Oct 2003
Location: Drieslinter, Belgium
Distribution: Fedora Core 3 / Knoppix 3.7
Posts: 53

Rep: Reputation: 15
Some newbie questions...


Some newbie questions...

- Already found once on this forum, but unable to relocate it: how to put Java installation dir in the path, and not to have to type the command every time I restart my pc?

- Which dir is the best to install programs to, so that it's accessible to all users?

- On the pc on which Linux is installed, I also have a windows partition (I think it’s on hda1) in ntfs, will I be able to access that partition from Linux?

- I have another pc which (at this moment) is running win2k with a shared folder and a printer connected to it, both pc’s are connected to a router. I was already able to install the printer on the win2k box in Linux but can I also access the files located in the shared folder on that win2k box? (It’s file system is ntfs.)

- I downloaded the latest Mozilla (1.6)? What’s the best thing to do : uninstall the one that comes with my Linux distro and then install the new one? Is there a command to "overwrite" the existing one with the new one?

- Can I add programs to the Gnome "start menu"?

Thanks for your help !

koswo
 
Old 02-04-2004, 04:47 AM   #2
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
Quote:
- Already found once on this forum, but unable to relocate it: how to put Java installation dir in the path, and not to have to type the command every time I restart my pc?
What is the path to the Java installation dir? Assuming it's "/usr/local/javastuff", the following command will fix things:
echo "PATH=\"\$PATH:/usr/local/javastuff\"" >> /etc/profile
Quote:
- Which dir is the best to install programs to, so that it's accessible to all users?
Normally programs should come with their own utilities to install. Do check on that. However, if you really do have a standalone binary executable you want to install for all users, put it in /usr/local/bin
Quote:
- On the pc on which Linux is installed, I also have a windows partition (I think it’s on hda1) in ntfs, will I be able to access that partition from Linux?
Yes. You have to have ntfs support compiled into the kernel or as a module. Then make a directory somewhere - say, /mnt/windows or something. Then the ntfs filesystem can be mounted by issuing the command "mount -t ntfs /dev/hda1 /mnt/windows". You can browse the contents of that partition by looking in /mnt/windows . Don't expect to be able to write to it.

Quote:
- I have another pc which (at this moment) is running win2k with a shared folder and a printer connected to it, both pc’s are connected to a router. I was already able to install the printer on the win2k box in Linux but can I also access the files located in the shared folder on that win2k box? (It’s file system is ntfs.)
Yes. Obviously you already have Samba installed, which is used for talking to windows printers and windows shares.

You might want to look into a tool called swat for easy administration of samba. You might also consider an app like gnomba for browsing windows shares. Or you can read up on smbclient, which you probably already have installed.
 
Old 02-04-2004, 06:46 AM   #3
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
You can uninstall the one that came with your distro. Just rpm -e 'Yourpackagename' will remove it. Then install the new mozilla suite. I recommend Firebird, as it is quicker. For mail client, you can use Thunderbird, if you don't like Evolution :-)
 
Old 02-04-2004, 07:15 AM   #4
koswo
Member
 
Registered: Oct 2003
Location: Drieslinter, Belgium
Distribution: Fedora Core 3 / Knoppix 3.7
Posts: 53

Original Poster
Rep: Reputation: 15
Thanks UltimaGuy, but...

rpm -e 'Yourpackagename' -> you mean the packagename of the existing Mozilla (the one that came with my Linux distro)... where do I find this package's name?

koswo
 
Old 02-04-2004, 07:50 AM   #5
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
Type 'rpm -qa | grep moz' and then it will give a list of all installed mozilla apps.
 
Old 02-04-2004, 02:31 PM   #6
koswo
Member
 
Registered: Oct 2003
Location: Drieslinter, Belgium
Distribution: Fedora Core 3 / Knoppix 3.7
Posts: 53

Original Poster
Rep: Reputation: 15
Some other questions that come to my mind...
- how do I now which is the ip address of my machine (something like ipconfig in windows)?
- how do I change my machine's hostname?

Thanks again!
 
Old 02-04-2004, 10:32 PM   #7
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
1) 'ifconfig' (as root)

2) 'hostname <anyname>' (as root)
 
Old 02-04-2004, 10:34 PM   #8
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
And, before you ask, to set the ipaddress, the command is 'netconfig' (as root)
 
  


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
Help the newbie...:D Got some questions... desperate_penguin Linux - Software 8 11-22-2005 07:34 AM
3 newbie questions Bry Linux - Newbie 13 02-22-2005 05:09 AM
a few newbie questions prosh0t Linux - Software 3 07-29-2004 11:04 PM
Newbie questions ashley75 Linux - General 2 09-15-2003 12:59 PM
Newbie Questions Bucolic Buffalo Linux - Newbie 4 01-08-2003 08:53 AM

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

All times are GMT -5. The time now is 06:33 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