2021-04-28 20:24:15 +02:00
<!--
title: Commandes utiles
description:
published: true
2021-04-30 15:35:01 +02:00
date: 2021-04-28T18:24:14.670Z
2021-04-28 20:24:15 +02:00
tags:
editor: ckeditor
dateCreated: 2021-04-28T18:24:13.228Z
-->
< h1 > Commandes utiles< / h1 >
< h2 > Système< / h2 >
< figure class = "table" >
< table style = "background-color:rgb(255, 255, 255);" >
< tbody >
< tr >
< td style = "border-bottom:1px solid rgb(207, 216, 220);border-left:1px solid rgb(207, 216, 220);border-right:1px solid rgb(207, 216, 220);border-top:1px solid rgb(207, 216, 220);padding:0.5rem 0.75rem;" > < code > reboot< / code > < / td >
< td style = "border-bottom:1px solid rgb(207, 216, 220);border-left:1px solid rgb(207, 216, 220);border-right:1px solid rgb(207, 216, 220);border-top:1px solid rgb(207, 216, 220);padding:0.5rem 0.75rem;" > Redémarre< / td >
< / tr >
< tr >
< td style = "border-bottom:1px solid rgb(207, 216, 220);border-left:1px solid rgb(207, 216, 220);border-right:1px solid rgb(207, 216, 220);border-top:1px solid rgb(207, 216, 220);padding:0.5rem 0.75rem;" > < code > shutdown -now< / code > < / td >
< td style = "border-bottom:1px solid rgb(207, 216, 220);border-left:1px solid rgb(207, 216, 220);border-right:1px solid rgb(207, 216, 220);border-top:1px solid rgb(207, 216, 220);padding:0.5rem 0.75rem;" > Éteint sans délais< / td >
< / tr >
< tr >
< td style = "border-bottom:1px solid rgb(207, 216, 220);border-left:1px solid rgb(207, 216, 220);border-right:1px solid rgb(207, 216, 220);border-top:1px solid rgb(207, 216, 220);padding:0.5rem 0.75rem;" > < code > systemctl (start/stop/restart) < service> < / code > < / td >
< td style = "border-bottom:1px solid rgb(207, 216, 220);border-left:1px solid rgb(207, 216, 220);border-right:1px solid rgb(207, 216, 220);border-top:1px solid rgb(207, 216, 220);padding:0.5rem 0.75rem;" > Démarre/Arrête/Redémarre un service< / td >
< / tr >
< / tbody >
< / table >
< / figure >
< h2 > Tipee< / h2 >
< figure class = "table" >
< table style = "background-color:rgb(255, 255, 255);" >
< tbody >
< tr >
< td style = "border-bottom:1px solid rgb(207, 216, 220);border-left:1px solid rgb(207, 216, 220);border-right:1px solid rgb(207, 216, 220);border-top:1px solid rgb(207, 216, 220);padding:0.5rem 0.75rem;" > < code > tipee< / code > < / td >
< td style = "border-bottom:1px solid rgb(207, 216, 220);border-left:1px solid rgb(207, 216, 220);border-right:1px solid rgb(207, 216, 220);border-top:1px solid rgb(207, 216, 220);padding:0.5rem 0.75rem;" > Connaitre le temps restant de la journée< / td >
< / tr >
< tr >
< td style = "border-bottom:1px solid rgb(207, 216, 220);border-left:1px solid rgb(207, 216, 220);border-right:1px solid rgb(207, 216, 220);border-top:1px solid rgb(207, 216, 220);padding:0.5rem 0.75rem;" > < code > tipee punch< / code > < / td >
< td style = "border-bottom:1px solid rgb(207, 216, 220);border-left:1px solid rgb(207, 216, 220);border-right:1px solid rgb(207, 216, 220);border-top:1px solid rgb(207, 216, 220);padding:0.5rem 0.75rem;" > Badger les heures< / td >
< / tr >
< / tbody >
< / table >
< / figure >
< p > Lien : < a href = "https://gitlab.infomaniak.ch/mickaelasseline/python-tipee" > Gitlab< / a > < / p >
< h2 > Git< / h2 >
< figure class = "table" >
< table style = "background-color:rgb(255, 255, 255);" >
< tbody >
< tr >
< td style = "border-bottom:1px solid rgb(207, 216, 220);border-left:1px solid rgb(207, 216, 220);border-right:1px solid rgb(207, 216, 220);border-top:1px solid rgb(207, 216, 220);padding:0.5rem 0.75rem;" > < code > git clone< / code > < / td >
< td style = "border-bottom:1px solid rgb(207, 216, 220);border-left:1px solid rgb(207, 216, 220);border-right:1px solid rgb(207, 216, 220);border-top:1px solid rgb(207, 216, 220);padding:0.5rem 0.75rem;" > Clone un projet sur sa machine< / td >
< / tr >
< tr >
< td style = "border-bottom:1px solid rgb(207, 216, 220);border-left:1px solid rgb(207, 216, 220);border-right:1px solid rgb(207, 216, 220);border-top:1px solid rgb(207, 216, 220);padding:0.5rem 0.75rem;" > < code > git commit -a -m “message”< / code > < / td >
< td style = "border-bottom:1px solid rgb(207, 216, 220);border-left:1px solid rgb(207, 216, 220);border-right:1px solid rgb(207, 216, 220);border-top:1px solid rgb(207, 216, 220);padding:0.5rem 0.75rem;" > Met à jour le git avec un message< / td >
< / tr >
< tr >
< td style = "border-bottom:1px solid rgb(207, 216, 220);border-left:1px solid rgb(207, 216, 220);border-right:1px solid rgb(207, 216, 220);border-top:1px solid rgb(207, 216, 220);padding:0.5rem 0.75rem;" > < code > git push< / code > < / td >
< td style = "border-bottom:1px solid rgb(207, 216, 220);border-left:1px solid rgb(207, 216, 220);border-right:1px solid rgb(207, 216, 220);border-top:1px solid rgb(207, 216, 220);padding:0.5rem 0.75rem;" > Envoi la mise à jour au git< / td >
< / tr >
< tr >
< td style = "border-bottom:1px solid rgb ( 207 , 216 , 220 ) ; border-left:1px solid rgb ( 207 , 216 , 220 ) ; border-right:1px solid rgb ( 207 , 216 , 220 ) ; border-top:1px solid rgb ( 207 , 216 , 220 ) ; padding:0 . 5rem 0 . 75rem ; " > < code > git pull< / code > < / td >
< td style = "border-bottom:1px solid rgb(207, 216, 220);border-left:1px solid rgb(207, 216, 220);border-right:1px solid rgb(207, 216, 220);border-top:1px solid rgb(207, 216, 220);padding:0.5rem 0.75rem;" > Récupère les dernières mises à jours< / td >
< / tr >
< / tbody >
< / table >
< / figure >