LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to learn LINUX at the command line level (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-learn-linux-at-the-command-line-level-4175479347/)

mjoyner 10-02-2013 11:06 AM

how to learn LINUX at the command line level
 
My brother would like to learn linux at the command level. I suggested he try a Linux From Scratch approach first, to get a feel for the systems structure. When its go time, I informed him a lot of people I know who setup minimal server systems at the command level use FreeBSD and swear by its stability and up time. What do you think?

JWJones 10-02-2013 11:23 AM

If he's wanting to become proficient at the command line, he should consider installing something like Slackware, Debian, Gentoo, or hell, even an Ubuntu minimal netinstall, with no X, no GUI. And then use cli only for at least a month, if not longer. FreeBSD would be fine, too. Building from scratch with LFS is OK, I guess, but not necessary, or at least not yet.

Some good resources:

http://brunolinux.com/
http://www.tldp.org/
http://rute.2038bug.com/index.html.gz
http://www.linux-tutorial.info/
http://bash.cyberciti.biz/guide/Main_Page
http://www.collegeathome.com/blog/20...-50-resources/

frieza 10-02-2013 11:42 AM

i agree with jwjones, lfs is a bit of a stretch and to add on that imho should probably not be attempted UNLESS he is proficient with the command line, perhaps he could do an LFS install as a test of his proficience with the cli
as for how to become familiar with the command line, i would as jwjones suggested, do a cli only installation of linux and start there, another thing i would do is look at the contents of /bin /sbin /usr/sbin to get a list of programs installed, pick a program and run man 'program' to read the manual pages for said program.

JWJones 10-02-2013 11:50 AM

Quote:

Originally Posted by frieza (Post 5038696)
...pick a program and run man 'program' to read the manual pages for said program.

Yes, good advise. Definitely read man pages, the best way to familiarize yourself with the software. Learn bash and shell scripting, too.

Star Rat 10-02-2013 12:14 PM

I have a number of observations and suggestions

First of all, it is not necessary to install a new distro - if he already has a Linux box, then obviously *the command line works just fine in that distro*.

Secondly, learning to use the command line has a number of different aspects, with different goals and therefore learning requirements. For example, does your brother wish to :-
  • Learn shell scripting?
    Want to learn about the file system hierarchy, navigation and management?
    Perform some day-to-day tasks through the CLI?
    Wish to learn more about system housekeeping and administrative tasks?
    Become used to using the command line for tasks in general?
    etc.

mjoyner 10-02-2013 12:40 PM

My brothers background is MIS but was doing a lot of mainframe programming for banks till the BIG layoff of 2008. Heś been doing Windows maintenance/ trouble shooting part time for the past 5 years (windows is everywhere) but feels the need to move into the linux server area. He is not a complete newbie. But lives alone, has the time to learn with NO distractions at this time so...I figured if your gonna do the burn to learn, get your self involved all the way. The LFS was a way for him to go at it full bore till he got the system working (learning nuts and bolts along the way). I can see Gentoo as way also. (I once saw a newbie take Gentoo on for a full week circa 2004. I leant him a computer to do it. He called me 5 years later to thank me. Because of that experience, he now has a career in linux as computer science graduate. Go figure.)


I will pass on all the information provided here at the forum to him. You have all been very helpful and I really thank you for your time and consideration. Excellent responses, pure quality. Thank you.

mike joyner, UPR San Juan, Puerto Rico

TheShellWave 10-02-2013 04:45 PM

I would also recommend watching some video tutorials first just to get an idea what is ahead. I have some Linux command line video tutorial on my YouTube channel that might help. I also did some AS400 for banks, and DOS batch programming, so I would say that it will be easy for him to learn Linux CLI easily.

jefro 10-02-2013 05:39 PM

There are more than a few online ways to use a command like like bash. SuseStudio and JPC are easy.

Any live cd/dvd/usb is easy.

haertig 10-02-2013 07:10 PM

What to get good at the command line? "sudo rm -rf /etc/X11" and then reboot. That should do it! :eek:

LFS is a bit over the top. "Being good at the command line" does not necessarily equate to "compile every little thing from scratch". You better ALREADY be good at the command line before you even thing about LFS!

frankbell 10-02-2013 07:31 PM

Regarding LFS, you have to be familiar with the command line before you can deal with LFS. It starts from the command line with some really complicated commands. I'm working with it right now and one of the commands in the early part of the build is 550 characters long.

Also, the LFS book gives you the commands to use, but does not really explain the command line per se, though it does explain some of the arguments it tells you to use with the longer commands.

I would recommend Machtelt Garrels's Intro to Linux as a good place to start. It's detailed and thorough; it was invaluable to me when I started using Linux.

JWJones 10-02-2013 10:18 PM

Quote:

Originally Posted by haertig (Post 5038911)
What to get good at the command line? "sudo rm -rf /etc/X11" and then reboot. That should do it!

Now that's what I'm talkin' 'bout! :hattip:

kooru 10-03-2013 02:35 AM

LFS is not necessary.
Slackware is your answer ;)

JJJCR 10-03-2013 03:07 AM

to be familiar with Linux command line, is to do hands on if possible every day. Day in and Day out.

As time goes by, you will remember the commands by heart.

Try any distro, to know different flavors of Linux and just select which one you're more comfortable with.

just my 2 cents.

JJJCR 10-03-2013 03:10 AM

Quote:

Originally Posted by haertig (Post 5038911)
What to get good at the command line? "sudo rm -rf /etc/X11" and then reboot. That should do it! :eek:

Yeah this command is definitely good..After reboot, you will see yourself. The monitor will turn to a mirror. hahahah.. ;)

Any one dares to try?

onebuck 10-03-2013 06:09 AM

Member Response
 
Hi,

I like to provide these links for queries of this type;
Quote:

Just a few links to aid you to gaining some understanding. Sure some may seem beyond a newbie but you must start somewhere;



Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Utimate Linux Newbie Guide
LinuxSelfHelp
Bash Beginners Guide
Bash Reference Manual
Advanced Bash-Scripting Guide
Linux Home Networking



The above links and others can be found at '
Slackware-Links'. More than just SlackwareŽ links!
LDP above will provide more than enough information on a wide variety of topics for everyone. Rute is a great place to start as a tutorial. The rest of the links will help other areas for 'cli' aka 'command line'.

Personally, I feel LFS can provide the means to learn your way around a Gnu/Linux but if you do not under commands and the syntax you can get lost fast. LFS is nothing more than a cookbook. Do not forget locally or online 'man command' can help you to learn the command along with options & syntax. I like to use local 'man command' where 'command is the operation/script in question, i.e.;
Quote:

from 'man bash';
NAME
bash - GNU Bourne-Again SHell

SYNOPSIS
bash [options] [file]

COPYRIGHT
Bash is Copyright (C) 1989-2011 by the Free Software Foundation, Inc.

DESCRIPTION
Bash is an sh-compatible command language interpreter that executes commands read from the standard input or from a file. Bash also incorporates
useful features from the Korn and C shells (ksh and csh).

Bash is intended to be a conformant implementation of the Shell and Utilities portion of the IEEE POSIX specification (IEEE Standard 1003.1). Bash
can be configured to be POSIX-conformant by default.

I do prefer 'bash'!

Hope this helps.
:hattip:


All times are GMT -5. The time now is 04:24 AM.