New Linux User

Discussion in 'The Bench' started by Truzi, Jun 2, 2003.

  1. Truzi

    Truzi Perpetual Student

    I finally joined the ranks of Linux users last week, with Redhat 7.3. Then quickly upgraded to 9.

    Its great, everything I thought it would be. I'm enjoying learning it, but its been a while since I've felt clueless about an OS. :grin:

    I know we have some Linux users on this board. Any suggestions?
     
  2. potopaj

    potopaj Well-Known Member

    welcome to the darkside.

    What do you need help with?

    if you know the comands ls, cd, pwd, and man you can do about anything.

    The major thing to do first if it's on the internet is make sure it's secure.

    do a netstat -an|grep LIS to see if anything is listening. if it is you will have to turn it off. lemme know if you need any help with that, as getting hacked will screw up your day pretty quick.

    Other than that, putz and have fun.
     
  3. Truzi

    Truzi Perpetual Student

    Security should be set to high from the install, but I'll check with netstat. I've been running Tiny Personal Firewall 2.015A on Windows 2000, and would like to be sure Linux is doing at least as good a job.

    In the list I get from netstat, how do I figure out what should and should not be listening? Also, how do I shut them off?

    Not in need of too much help yet; just playing around and seeing what it can do. This has just about everything you could ever need - for free. I've always prefered Linux conceptually (without ever using it), it just took me a few years to actually go ahead and install it.

    So far I've managed to read my NTFS drives and get them to mount on boot. I've also learned the difference between ls and dir. CD is an old holdover from when I knew DOS. Is PWD password?

    Of course I had to get Seti@Home and Mozilla Firebird. Licq and gaim are nice. I can't seem to get gnomemeeting to stay connected to Netmeeting for more than a second.

    When I set my resolution above 800 x 600 (ASUS 6800 gforce) everything is fine until I reboot - then I get stuck in a loop where it keeps trying to start xwindows.

    I used WINE in Redhat 7.3, but decided to move to 9 before I got used to Linux. Unfortunately, the 9 library is different. I'm sure its backward-compatible, and some people have managed to get it to work, but the commands and compiling are out of my league at the moment.

    (And I've kept my Windows 2000 installation. I installed Linux on an old HD I cannibalized from an old machine.)
     
  4. Nitro71455

    Nitro71455 Procharged 455 boost baby

    PWD = present working directory. It give you the output of were you currently are located in the file structure.
     
  5. potopaj

    potopaj Well-Known Member

    In terms of the security thing if you e-mail/pm me the output of the netstat command i will let you know what to do. that would not be prudent to post in a public forum.

    Are you planning on running a web page/mail server/or any other server off of this? If so I can point you into some safe ways of doing that as well.

    Good luck.
     
  6. CyberBuick

    CyberBuick What she used to be....

    Truzi:

    cd /
    touch netstatfile
    netstat -an > netstatfile

    email the file.. why type everything ? :TU:

    I'll help ya out too if ya need it, I'm not much of a fan of Linux but much prefer BSD. Many things similar command wise..

    You should learn: ls, cd, du, df, pico, man. Learning grep and awk are good too, but not a requirement for most.

    touch = creates an empy file. pico = simple editor.

    If you ever find yourself at a loss for what a command does, type: man command. MANual pages..

    If you remember the dos days, the learning curve will be shorter then normal. Ashame nobody seems to remember those days, even if they were there back then... :(

    For XWindows, peck around the ini files with pico, or easier yet, use the more command. The more command does the same thing as type file |more did on dos... You can also use the cat command on short files as it'll spew the entire file at once on yer screen.

    You don't 'have' to know the pwd command if you edit your shells ini.. You can make your prompt show your current directory, as well as anything else you want.

    I'll stop for now... :)

    Have Fun!
     
  7. skyphix

    skyphix Well-Known Member

    Once you get your legs with installing and using Linux, try some other distrobutions (my personal fav is Debian... which is a bit more difficult to install, but not really if you take your time and explore everything).

    Listen to CyberBuick, he knows what he's doing.

    I've been using Linux for approx 5 years, I can answer some/most questions if you have any :grin:

    I cut my teeth on DOS, and found something better.
     
  8. Truzi

    Truzi Perpetual Student

    Thanx, I'll get the output soon so I can shut stuff down. I don't intend to run a server at this point in time, though might like a simple ftp so I can access files when I'm not at my own machine.

    Ah, pwd seems the same as dirs.

    Redhat seems a good way to get my feet wet. I think in 6 - 12 months I'll probably try to do it all from scratch. Right now I have to get used to the fact that so many files have no extension, and I have to figure out how to associate files with programs so I can double-click (I tend to drag URLs to my desktop - bad habit, but I like it).

    Odd thing - I used the Redhat network to upgrade the kernel, and now my GRUB shows 3 OSes to boot from, instead of just linux and win2k, LOL.
     
  9. CyberBuick

    CyberBuick What she used to be....

    I'm here to help.. :Comp:

    Okay.. Hard knocks lesson #1... Under *Nix, *Everything* is treated as a File... More on the advantages of that later...

    ls -laG (options i like).. Look at the DRWXRWXRWX line.. Learn this... D = Directory (will also be colored with the above options), L = Link (will also be colored with above option, is also listed in lue of D), RWX (Read, Write, Execute), there's 3 sets of these which correspond to Owner, Group, World. Listed next to the filename will be something like: root wheel filename.. That's BSD groups, Linux is different but the idea is the same. ROOT = Username of Owner. Wheel Group Member.

    So, a file that has -rwx--x--- root wheel filename
    Means: Root has full Read, Write and Execute Permissions, The Group Wheel (members of the group that is) have Execute Permissions, and World has Zero permissions.

    Now, if you intend in making files and editing stuff, perhaps setting up a webserver or such, you'll need to learn CHMOD.

    A quick example. A file with -rwx------ and you want it world readable, issue: chmod 704 filename.

    Now you're thinking, "Numbers??".. Well, you could spell it out, but numbers is easier... 4 = Read, 2 = Write, 1 = Execute.

    Enough with the hard to process (mentally that is) stuff.. You'll also want to learn the LN command.. LN -S creates a Sym Link. Huh? You're thinking.. A SymLink is like a Shortcut in windows to put it simply..

    pwd
    /usr/home/me

    ls

    drwx------ me wheel directory1
    lrwx------- me wheel directory2 -> /var/spool/weblogs

    So, above we have one standard directory, and one symlink which points to the real location.

    cd directory2

    pwd
    /var/spool/weblogs

    More understandable?

    Gotta love *nix man.. :bglasses:

    One more before I head to bed.. Everything treated as a file, why it's nice... Take a look at the CP and MV commands for simplicity..

    mv /usr/home/me /me (will move the entire structure to /me)
    cp /usr/home/me /me (will copy the structure to /me)

    Back in the dos days that lil task took more effort then that.. :gt:

    Regarding GRUB, you should be able to edit the ini file to suite you then have it reinitialize itself with the new parameters. Odds are it kept the original kernel as an option and added the new one..

    Last one.. mkdir = make directory.. same concept as touch, only for directories instead of files..

    Process Slowly & Enjoy!
     

Share This Page