Vous êtes sur la page 1sur 1

I) rsync -a source/ destination/ rsync -av --delete-excluded --exclude-from=backup.

lst / $1; II) ls / > 1 cp 1 2 vi 2 paste 1 2 > 3 vi 3 :1,$ s/^/mv /g III) yum install poppler-utils pdftotext hp-manual.pdf hp-manual.txt pdftotext -f 5 hp-manual.pdf hp-manual.txt IV) echo | festival --tts echo | text2wave -scale 50 -o rand.wav lame rand.wav rand.mp3 V) convert $i -thumbnail 62208@ -gravity center -background black -extent 216x144 1 $i #Generates thumbnails of 216x144 VI) wget ftp://172.31.1.11/0list.movies.html cat 0list.movies.html | cut -d\" -f2 | awk '{FS = "/"; printf $NF"\n" }' | uniq | head -n8 | tail -n5 VII) rsync -r -a -v --delete rsync://rsync.nixcraft.in/cvs /home/cvs #rsync with a re mote server VIII) wget http://www.espncricinfo.com/ci/engine/current/match/scores/live.html wget http://www.espncricinfo.com/sri-lanka-v-england-2012/engine/match/536301.ht ml sleep 5 IX) awk -F , '{sum=0;n=0;for(i=4;i<=NF;i++){sum+=$i;++n}print $1"\t"$2"\t"$3"\t\t"su m}' 1.csv #Interesting one liners sed '1,/^$/ d' chops of header until blank line sed '11,$ d' Deletes first 10 lines rm /path/* or rm `find /path -type f` find /path -type f -print0 | xargs -0 rm

Vous aimerez peut-être aussi