Comments and Resources

For our money, Python is far cleaner, more readable, and easier to write. Others may not agree. Perl shares a lot of conventions with shell and awk, and handles regular expressions in a very neat way. Perl, being older and having a larger user base, has a wider variety of modules available and a wonderful automated system for getting and installing them — the Comprehensive Perl Archive Network (CPAN), which enables you to get and install modules with a single command.

Python Resources

If you are interested in pursuing scripting in Python, take a look at the following web sites:

You can also check out the information available in the /usr/share/doc/packages/python directory.

Additionally, you could consult the following books on the subject:

■ Beginning Python by Peter C Norton, et al (Wiley, 2005)

■ Making Use of Python by Rashi Gupta (Wiley, 2002)

■ Python Essential Reference (3rd edition) by David Beazley (Sams, 2006)

■ Learning Python (3rd edition) by Mark Lutz and David Ascher (O'Reilly, 2007)

■ Programming Python (3rd edition) by Mark Lutz (O'Reilly, 2006)

Perl Resources

If you prefer to look into Perl, take a look at the following web sites:

CPAN is a searchable site full of modules that add functionality to your Perl installation. But better still, you can download and install modules from CPAN with a single command, provided you know the names of the modules.

Information is also available in the directory /usr/share/doc/packages/perl*.

You can also use perldoc to get more information on Perl. For example, you can type perldoc Date::Calc to see documentation for the module we used in the example.

Finally, you can find a number of books on Perl including the following:

■ Perl For Dummies by Paul Hoffman (Wiley, 2003)

■ Perl Weekend Crash Course by Joe Merlino (Wiley, 2001)

■ Beginning Perl by James Lee, Simon Cozens and Peter Wainwright (Apress, 2004)

■ Learning Perl (4th edition) by Randal L. Schwartz, Tom Phoenix and Brian D. Foy (O'Reilly, 2005)

■ Programming Perl by Larry Wall, Tom Christiansen, and Jon Orwant (O'Reilly, 2000)

If some of the tools in this chapter were new to you, don't regard this simply as a reference to them that you will come back to in due course when you need them. Regard it more as an invitation to play. Set up a system that doesn't matter or a virtual machine using VMware, Xen, or QEMU and experiment with some of the more potentially destructive tools. Try doing some willful damage to that system and try repairing it. This experience will be invaluable when the time comes that you need it.

If you have not worked with shell scripting or with scripting languages, take the introductions here as a starting point, and, making use of some of the resources listed, try out a few ideas with those, too.

Utilizing Linux in a networked environment, whether it is serving data or providing a service, is the main driving force for the operating system into the enterprise market. When you install SUSE, you are given the option to configure your network during system configuration. In this chapter, we delve into configuring the network using the command-line tools. Knowing how to use the tools directly as opposed to using the SUSE management tools can be a very good way to learn how your system works.

I ¡J'Tw?"-.'^"^?* We talked about configuring your network in

-r,Chapter 1. The network configuration after SUSE has been installed is exactly the same as the network configuration during installation. See Chapter 9 for more information on how to access your network configuration using the YaST tool.

Also, in this chapter we talk about ping and traceroute, which you can use to make life just that little bit easier when troubleshooting your network.


Configuring an IP network

Address Resolution Protocol

Working with IPX networks

Using networking tools

Troubleshooting your network

Setting up wireless networking and Bluetooth

Finally, configuring your network when you use a wire-based network card is quite different from a wireless network card, and we discuss this issue in this chapter. And with Linux having support for Bluetooth, we discuss its uses and the applications that are available to set up and pair with your Bluetooth devices.

Was this article helpful?

0 0

Post a comment