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.
- 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?
- 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.
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 :-)
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?
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.