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.
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
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
More interesting examples?
Caution!! Remove files with command lines do not moves your file to recycle bin, it will be removed instantly.
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
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.