Bin moi, mon script de prédilection sous Linux, c'est TCSH. C'est ainsi depuis qu'on me l'a "imposé" pour un TP (base de données ou NS2 ... va savoir). Sous SuSE8.2, ça se passait pas trop mal: bonne auto-complétion, coloration, aliases sympa ... Sous ubuntu, en revanche, c'est quasiment le minimex, au point que j'ai longtemps … Continue reading tcsh pour les experts…
Category: tcsh
Script powaa!
Bon. Ouvrez un p'tit terminal (tcsh), on va s'amuser ...display fairy.jpgsetenv FAIRY `eesh -ewait window_list | grep Magick | cut -f 1 -d :`randomize `find /pingu/photos/ | grep -v thumb` |\fe - "display -window $FAIRY '%' & sleep 8"C'est ma manière à moi de me faire un petit diaporama de mes photos sur mon laptop, … Continue reading Script powaa!
Programmatically surrealistic
Earlier in the day, i had an argument with the update-manager of my test machine who was refusing to update my Dapper Drake because of some "hash mismatch" at the mirror. For some reason, i didn't trust the ubunutu forums that state that "this occur when you try to update while mirrors are synchronizing" and … Continue reading Programmatically surrealistic
/dev/tcp ou netcat ?
En réaction au blog de bodman, qui nous présentait une manière élégante (tirée d'un autre blog: unixjunkie) capable de lancer des requêtes HTTP armé du seul shell "BASH":exec 3 /dev/tcp/www.google.com/80printf "GET / HTTP/1.0\n\n" >&5cat <&5exec 5>&-qui se soldait sur mon ubuntu invariablement par un "bash: /dev/tcp/www.google.com/80: No such file or directory". Intrigué, j'ai un peu … Continue reading /dev/tcp ou netcat ?