UNIX has a dialect all its own, and its vocabulary of commands is quite
large. But you don't have to learn everything all at once. Here, discover more
command-line combinations and expand your mastery of the UNIX language.
Use OpenSSH to provide a secure environment for running a remote terminal.
The basics of OpenSSH and terminal usage are quite simple but, in this
article, examine additional elements that allow automatic login to remote
hosts, methods for running remote applications, and how to securely copy files
between hosts.
Adopt 10 good habits that improve your UNIX command line efficiency --
and break away from bad usage patterns in the process. This article takes you
step-by-step through several good, but too often neglected, techniques for
command-line operations. Learn about common errors and how to overcome them,
so you can learn exactly why these UNIX habits are worth picking up.
When writing a shell program, you often come across some special situation
that you'd like to handle automatically. This tutorial includes examples of
such situations from small Bourne shell scripts. These situations include base
conversion from one string to another (decimal to hex, hex to decimal, decimal
to octal, and so on), reading the keyboard while in a piped loop, subshell
execution, inline input, executing a command once for each file in a
directory, and multiple ways to construct a continuous loop. Part 4 of this
series wraps up with a collection of shell one-liners that perform useful
functions.
This free tool gives you a huge amount of information all on one screen. Even
though IBM doesn't officially support the tool and you must use it at your own
risk, you can get a wealth of performance statistics. Why use five or six
tools when one free tool can give you everything you need?
Exercise good memory-related coding practices by creating a comprehensive
program to keep memory errors under control. Memory errors are the bane of C
and C++ programming: they're common, awareness of their importance for over
two decades hasn't eradicated them, they can impact applications severely, and
few development teams have a definite plan for their management. The good
news, though, is that they needn't be so mysterious.
Do you ever feel you wish you could answer some of your own questions when
you work with AIX and your System p™ server? Do you ever feel you
could save time by not having to call on the support professionals all the
time? Well, wish no more. Shiv Dutta discusses some of the AIX commands that
answer those questions and tells you how to enlarge the list of such answers.
Do you have trouble accessing data exported from multiple file servers? If
so, try using open source implementations of autofs and Lightweight Directory
Access Protocol (LDAP), with Network File System (NFS) Version 3, to access
data under the same global mount point. In this article, study and compare
five different methods to create a uniform namespace using autofs. A handy
table with a comparative evaluation is available to help you choose the best
technique for your scenario.
Searching for an easy way to create high-quality graphs that you can print,
publish to the Web, or cut and paste into performance reports? Look no
further. The nmon_analyser tool takes files produced by the NMON performance
tool, turns them into Microsoft Excel spreadsheets, and automatically produces
these graphs.
The UNIX operating system provides a rich set of features that allows
processes to communicate with each other. Known as Inter-Process Communication
(IPC), you can use this communication method to reconfigure an application at
run time or to share data between different processes that are running in
parallel. This article teaches you how to identify the methods that
applications can use to communicate with each other, select the most
appropriate method for your application, and begin your implementation.