Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-03-2006, 06:09 PM   #1
LQ Newbie
Registered: Feb 2006
Posts: 4

Rep: Reputation: 0
How do I learn command line interface?

I am about to purchase and install Linux on a new laptop. I have unfortunately been using GUIs most of my adult life and I have no idea how to use a CLI. I'm having trouble finding basic (Read: intended for boneheads) tutorials on the web. Does anyone know of any "bash" tutorials which might apply the best to the general situation of installing and tweaking Linux? I figure such knowledge will deepen my experience and knowledge of computers in general and Linux in particular, a good enough method of breaking away from Windows addiction.
Old 03-03-2006, 06:16 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 269Reputation: 269Reputation: 269
Old 03-03-2006, 06:20 PM   #3
Registered: Oct 2005
Posts: 162

Rep: Reputation: 30
A great reference is the "man pages". Type "man bash" and the command-line and it will display useful information regarding that command. Also, you can type "man command" to display information regarding that command.
Old 03-03-2006, 07:26 PM   #4
Registered: Jul 2005
Location: Florida
Distribution: DebianSarge;UbuntuDapper
Posts: 34
Blog Entries: 4

Rep: Reputation: 15

Get Rute...

The very basics;

Last edited by Khepri; 03-03-2006 at 07:27 PM.
Old 03-03-2006, 07:51 PM   #5
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 735Reputation: 735Reputation: 735Reputation: 735Reputation: 735Reputation: 735Reputation: 735
Get a copy of "Bash Guide for Beginners" at

BUT: Here is a suggested way of learning the CLI in stages:

Open a terminal--it will start in your "home" directory
Type "ls"---this will list all the files and directories in your home folder
Type "cd", followed by the name of any directory that is showing (d at the beginning of the ls entry) Now you see the contents of that directory
Type "cd" to get back home
type "mkdir stuff" to make a new directory
pick any of the files in your home directory (ls again if you need to)
Type "cp filename stuff/"
Type "cd stuff"
Type "ls"---now you should see the file you just copied to the "stuff" folder.

You now know more about the command line than 90% of the planet....

NOW, look at the man pages for the commands you just used, eg: "man ls" This will show you all of the syntax and options available. Try some...

Next, type "info coreutils" This gives you a terse intro to some of the most basic bash commands. Again, try some....

NOW--arm yourself with beverage, pipe, slippers--other accessories--and start reading the Bash guide.

Allocate equal time to reading and doing and you will learn a lot very quickly.


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
How to get back into command line interface bonniehandi Linux - Newbie 1 11-19-2005 01:07 AM
cdrecord - command line interface satimis Linux - General 5 05-24-2005 08:15 PM
Command line through a web interface tangle Linux - Software 2 01-13-2005 03:54 PM
Best way to learn Linux from the command line patpawlowski Linux - General 2 03-01-2004 04:37 PM
Can't get from command line interface to GUI dphildebrand Linux - Newbie 3 12-03-2003 02:51 PM

All times are GMT -5. The time now is 12:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration