Pork Center

Commandes Debian

De Hack-it.org.

 
Ligne 21 : Ligne 21 :
* nettoyer un peu la merde: http://www.debian-administration.org/articles/462
* nettoyer un peu la merde: http://www.debian-administration.org/articles/462
* uname -r : affiche la version du noyau
* uname -r : affiche la version du noyau
 +
* lsb_release -a : nom / version la distribution
* adduser useradd newusers
* adduser useradd newusers
* dns : host dig whois
* dns : host dig whois
Ligne 26 : Ligne 27 :
* echo "ta mere" |wall
* echo "ta mere" |wall
* drftpd glftpd [http://www.andesi.org/index.php?node=121 vsftpd] [http://www.trustonme.net/didactels/57.html pure-ftpd] wu-ftpd proftpd
* drftpd glftpd [http://www.andesi.org/index.php?node=121 vsftpd] [http://www.trustonme.net/didactels/57.html pure-ftpd] wu-ftpd proftpd
-
 
+
* Autopsie : lshw / lshw -html > pute.html
 +
====Monitoring====
 +
nmon
 +
* top htop iotop
 +
* pour le hdd : iostat dstat
 +
* Also for network usage; iftop does by address, nethogs does by process. + iptraf
 +
Have a look at iotop and nmon
====Mettre l'heure systeme à jour====
====Mettre l'heure systeme à jour====
# aptitude install ntpdate
# aptitude install ntpdate

Version actuelle en date du 5 novembre 2017 à 04:42