Beginning SUSE Linux: From Novice to Professional

You might have followed the instructions in Part Two of this book and consider yourself an expert in Linux. But the real measure of a Linux user comes from his or her abilities at the shell.

In our modern age, the GUI is mistakenly considered "progress." We've been led to believe by companies like Microsoft and Apple that using a mouse and clicking on icons is always the most efficient way of using a computer. While it's handy in certain situations—it would be difficult to imagine image editing without a mouse, for example—in many other situations, such as when manipulating files, directly typing commands is far better.

Most modern Linux distributions prefer you to use the GUI to do nearly everything. This is because they acknowledge the dominance of Windows and realize they need to cater to mouse users who might not even know the shell exists. To this end, they provide GUI tools for just about every task you might wish to undertake. SUSE Linux is particularly strong in this regard, and you can configure virtually everything using the YaST2 program.

However, it's well worth developing at least some command-line shell skills, for a number of reasons:

Seen in this light, learning at least a handful of shell commands is vital to truly mastering your PC.

The drawback when using a command-line shell is that it's not entirely intuitive. Take the command to change the network card's IP address:

ifconfig eth0 192.168.0.15 up

If you've never used the shell before, it might as well be Sanskrit. What on Earth does ifconfig mean? And why is there the word up at the end?

Learning to use the shell involves learning terms like these. There are hundreds of commands available, but you really need to learn only around 10 or 20 for everyday use. The comparison with a new language is apt because, although you might think it daunting to learn new terminology, with a bit of practice, it will all become second nature. Once you've used a command a few times, you'll know how to use it in the future.

The main thing to realize is that the shell is your friend. It's there to help you get stuff done as quickly as possible. When you become familiar with it, you'll see that it is a beautiful concept. The shell is simple, elegant, and powerful.

Категории