lunes, 9 de mayo de 2011

SSH (:






SFTP (:

NAME
sftp -- secure file transfer program

SYNOPSIS
sftp [-1Cv] [-B buffer_size] [-b batchfile] [-F ssh_config]
[-o ssh_option] [-P sftp_server_path] [-R num_requests] [-S program]
[-s subsystem | sftp_server] host
sftp [user@]host[:file ...]
sftp [user@]host[:dir[/]]
sftp -b batchfile [user@]host

DESCRIPTION
sftp is an interactive file transfer program, similar to ftp(1), which
performs all operations over an encrypted ssh(1) transport. It may also
use many features of ssh, such as public key authentication and compres-
sion. sftp connects and logs into the specified host, then enters an
interactive command mode.

The second usage format will retrieve files automatically if a non-inter-
active authentication method is used; otherwise it will do so after suc-
cessful interactive authentication.

get [-P] remote-path [local-path]
Retrieve the remote-path and store it on the local machine. If
the local path name is not specified, it is given the same name
it has on the remote machine. remote-path may contain glob(3)
characters and may match multiple files. If it does and
local-path is specified, then local-path must specify a direc-
tory. If the -P flag is specified, then full file permissions
and access times are copied too.
put [-P] local-path [remote-path]
Upload local-path and store it on the remote machine. If the
remote path name is not specified, it is given the same name it
has on the local machine. local-path may contain glob(3) charac-
ters and may match multiple files. If it does and remote-path is
specified, then remote-path must specify a directory. If the -P
flag is specified, then the file's full permission and access
time are copied too.



NAME
ps -- process status

SYNOPSIS
ps [-AaCcEefhjlMmrSTvwXx] [-O fmt | -o fmt] [-G gid[,gid...]]
[-g grp[,grp...]] [-u uid[,uid...]] [-p pid[,pid...]]
[-t tty[,tty...]] [-U user[,user...]]
ps [-L]

DESCRIPTION
The ps utility displays a header line, followed by lines containing
information about all of your processes that have controlling terminals.

A different set of processes can be selected for display by using any
combination of the -a, -G, -g, -p, -T, -t, -U, and -u options. If more
than one of these options are given, then ps will select all processes
which are matched by at least one of the given options.

For the processes which have been selected for display, ps will usually
display one line per process. The -M option may result in multiple out-
put lines (one line per thread) for some processes. By default all of
:


NAME
kill -- terminate or signal a process

SYNOPSIS
kill [-s signal_name] pid ...
kill -l [exit_status]
kill -signal_name pid ...
kill -signal_number pid ...

DESCRIPTION
The kill utility sends a signal to the processes specified by the pid op-
erand(s).

Only the super-user may send signals to other users' processes.

The options are as follows:

-s signal_name
A symbolic signal name specifying the signal to be sent instead
of the default TERM.


lunes, 2 de mayo de 2011

Script (:


NAME
script -- make typescript of terminal session

SYNOPSIS
script [-akq] [-t time] [file [command ...]]

DESCRIPTION
The script utility makes a typescript of everything printed on your ter-
minal. It is useful for students who need a hardcopy record of an inter-
active session as proof of an assignment, as the typescript file can be
printed out later with lpr(1).

If the argument file is given, script saves all dialogue in file. If no
file name is given, the typescript is saved in the file typescript.

If the argument command is given, script will run the specified command
with an optional argument vector instead of an interactive shell.

The following options are available:

-a Append the output to file or typescript, retaining the prior con