View Full Version : [ubuntu] New to Ubuntu learning the command line any suggestions.

July 29th, 2008, 01:14 AM
Can anyone give me some advice about Ubuntu.

July 29th, 2008, 01:16 AM
General Help - https://help.ubuntu.com/

Command Line - https://help.ubuntu.com/8.04/basic-commands/C/

July 29th, 2008, 01:18 AM
I am also new and I don't have any suggestions besides making your root password shorter because you will be typing it in often. I have been having troubles finding good learning resources to learn linux from scratch. I am tempted to go get a book from the library. Maybe that is what you should do.

July 29th, 2008, 01:18 AM
try http://linuxcommand.org

hope that helps,

July 29th, 2008, 01:21 AM
As you can see, many online resources for to use as learning material.

July 29th, 2008, 01:23 AM
Can anyone give me some advice about Ubuntu.
thank you!

July 29th, 2008, 01:31 AM
The first few weeks you use Ubuntu, set the "New Posts" section as your homepage. If something pops up that catches your eye, investigate. I have learned volumes of commands simply by watching the pros here toss them around. I wouldn't necessarily have a need to go looking for such commands as "cat" when I can use an editor or "ls" when I remembered "dir" from Windows. But mere imersion will do you some good.

July 29th, 2008, 01:43 AM
Hopefully you wont have to need the command line most of the time in Ubuntu, I only open up a terminal once every so often myself.

July 29th, 2008, 01:43 AM
I am also new and I don't have any suggestions besides making your root password shorter because you will be typing it in often.

Not such good advice, security-wise - as a root password gives full access and complete control of your system, it makes sense for the password to be STRONG -ie not short, and not a word you'll find in the dictionary. Believe me, it doesn't take much longer to type in a 16-letter password than an 8-letter word.

July 29th, 2008, 02:08 AM
I have been using Ubuntu for a little over a year. There IS a learning curve, so do not be discouraged.

For openers, go here


This site is maintained by an Ubuntu user who is active on these forums. The site itself was a terrific resource for me and I still consult it.

On the Forum go regularly to Other Community Discussions\Tutorials & Tips. For example, look for Heliode's HowTo on how to back up your Linux system. It really is invaluable.

Too many books cost too much for too little, but some are useful. If you are new to Linux try Brian Ward's How Linux Works. This is independent of any distribution and very well laid out.

Christopher Negus and Francois Caen did Ubuntu Linux Toolbox. This will add to your Ubuntu knowledge in a very organized way, especially if you build from Ward.

Your Ubuntu distribution includes a very nice tutorial on a classic Unix/Linux editor known as Vi or Vim. Open your terminal and type "vimtutor" at the prompt. You will enjoy it and you will find Vim quite useful, in fact. For Windows users this is the fastest ticket to getting over fear of the command line.

Enjoying Vim? OK, try Linda Lamb and Arnold Robbins, Learning the Vi Editor.

Are you a photographer? GIMP is a powerhouse but hardly transparent. I have used Akkana Peck's Beginning GIMP: From Novice to Professional. It really is quite good.

And do not forget the "Community Documents" section on the Ubuntu website. Lot's of good material there!

Finally prowl the forum regularly for all manner of interesting tips and solutions.

Finally let me reinforce t0p when that person emphasizes using a strong password. The security of your Linux system rests on that password.

Hope this helps!

July 29th, 2008, 05:33 AM
Hopefully you wont have to need the command line most of the time in Ubuntu, I only open up a terminal once every so often myself.

To each his own! My GUI desktop serves only as a canvas to hold four or five terminal sessions. :)

July 29th, 2008, 06:10 AM
Best way to learn in my opinion is to just play with it! As long as you are carefull with sudo and other "dangerous" commands, you can't mess too much up. You may also want to check out the manpages.

July 29th, 2008, 06:42 AM
Lots of good advice here!

I found a reference card that comes in handy. My wife has laminated it for me so I can have it on my desk until I don't need it any more. :)

http://people.debian.org/~debacle/refcard/ (http://people.debian.org/%7Edebacle/refcard/)

July 29th, 2008, 01:24 PM
The slackbook is pretty good for learning linux and its free. Of course it deals with Slackware so there will be differences but its solid.

If you want to learn the command line I would recommend learning vi and ksh because they should be available on any unix-like system. bash (Ubuntu's default shell) is very good too and available on most systems (probably all GNU/Linux systems) so it is not a bad shell to learn either. bash will probably eventually take over as the standard on all unix systems but that will be some time down the road. Either would be a perfectly suitable choice.
vi is very odd at first so find a quick tutorial and read it before trying it out. Its takes a good amount of effort just to get started (it has 2 modes and starts you in the mode where you can't type which is frustrating at first but very nice once you actually start using it) so don't get discouraged. Its a very powerful tool and IMO the best text editor for the command line. Others like emacs and although I find it difficult to use I don't want to leave it out. Nano and Pico are also pretty good and very easy to learn although they are less powerful.

July 29th, 2008, 02:18 PM
A good tip, I think, is this: Whenever you copy & paste commands that you may find on this forum or other places first try to understand what the command is going to do. You may not get it initially but you will start to see patterns.

Also, check the man page for any new command you come across, e.g.

man ls

(Also breaking things is a really great way of learning...)

July 29th, 2008, 02:21 PM
My best known thread for a newbie


July 29th, 2008, 02:22 PM
This is where I started from about two weeks ago:


This is one i refer my newly converted friends to: