User Tools

Site Tools


informatique:linux:commandes

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
Last revisionBoth sides next revision
informatique:linux:commandes [2022/10/11 08:05] – Ajout vitesse réseau yahikoinformatique:linux:commandes [2023/09/27 09:17] yahiko
Line 57: Line 57:
 </codedoc> </codedoc>
  
 +===== Formater la date =====
 +Format YY-mm-JJ_H-M-S
 +<codedoc code:bash>
 +now=$(date +"%Y-%m-%d_%H-%M-%S")
 +</codedoc>
 +
 +===== Volume LVM inactif =====
 +<codedoc code:bash>
 +root@proxmox:~# lvscan
 +  inactive          '/dev/drbdvg3/lv-ovz3' [900.00 GiB] inherit
 +
 +root@proxmox:~# vgchange -ay
 +
 +root@proxmox:~# lvscan
 +  ACTIVE            '/dev/drbdvg3/lv-ovz3' [900.00 GiB] inherit
 +</codedoc>
 +
 +===== wget avec mot de passe =====
 +<code shell>
 +wget --user [NOM_UTILISATEUR] --password [MOT_DE_PASSE] [URL]
 +</code>
informatique/linux/commandes.txt · Last modified: 2023/10/30 14:54 by yahiko

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki