How do I send smtp-auth email from the command line ?

The following is an example of an SMTP conversation where the sender is authenticated with SMTP-Auth.  Your mail server may listen on a port other than 25, maybe 465 or 587. (more…)

The Ultimate Linux Command List

This page is a megalist of linux commands. This document provides a little insight on some common and not so common linux commands and binaries. (more…)

bash Built-In Command Reference

bash, :, ., [, alias, bg, bind, break, builtin, cd, command, compgen,
complete, continue, declare, dirs, disown, echo, enable, eval, exec,
exit, export, fc, fg, getopts, hash, help, history, jobs, kill, let,
local, logout, popd, printf, pushd, pwd, read, readonly, return, set,
shift, shopt, source, suspend, test, times, trap, type, typeset,
ulimit, umask, unalias, unset, wait

rsync Command Reference

rsync - faster, flexible replacement for rcp

Synopsis
rsync [OPTION]… SRC [SRC]… [USER@]HOST:DEST

rsync [OPTION]… [USER@]HOST:SRC DEST

rsync [OPTION]… SRC [SRC]… DEST

rsync [OPTION]… [USER@]HOST::SRC [DEST]

rsync [OPTION]… SRC [SRC]… [USER@]HOST::DEST

rsync [OPTION]… rsync://[USER@]HOST[:PORT]/SRC [DEST]

rsync [OPTION]… SRC [SRC]… rsync://[USER@]HOST[:PORT]/DEST

Description
rsync is a program that behaves in much the same way that rcp does,
but has many more options and uses the rsync remote-update protocol to
greatly speed up file transfers when the destination file is being
updated. (more…)

chkconfig Command Reference

chkconfig - updates and queries runlevel information for system services

Synopsis
chkconfig –list [name]
chkconfig –add name
chkconfig –del name
chkconfig [–level levels] name
chkconfig [–level levels] name

Description

chkconfig provides a simple command-line tool for maintaining the
/etc/rc[0-6].d directory hierarchy by relieving system administrators
of the task of directly manipulating the numerous symbolic links in
those directories. (more…)

httpd Command Reference

httpd - Apache Hypertext Transfer Protocol Server

Synopsis
httpd [ -d serverroot ] [ -f config ] [ -C directive ] [ -c directive
] [ -D parameter ] [ -e level ] [ -E file ] [ -k start|restart|grace-
ful|stop ] [ -R directory ] [ -h ] [ -l ] [ -L ] [ -S ] [ -t ] [ -v ]
[ -V ] [ -X ]

On Windows systems, the following additional arguments are available:

httpd [ -k install|config|uninstall ] [ -n name ] [ -w ]

Summary
httpd is the Apache HyperText Transfer Protocol (HTTP) server program.
It is designed to be run as a standalone daemon process. When used
like this it will create a pool of child processes or threads to han-
dle requests.

In general, httpd should not be invoked directly, but rather should be
invoked via apachectl on Unix-based systems or as a service on Windows
NT, 2000 and XP and as a console application on Windows 9x and ME. (more…)

patch Command Reference

patch - apply a diff file to an original

Synopsis
patch [options] [originalfile [patchfile]]

but usually just

patch -pnum

Description
patch takes a patch file patchfile containing a difference listing
produced by the diff program and applies those differences to one or
more original files, producing patched versions. Normally the patched
versions are put in place of the originals. Backups can be made; see
the -b or –backup option. The names of the files to be patched are
usually taken from the patch file, but if there’s just one file to be
patched it can specified on the command line as originalfile. (more…)

diff Command Reference

diff - find differences between two files

Synopsis
diff [options] from-file to-file

Description
In the simplest case, diff compares the contents of the two files
from-file and to-file. A file name of - stands for text read from the
standard input. As a special case, diff - - compares a copy of stan-
dard input to itself. (more…)

ipcalc Command Reference

ipcalc - perform simple manipulation of IP addresses

Synopsis
ipcalc [OPTION]… [/prefix] [netmask]

Description
ipcalc provides a simple way to calculate IP information for a host.
The various options specify what information ipcalc should display on
standard out. Multiple options may be specified. An IP address to
operate on must always be specified. Most operations also require a
netmask or a CIDR prefix as well. (more…)

gzip, gunzip, zcat Command Reference

gzip, gunzip, zcat - compress or expand files

Synopsis
gzip [ -acdfhlLnNrtvV19 ] [-S suffix] [ name … ]
gunzip [ -acfhlLnNrtvV ] [-S suffix] [ name … ]
zcat [ -fhLV ] [ name … ]

Description
Gzip reduces the size of the named files using Lempel-Ziv coding
(LZ77). Whenever possible, each file is replaced by one with the
extension .gz, while keeping the same ownership modes, access and mod-
ification times. (The default extension is -gz for VMS, z for MSDOS,
OS/2 FAT, Windows NT FAT and Atari.) If no files are specified, or if
a file name is “-”, the standard input is compressed to the standard
output. Gzip will only attempt to compress regular files. In partic-
ular, it will ignore symbolic links. (more…)