Archive for the tag:

Interacting with the `top`

Nessun commento » Shell, System, Tips & tricks No comment '

Working in UNIX / Linux tool essential to view the status process is the `top`. Launched from the command line, top produces an output divided into two basic areas: in head shows general information on the system, while all along the area below lists the processes that are consuming more CPU. Read More »

List of commands from the terminal in a Unix environment

Nessun commento » Shell, System, Tips & tricks No comment '

Arrested with Konsole ksnapshot The most popular Unix systems (Linux / Mac / BSD) are now widely used in graphics mode. However, there are cases where the directions terminal are much more effective and quick, because let you interact with low-level computer. A detailed list of commands for every eventuality, divided into categories, can be found at this address: http://www.linuxguide.it/linux_commands_line_en.htm.

Touch recursive without unpleasant surprises

Nessun commento » Shell, Tips & tricks No comment '

To make the touch of a recursive directory not get the usual errors (file names that contain spaces or other abnormal characters) is sufficient to run the command:

find . -print0 | xargs -0 touch

Synchronization on the fly with `` rsync

Nessun commento » Backup, Shell, Tips & tricks No comment '

Happens to all that having a backup from one server to another. Imagine that it wants to do every day at a certain time the complete copy of all files contained in a directory from a server (called A) to another (called B). A simple solution is to program the remote synchronization by using the `` rsync. The program will be run from the server B, so that the server A passively suffer the backup - in the form of levy of data - without serious consequences. Read More »