Teknotit Snipet Manager



Api 2 Git 1 aleatoire 2 animation 1 apache2 4 bash 9 cache 1 css 17 curl 1 fastcgi 2 fichier 1 fonctions 10 html 5 inspiration 1 javascript 17 linux 17 mobile 2 mysql 2 nginx 3 php 21 postfix 2 repertoire 3 ssh 9 swap 1 sysadmin 13 taille 1 ubuntu 7 wordpress 8

.

bash

nombre de coeur processeur

grep processor /proc/cpuinfo | wc -l

bash linux

<iframe width="100%" height="200" src="http://snipet.teknotit.com/index.php?embed=544b51b3804c3" type="text/html"></iframe>

Texte seul - Permalink - Snippet public posté le 25/10/2014

Copie de fichier entre serveur ssh

# exemple avec une cle d'uatorisation public

scp authorized_keys root@846.126.109.15:/root/.ssh/

bash linux ssh

<iframe width="100%" height="236" src="http://snipet.teknotit.com/index.php?embed=544ae61deb0f0" type="text/html"></iframe>

Texte seul - Permalink - Snippet public posté le 24/10/2014

Copying Files Between Windows and Linux using PuTTY

set PATH=C:\Program Files\PuTTY

#The format for pscp is straight forward:

pscp [options] source destination

#To copy a Windows file to Linux system, at the DOS prompt, type

pscp c:/music.mp3  ubuntu@10.0.0.3:/home/ubuntu/Music

The reverse works as well (copy Linux file to Windows)

pscp ubuntu@10.0.0.3:/home/ubuntu/Music/music.mp3 c:/

bash linux ssh

https://community.freescale.com/thread/220596

<iframe width="100%" height="416" src="http://snipet.teknotit.com/index.php?embed=54480fc9d4aa9" type="text/html"></iframe>

Texte seul - Permalink - Snippet public posté le 24/10/2014

Créer des répertoire et sous répertoire en une commande

mkdir -p myProject/{src,doc,tools,db}

bash linux repertoire

<iframe width="100%" height="200" src="http://snipet.teknotit.com/index.php?embed=5440a717e2f1f" type="text/html"></iframe>

Texte seul - Permalink - Snippet public posté le 17/10/2014

Recherche sous linux

find . -name '*.ear' -exec ls -lh {} \;

bash linux

<iframe width="100%" height="200" src="http://snipet.teknotit.com/index.php?embed=5440a57060107" type="text/html"></iframe>

Texte seul - Permalink - Snippet public posté le 17/10/2014

changement time zone

dpkg-reconfigure tzdata

bash linux

<iframe width="100%" height="200" src="http://snipet.teknotit.com/index.php?embed=5440a0b089b62" type="text/html"></iframe>

Texte seul - Permalink - Snippet public posté le 17/10/2014

Speed Test Vps (download / upload)

wget dl.getipaddr.net/speedtest.sh 2>/dev/null -O- | bash 

bash linux

http://lowendtalk.com/discussion/13786/coded-a-speedtest-script-that-test-your-server-s-upload-and-download-speeds

<iframe width="100%" height="200" src="http://snipet.teknotit.com/index.php?embed=54409ce489f80" type="text/html"></iframe>

Texte seul - Permalink - Snippet public posté le 17/10/2014

Créer artificiellement des fichiers d'une taille précise

#Cette commande va créer un fichier vide de 10 Mo (10 000 fois 1k).

dd if=/dev/zero of=lefichier bs=1k count=10000

bash linux

http://www.bash-linux.com/script-shell-31-creer-artificiellement-des-fichiers-une-taille-precise.html

<iframe width="100%" height="236" src="http://snipet.teknotit.com/index.php?embed=54409be937544" type="text/html"></iframe>

Texte seul - Permalink - Snippet public posté le 17/10/2014

Taille d'un répertoire

du -kh --max-depth=1 mon_repertoire/

bash linux repertoire taille

<iframe width="100%" height="200" src="http://snipet.teknotit.com/index.php?embed=544091183c11f" type="text/html"></iframe>

Texte seul - Permalink - Snippet public posté le 17/10/2014

Flux RSS de cette page


Teknotit Snipet Manager 1.84 par Bronco - Page générée en 0.006 s