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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
then i add the line, hit escape, hit colon, and type wq or any one of the other commands i have here on my list and they all tell me that i cant write to the file. It was opened for read only
but last time i started it up it no longet said [dasoberdick@Knoppix dasoberdick]
and i did not get the warning message at the GUI boot i mentioned earler. It aslo said [dasoberdick@Localhosts dasoberdick]
Then i had to reboot again cause im still getting the proble of the shell not wanting to reload after i decide to close it, and it said [dasoberdick@knoppix again.
You'll need to edit the hosts file as root, from the command line do 'su -' (no quotes) and give the root password, then try again. BTW you might find nano or pico a bit easier to work with in the text editing department, but if you want to start off with vi, more power to you .
For what it's work, I have one of those all-in-one Vaio desktop units (love it) and was unable to run a "live distro" that boots from a CD. The machine just locked up at some point.
I saw on some web page some fellow who was very proud to have (finally) gotten his Vaio laptop top run Linux. I suspect that the Sony hardware is simply too proprietary for easy installs. The same live distros (and mandrake 10) installed great on an "old" 433 mHz box somebody gave me. And that was a stock eMachine with very generic parts.
Yeah i hear that vi is a bit of a pain. It looks and feels very similar to the GVIM editor i use to do my C homework. Any relation? How do i use nano or pico? Same concept as vi, just type nano ...... or pico .......? What makes them easier?
And what does it mean when it says i have new mail in a folder? But i cant remember what folder it said. That showed up after i pinged google and the IP
To get your DNS working, as I said above, you're going to have to figure out what your DNS server(s) is/are and add them to /etc/resolv.conf -- your University IT staff can give you this information -- ask them for the IP addresses of your DNS servers.
Pretty much any editor with "VI" somewhere in its name is related to vi. A lot of people find nano and pico easier because they don't have separate editing and command modes. You just type your text and the type control sequences (generally CTRL + another character) to givecommands such as "save" to the editor. I guess a lot of people just find this slightly more intuitive, but if you're used to the vi way, that's good. Of course, real men use ed, which is a line editor that makes vi look very user friendly in comparison.
The "you have new mail" message is just what it sounds like -- there's new mail for you in your mail spool (probably /var/spool/mail/<username>). The system sends mail to the root user on occasion. You can read it with pine or mutt, if you have them installed. Otherwise you can use the good old fashioned mail program, which isn't user friendly but will get the job done. Just type the name of the program -- it will open your mail spool and display messages for you.
I already used "cat /etc/resolv.conf" to resolve the DNS servers. I guess thats not the same as finding out their IP address'. Is there a way for me to do that with knoppix? I understood that i had new mail, i just wasnt sure where it would come from and what it would be. Im guessing thats its not an add for penis enlargment or where to buy vallium on the internet. Something more like one address in my computer sending mail to another address?
when you tell me to use pine or mutt:
go into the root user and type pine /var/spool/mail/dasoberdick(or 'knoppix' depending on what mood my machine is in lol
If it's root that had the new mail (it probably is since the system sends mail to root) you can beome root and the just type 'pine' (it knows where your mail spool is). The mail will probably be something boring yet important like a summary of events recorded in the system logs.
Cat just shows you the contents of a file. You need to actually add your DNS servers to the /etc/resolv.conf file. Since your DHCP apparently did not give you the names of your nameservers, you need to figure them out for yourself. You University network staff will know what they are and you should check any documentation that they gave you.
Originally posted by dasoberdick SUCCESS!!!! kinda. I was able to edit that file but im still not able to ping the DNS or www.google.com
when you make changes to files such as /etc/hosts, don't you need to restart something like a service or the device eth0? it's been too long since i've even touched my server and i can't remember these things. i hate to say you have to restart the whole machine because that is a windowz thing