User Tools

Site Tools


informatique:linux:commandes_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
informatique:linux:commandes_linux [2019/07/04 09:01] – ntp pteuinformatique:linux:commandes_linux [2019/09/06 12:00] – [chkconfig] pteu
Line 268: Line 268:
   * effacement total : ''chattr +s fichier''   * effacement total : ''chattr +s fichier''
  
 +
 +=====chkconfig=====
 +
 +Commande pour configurer les services activer au démarrage du système.
 +<code bash>
 +# lister les états de tous les services
 +chkconfig --list
 +
 +# activer le service toto (resp. désactiver avec "off")
 +# optionnel : préciser les runlevels concernés, par défaut 2345)
 +chkconfig toto on [--level 35]
 +
 +# lister l'état du service toto (pour chaque runlevel)
 +chkconfig --list toto
 +toto        0:arrêt 1:arrêt 2:marche 3:marche 4:marche 5:marche 6:arrêt
 +</code>
  
 =====chmod===== =====chmod=====
informatique/linux/commandes_linux.txt · Last modified: 2024/04/05 06:58 by pteu