mercredi 10 mai 2017
lundi 24 avril 2017
dimanche 16 avril 2017
jeudi 9 mars 2017
Trouver le paquet Debian ou Ubuntu fournissant un fichier donné
Vous pouvez utiliser la commande dpkg pour savoir quel paquet possède un fichier:
dpkg -S <fichier>
exemple
pascalfares@BureauChefDepInfo:~$ dpkg -S /bin/ls
coreutils: /bin/ls
Vous pouvez aussi rechercher le contenu des packages inclus dans les différentes versions d'Ubuntu sur le site Web des packages Ubuntu.
mardi 28 février 2017
jeudi 2 février 2017
lundi 16 janvier 2017
rsync with non standard ssh port
If your destination ssh daemon on the remote server runs on a non-standard port, and all the port related options to rsync only change settings if you’re running the rsync-daemon. Here is a solution to use rsync simply by specifying a different port
just Pass the port parameter to ssh with the -e option:
# rsync -avz -e "ssh -p $portNumber" user@remoteip:/path/to/files/ /local/path/
Inscription à :
Articles (Atom)