LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-02-2006, 02:46 PM   #1
LarryFrigginWachs
Member
 
Registered: Dec 2005
Posts: 31

Rep: Reputation: 15
Question Can someone suggest a path


OK I have been blundering my way thru Linux for a few months. I love it, but I feel stupid a lot.
Can anyone recommend a path, a book, a course, a "best way" to become proficient....I know that actually using the system, making mistakes etc, is great learning, but I would like to know how gurus become gurus. (I am too old to go back to 4 year school). I mean, I need the crash course.


Thanks,
LFW
 
Old 05-02-2006, 02:56 PM   #2
johndoe0028
Member
 
Registered: Jun 2005
Location: CA, USA
Distribution: Gentoo
Posts: 165

Rep: Reputation: 30
What I did was I nuked my Windows, and just stuck with it for several months. THe best way to learn, as you said, is to use it.

To speed up learning, I guess you could try more "advanced" distros.
 
Old 05-02-2006, 03:02 PM   #3
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Slackware is a pure linux distro which will give you a good understanding of how the nuts and bolts work in linux. It takes a little while to get used to it, but once you do the linux knowledge you gain can be applied to just about any other distro.

regards,
...drkstr
 
Old 05-02-2006, 03:16 PM   #4
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,477

Rep: Reputation: 51
Hi

If you are anything like me, reading how to do something just doesn't sink in well at all. I have tried Linux a number of times since 1997, and always went back to Windows because I just could learn it. This time, I have been at it for over a year consistently, and while I am still learning, this is what has finally worked for me:

1. Learn where things are in Linux. For example, if your mouse scroll wheel is not working, find the file which holds it configuration (xorg.conf). If you want to know if a library is installed, learn where they are stored. Learn where to find things, and what to do with them seems to come more rapidly.

2. Try a project like compliling a new kernel on a machine that is not critical to you. If you screw up and it won't boot, you keep trying until it does. Beat the frustration and temptation to just throw in the towel.

3. Get an easy to read reference book (Linux for Dummies is a good one). While learning might not come easy from a book (for me, at least), having it available as a reference has helped me.

4. Use Linux exclusively for everything. One of the reasons I never stuck with Linux is because I would "play" with Linux, but do all of my serious work in Windows. Now, evern though I still have XP on my machine, I very rarely boot into it, and even then it is just to print out an old file or something. ALL of my serious work is done in Linux.

5. Add another Linux distro to your machine. I have two distros, and four versions of Fedora on my machine, as well as windows. This allows me to "experiment" how different distros handle the same project.

I know I won't go back to Windows now and I am enjoying learning more and more about Linux. And, as I am sure you are experiencing as well, this forum makes all the difference. I, for one, am glad we have this resource.

Just my thoughts.

Bob
 
Old 05-02-2006, 06:47 PM   #5
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Excellent advice Mr. Nutfield. Learning the core Linux concepts and then putting them to practical use is truly the best way to learn Linux. I would like to add on to your idea and list a few more things that helped me be more comfortable with Linux.

The biggest thing I can think of off the top of my head, is learning how to read and interpret error messages. When something goes wrong, chances are it will tell you why. Use Shift+PgUp to scroll up in the terminal and read everything the messages says. If you see a “file not found” or “XXX not defined” then chances are you are missing a required library dependency. Just look it up online to find out what needs to be installed to fix it. If you can’t figure it out, you can always ask on LQ.

But us bob said early, it’s all about location, location, location. Sometimes you are sure you installed a dependency but it still gives you the error. Check to see where you installed it and where the program causing the error is trying to look for it. Find out the difference between /usr and /usr/local, figure out what’s in /usr/lib or /usr/share. Figure out where all of your configuration and startup files are and what they do.

The key with Linux is to not learn everything about it, but learn how to find the information you need to solve the problem.

Regards,
…drkstr
 
Old 05-03-2006, 12:14 AM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
This is highly recommended
http://rute.2038bug.com/index.html.gz
also these
http://www.linuxcommand.org/
http://www.faqs.org/docs/bashman/bashref.html#SEC_Top
http://www.usc.edu/~lhl/tutorials/unix/
but as mentioned above, actually trying things is what makes it stick in the mind...
 
Old 05-03-2006, 02:04 AM   #7
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,840

Rep: Reputation: 260Reputation: 260Reputation: 260
Here are some things I wish someone would have told me.

Directories:

/bin

basic nuts and bolts linux commands

/boot

stuff to boot like the kernel, initrd (ram drive), grub (boot loader)

/dev

Special files called "character devices" and "block devices" These are all the hardware devices. You use mknod to make devices. Linux usually makes the devices you will need, plus a lot more.

/etc

text based configuration files. All the services are in /etc/init.d You usually want to start, stop, or restart a service. If you have to restart the ntpd service:

cd /etc/init.d sh ntpd restart

In linux you can put multiple commands on one line.

/home

This is where all people's junk goes. Everything personally to do with any user goes in here.

/lib

A lot of important libraries are here, and there is the /lib/modules subdirectory symlink to /usr/src/linux that is helpful in building initrd images.

/media

these are regular old directories, but they are mount points for media devices like CD/DVD players and floppy. When you put in a floppy it isn't mounted. You launch a shell and type:

mount fd0

or

mount /media/floppy

then you can go to /media/floppy and all the files on the floppy will be there. All your mount points are in a file called /etc/fstab. Look in that file.

/mnt

mount points of remote drives, usb drives, network drives

/opt

different distros put different things here. KDE and Gnome are sometimes in /opt.

/proc

This directory is filled with process information. You can look at a file in this directory with:

dd if=/proc/file | hexdump -C | less

/root

This is the root user's home

/sbin

Administrative programs usually not available from a user prompt - must be root. Switch to root with:

su

/srv

Don't worry about that directory.

/sys

Very basic level hardware files

/tmp

temp

/usr

All the good stuff. /usr/bin = user programs /usr/src = kernel stuff /usr/lib = many libraries /usr/share = documents and stuff. I'll give you a tip: If you ever try to install a program that needs a library (a .so file), and you have a later version of the library on your machine, which you can tell by looking in /usr/lib, make a symlink to the newer library with the numbers you need. But, there are many symlinks in /usr/lib, so use:

ls -la | less

to view the contents of that directory. Less is my favorite editor, except that it doesn't do any editing. That tells you which files are symlinks by the arrow next to some on the filenames. Make sure you make your link to a real file and not a symlink, like this:

cd /usr/lib
ln -s library.500.so.6 library.5.so.6

Some programs are really picky about which libraries they will use. If the numbers are close, just make the link to a name the install will like.

/var

Logs are in /var/log

Do this from a root shell:

updatedb

Now you have an index of all filenames on all your drives.

with this you can find every file with some letters in the name:

locate filexy

everything with those letters anywhere in the whole path will come up on the screen. This is incredibly useful for finding files.

use this to find out about a command:

man <command>

this will give you the manual page for all the commands, one at a time. Like:

man grep

will show you how to use grep.
 
Old 05-03-2006, 06:13 AM   #8
j3ns
LQ Newbie
 
Registered: Apr 2006
Location: Iceland
Distribution: Debian Sarge
Posts: 1
Blog Entries: 1

Rep: Reputation: 0
Thanks, AwesomeMachine, this was really helpful!!!
 
Old 05-03-2006, 06:46 AM   #9
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
I got an Oreilly cookbook on linux admin, and one on security, whilst not a comprehensive insight, they give good tips, and some commands, you can then explore these commands, combine them etc. and go from there. Google was also a great help, so is having a running system to test things on. To be honest i learn most things from trwaling these forums, it's quite interesting to see what others are trying to achieve, and the fixes. Also amazing how many people want to achieve the exact thing you do.

I run Arch now which leads to a fair amount of reading and helps alot
 
Old 05-03-2006, 09:42 AM   #10
geeman2.0
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
I found the lnag to be highly useful (linux newbie administrator guide).
http://linux-newbie.sunsite.dk/html/lnag.html

I read the whole thing when I was bored.
 
Old 05-03-2006, 10:07 AM   #11
ioerror
Member
 
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 30
Not forgetting TLDP. Lots of HOWTOs, guides, etc, though most distros include the HOWTOs anyway. The SAG covers basic administration.

I learnt Linux by installing it, playing with it, and reading the howtos, man pages, and the odd magazine (that's about all I could read as I had no internet connection).

Last edited by ioerror; 05-03-2006 at 10:10 AM.
 
Old 05-03-2006, 11:05 AM   #12
muha
Member
 
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 37
Try the bookmarks section: http://bookmarks.linuxquestions.org/
 
Old 05-03-2006, 02:46 PM   #13
LarryFrigginWachs
Member
 
Registered: Dec 2005
Posts: 31

Original Poster
Rep: Reputation: 15
Thanks everyone for your helpful responses.
 
  


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
Image Path reference in Linux (Absolute path) javabuddy Linux - General 7 06-05-2006 08:45 AM
script to change unix path to windows path in all files csross Programming 8 04-29-2006 02:05 PM
Why is the value of $PATH in console mode different from the $PATH in xterm emulator? Akhran Debian 9 03-09-2006 07:10 PM
Apache path and kde path questions darkraider Debian 1 11-12-2005 06:07 AM
How to Chnage Python's module search path (sys.path)? lramos85 Linux - Software 1 05-02-2004 07:10 PM


All times are GMT -5. The time now is 11:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration