Archive for the tag 'utility'

SBDavid

Using the rndc Utility

Using the rndc Utility

The rndc utility is a command line tool that allows you to administer the named service, both locally and from a remote machine. Its usage is as follows

rndc [option...] command [command-option]

Configuring the Utility

To prevent unauthorized access to the service, named must be configured to listen on the selected port (that is, 953 by default), and an identical key must be used by both the service and the rndc utility.

The rndc configuration is located in /etc/rndc.conf. If the file does not exist, the utility will use the key located in /etc/rndc.key, which was generated automatically during the installation process using the rndc-confgen -a command.

Using the Plesk Service Control Utility

In addition to the service management facilities provided within control panel, there is the Service Control utility available from the system taskbar. It allows managing the following services:

* Plesk Control Panel - the control panel’s web server engine,
* Plesk Management Service - handles control panel settings, security and statistics,
* Plesk Miscellaneous Service - handles IP assignment, time management, Plesk utilities and user accounts,
* Plesk Scheduler - task scheduling and management,
* Plesk List Connector - mail service,
* Plesk Mail Transfer Agent - mail service,
* Plesk POP Service - mail service,
* Plesk Postoffice Connector - mail service,
* Plesk SMTP Connector - mail service,
* Plesk SQL Server - MySQL database that stores all Plesk objects,
* Stunnel - enables SSL support for mail server,
* Plesk Name Server - DNS service,
* Plesk Java Servlet Container - enables support for Java applets.

SBDavid

The zip utility

The zip utility

The zip utility there are four utilities in the Linux zip package:

zip creates a compressed file containing listed files and directories.
zipcloak creates an encrypted compress file containing listed files and directories.
zipnote extracts the comments from a zip file.
zipsplit splits a zip file into smaller files of a set size (used for copying large zip files to floppy disks).
unzip extracts files and directories from a compressed zip file.

$ zip
Copyright (c) 1990-2006 Info-ZIP - Type ‘zip “-L”‘ for software license.
Zip 2.32 (June 19th 2006). Usage:
zip [-options] [-b path] [-t mmddyyyy] [-n suffixes] [zipfile list] [-xi list]
SBDavid

The gzip utility

By far the most popular file compression utility in Linux is the gzip utility. The gzip package
is a creation of the GNU Project, in their attempt to create a free version of the original Unix
compress utility. This package includes the files.

gzip for compressing files
gzcat for displaying the contents of compressed text files
gunzip for uncompressing files

These utilities work the same way as the bzip2 utilities:

The gzip command compresses every file in the directory that matches the wildcard pattern.

SBDavid

The bzip2 utility

The bzip2 utility

The bzip2 utility is a relatively new compression package that is gaining popularity, especially
when compressing large binary files. The utilities in the bzip2 package are:

bzip2 for compressing files
bzcat for displaying the contents of compressed text files
bunzip2 for uncompressing compressed .bz2 files
bzip2recover for attempting to recover damaged compressed files

By default, the bzip2 command attempts to compress the original file, and replaces it with the
compressed file, using the same filename with a .bz2 extension:

$ bzip2 iptables
$ ls -l iptables*
-rw-r–r– 1 buddy buddy 1477 Dec 15 16:48 iptables.bz2

Next »