command line tutorial for beginners
October 6th, 2007 mysurface Posted in Beginners | Hits: 48515 | 3 Comments »
Linux by examples initial goal is to ease the learning process for Linux beginner users. We have now advanced away from explaining command line by examples. We now plan to go back to basics and this posting will concentrate on assisting the new comers
Linux seems to drag more attention compare to pass few years back. For that Ubuntu have done a great job to improves the user friendliness of the GNU/Linux operating system, that makes using Ubuntu Linux have no different from using Windows XP or Mac OS. Compiz and Beryl provides a way to turns your Linux Desktop into a very fancy 3D desktop, where a lots of people who wants to try out Linux is because of this.
But people have forgotten that the power of GNU/Linux system is command line, which provides you a different ways of communicating with your system. You may discover that every single GUI is actually a command where you can issue from the console/virtual terminal. For example, gaim is a GUI application like ICQ, MSN messenger, but if you can runs it from the console and asking whats command alternatives options it provides.
gaim --help
Pidgin 2.0.0beta7devel
Usage: gaim [OPTION]...
-c, --config=DIR use DIR for config files
-d, --debug print debugging messages to stdout
-h, --help display this help and exit
-n, --nologin don't automatically login
-l, --login[=NAME] automatically login (optional argument NAME specifies
account(s) to use, separated by commas)
-v, --version display the current version and exit
The outcome tells you that, you can run gaim with different config, you can open gaim without automatically login etc. By clicking the gaim icon in menu bar, you can’t specified the additional options at the same time.
To know more about what “command line” is, you can read up Freesoftware Magazine’s articles.
Articles or lesson servers as an introduction for you, to actually learn up, you have to try it by yourself. Below are the list of our previous post that covers simple command line with simple examples.
Simple listing file examples with ls:
cat allows you to print out your text files to the output display, just
cat mytext.txt
But cat capable of doing more, by combine with other commands
To check out the type of a file, you can use file, Check the file type
To read a text file, or some long outcomes of command line, less provides features such as search capabilities, etc.
Linux manuals are helpful for you to check for command usage. To check out the manual, simple use man command.
Remove file with command rm, just
rm filename
More interesting examples?
Caution!! Remove files with command lines do not moves your file to recycle bin, it will be removed instantly.
Download files from the internet, you can use wget, wget, a powerful downloader and more examples.
If you are using debian based Linux, such as Ubuntu, the package manager apt-get is the best command you should try out, apt-get – The best package handling utility for debian based distro
ps, a process list command that list all the process that currently running on your system. Usually we do
ps aux
But, ps capable of doing more, one of my favorite post, Monitor custom programs with ps and watch
Two CLI-Magic that improves your experience on command line interface that you must try out
vi or vim is a good editor while working in console, Ubuntu encourage nano, because it is simple and straight forward, but if you wanna have better experience on editing in console, take sometimes and learn up vim.
We have ton’s of tips regarding vi and vim. If you haven’t tried vim, check out VIM Tip 0
Once you have use it for more and more, you can check out more tips from
p.s. vim and vi categories consist of more than one pages, click previous entries for more.







January 20th, 2011 at 1:14 pm
I’d need to verify with you right here. Which is not a little something I ordinarily do! I take pleasure in reading a publish that will make people today think. Also, thanks for allowing me to comment!
January 21st, 2011 at 5:53 am
Aw, this was a actually nice post. In plan I’d prefer to put in writing like this additionally – taking time and real work to generate an excellent article… but what can I say… I procrastinate alot and by no means appear to get anything carried out.
April 29th, 2013 at 9:03 am
Nice Post.
After getting linux installation tutorial from Techflirt Linux Tutorial for beginner
I came here and get good points