LinuxQuestions.org
Help answer threads with 0 replies.
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 10-02-2013, 12:06 PM   #1
mjoyner
LQ Newbie
 
Registered: Jun 2013
Posts: 2

Rep: Reputation: Disabled
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?

Last edited by mjoyner; 10-02-2013 at 12:55 PM.
 
Old 10-02-2013, 12:23 PM   #2
JWJones
Member
 
Registered: Jun 2009
Location: Cascadia
Distribution: Slackware/Gentoo/CRUX/Void
Posts: 927

Rep: Reputation: 278Reputation: 278Reputation: 278
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/

Last edited by JWJones; 10-02-2013 at 12:24 PM.
 
Old 10-02-2013, 12:42 PM   #3
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,227

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
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.
 
Old 10-02-2013, 12:50 PM   #4
JWJones
Member
 
Registered: Jun 2009
Location: Cascadia
Distribution: Slackware/Gentoo/CRUX/Void
Posts: 927

Rep: Reputation: 278Reputation: 278Reputation: 278
Quote:
Originally Posted by frieza View Post
...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.
 
Old 10-02-2013, 01:14 PM   #5
Star Rat
LQ Newbie
 
Registered: Jan 2009
Distribution: Slackware 12.2 / Slackware 13.1 --no-kde
Posts: 12

Rep: Reputation: 3
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.
 
Old 10-02-2013, 01:40 PM   #6
mjoyner
LQ Newbie
 
Registered: Jun 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
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

Last edited by mjoyner; 10-03-2013 at 07:44 AM.
 
Old 10-02-2013, 05:45 PM   #7
TheShellWave
LQ Newbie
 
Registered: Sep 2013
Posts: 6

Rep: Reputation: Disabled
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.
 
Old 10-02-2013, 06:39 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 17,170

Rep: Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562Reputation: 2562
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.
 
Old 10-02-2013, 08:10 PM   #9
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian
Posts: 2,210

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

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!
 
Old 10-02-2013, 08:31 PM   #10
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,861
Blog Entries: 18

Rep: Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339Reputation: 3339
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.

Last edited by frankbell; 10-02-2013 at 08:33 PM.
 
Old 10-02-2013, 11:18 PM   #11
JWJones
Member
 
Registered: Jun 2009
Location: Cascadia
Distribution: Slackware/Gentoo/CRUX/Void
Posts: 927

Rep: Reputation: 278Reputation: 278Reputation: 278
Quote:
Originally Posted by haertig View Post
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!
 
Old 10-03-2013, 03:35 AM   #12
kooru
Senior Member
 
Registered: Sep 2012
Posts: 1,385

Rep: Reputation: 273Reputation: 273Reputation: 273
LFS is not necessary.
Slackware is your answer
 
1 members found this post helpful.
Old 10-03-2013, 04:07 AM   #13
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,371

Rep: Reputation: 240Reputation: 240Reputation: 240
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.
 
Old 10-03-2013, 04:10 AM   #14
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,371

Rep: Reputation: 240Reputation: 240Reputation: 240
Thumbs up

Quote:
Originally Posted by haertig View Post
What to get good at the command line? "sudo rm -rf /etc/X11" and then reboot. That should do it!
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?
 
Old 10-03-2013, 07:09 AM   #15
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 12,898
Blog Entries: 27

Rep: Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185
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.
 
1 members found this post helpful.
  


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
Learn Linux Command Line? kopper27 Linux - Newbie 7 04-13-2010 08:32 PM
LXer: Learn Linux, 101: The Linux command line LXer Syndicated Linux News 0 08-27-2009 11:50 PM
LXer: 4 Websites to Learn Cool Linux Command Line Tricks LXer Syndicated Linux News 0 02-19-2009 12:50 PM
LXer: Learn the Linux command line LXer Syndicated Linux News 0 07-25-2007 06:31 PM
Best way to learn Linux from the command line patpawlowski Linux - General 2 03-01-2004 04:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:50 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