Superbe Fond D’écran Debian
Voici un très très beau fond d’écran Debian…
A télécharger ici : http://mdh3ll.deviantart.com/art/Debian-Wood-244795610
Bash, quelques astuces en vrac
Et bien je reprends un peu le fil de mes articles…
Il y avait bien longtemps que je n’avais pas publié quelques petites astuces.
Alors on y retourne !
Petites astuces en Bash…
1- Comment supprimer les lignes identiques dans un fichier :
# awk '!x[$0]++' /ledossier/lefichier2- Ecrire une suite de caractères sans les saisir :
# echo {1..50} 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 # echo {50..1} 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 # echo a{b,c,d}e abe ace ade # echo {a..t} a b c d e f g h i j k l m n o p q r s t # echo {t..a} t s r q p o n m l k j i h g f e d c b a # echo {3..-2} 3 2 1 0 -1 -2 # echo {X..d} X Y Z [ ] ^ _ ` a b c d
3- Lister uniquement les dossiers :
# echo */4- Créer une arborescence complète et complexe en une seule fois :
# mkdir -p racine/{lib/ext,bin,src,doc/{html,info,pdf},demo/stat/a}donnera :
racine racine/lib/ext racine/bin racine/src racine/doc/html, racine/doc/info et racine/doc/pdf racine/demo/stat/a
Et voilou !
J’en ai d’autres, mais point trop n’en faut…
Bon hack les amis !
Unix is Sexy
who|grep -i blonde|date; cd ~; unzip; touch; atrip; finger; mount; gasp; yes; uptime; umount; sleep


























