|
19.
|
|
|
If you executed a command and neglected to use sudo, you can execute "sudo !!" to re-execute the previous command with sudo prepended.
|
|
|
type: Plain text
|
|
|
|
Se si esegue un comando e si tralascia di utilizzare sudo, è possibile eseguire "sudo !!" per ri-eseguire il comando precedente con sudo anteposto.
|
|
Translated and reviewed by
Giuliano
|
|
|
|
Located in
ubuntu-server-tips:60
|
|
20.
|
|
|
Install 'denyhosts' to help protect against brute force SSH attacks, auto-blocking multiple attempts.
|
|
|
type: Plain text
|
|
|
|
Se si installa "denyhosts" si bloccano automaticamente i tentativi multipli di attacchi a forza bruta SSH.
|
|
Translated and reviewed by
Giuliano
|
|
|
|
Located in
ubuntu-server-tips:63
|
|
21.
|
|
|
Use "iotop" for measuring hard disk I/O (current read/write) usage per application.
|
|
|
type: Plain text
|
|
|
|
Utilizzare "iotop" per la misurazione dell' I/O, del disco rigido, (lettura/scrittura corrente) fatto da ogni applicazione.
|
|
Translated and reviewed by
Giuliano
|
|
|
|
Located in
ubuntu-server-tips:66
|
|
22.
|
|
|
If you are using a PostgreSQL database, use "ptop" to monitor real time usage.
|
|
|
type: Plain text
|
|
|
|
Se si usa un database PostgreSQL, attraverso "ptop" è possibile monitorarne l'utilizzo in tempo reale.
|
|
Translated and reviewed by
Giuliano
|
|
|
|
Located in
ubuntu-server-tips:69
|
|
23.
|
|
|
Use "iftop" to monitor current network activity connections per host.
|
|
|
type: Plain text
|
|
|
|
Usare <<iftop>> per monitorare l'attuale attività di rete per ogni host.
|
|
Translated and reviewed by
Luca Petrolati
|
|
|
|
Located in
ubuntu-server-tips:71
|
|
24.
|
|
|
Use "pastebinit" to copy a file, or output of a command to a webpage allowing you to share it. e.g. 'pastebinit /proc/cpuinfo' or 'df -h | pastebinit'
|
|
|
type: Plain text
|
|
|
|
Utilizzare "pastebinit" per copiare un file, o come output di un comando a una pagina web che permetta di condividerlo. Per esempio "pastebinit /proc/cpuinfo" o "df -h | pastebinit"
|
|
Translated and reviewed by
Giuliano
|
|
|
|
Located in
ubuntu-server-tips:75
|
|
25.
|
|
|
Use "tail -f /var/log/some.log" to see new lines added to a log instantly in real time. Ideal from watching webserver requests as they happen.
|
|
|
type: Plain text
|
|
|
|
Usare <<tail -f /var/log/some.log>> per vedere in tempo reale le nuove righe aggiunte ad uno file di registro. Tale impostazione è ideale per guardare le richieste al webserver non appena vengono inoltrate.
|
|
Translated and reviewed by
Luca Petrolati
|
|
|
|
Located in
ubuntu-server-tips:78
|
|
26.
|
|
|
Save time starting to type a command or file name, then press tab to complete Hit tab twice to bring up multiple completion options.
|
|
|
type: Plain text
|
|
|
|
Si può risparmiare tempo iniziando a digitare un comando o un nome di file e premendo poi il tasto tab per completarlo. Premuto due volte mostra le opzioni di completamento multiplo.
|
|
Translated and reviewed by
Giuliano
|
|
|
|
Located in
ubuntu-server-tips:81
|
|
27.
|
|
|
Append your ssh key to your server's authorized keys file using the command 'ssh-copy-id user@server_address'
|
|
|
type: Plain text
|
|
|
|
Accoda la chiave ssh al file delle chiavi autorizzate dal server usando il comando "ssh-copy-id user@server_address"
|
|
Translated and reviewed by
Giuliano
|
|
|
|
Located in
ubuntu-server-tips:84
|
|
28.
|
|
|
If you want to download a file from a URL via the console, you can use the command 'wget http://address/to/file.tar'
|
|
|
type: Plain text
|
|
|
|
È possibile scaricare un file da un indirizzo URL tramite riga di comando utilizzando il comando "wget http://address/to/file.tar"
|
|
Translated and reviewed by
Giuliano
|
|
|
|
Located in
ubuntu-server-tips:87
|