<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6646816740379031212</id><updated>2012-01-29T01:37:31.177+01:00</updated><category term='Ubuntu 11.10'/><category term='Linux Mint KDE'/><category term='Comandi terminale'/><category term='ubuntu fumetti'/><category term='Opinioni di un clown'/><category term='Ubuntu la pagina man'/><category term='Debian foto'/><category term='Slack su Ubuntu'/><category term='Debian audio e video'/><category term='Ubuntu Pdf'/><category term='Colori'/><category term='Altro'/><category term='Lubuntu 10.10'/><category term='Debian Wheezy'/><category term='Ciro e Linux'/><category term='SCripting'/><category term='Ubuntu i miei viaggi virtuali'/><category term='Ubuntu Nautilus'/><category term='Ubuntu Foto'/><category term='Ubuntu directory'/><category term='debian testing'/><category term='Xubuntu 10.10'/><category term='Ubuntu mplayer'/><category term='Fisica e bash'/><category term='Ubuntu amministrazione sistema'/><category term='Diritto'/><category term='bc'/><category term='Ubuntu Firefox'/><category term='Ubuntu grafica'/><category term='Ubuntu OpenOffice'/><category term='Ubuntu cose strane ma simpatiche'/><category term='Ubuntu audio e video'/><category term='Kubuntu configurazione'/><category term='Ubuntu scienza'/><category term='Ubuntu Remastersys'/><category term='Ubuntu se il pc non si accende'/><category term='Matematica con bash'/><category term='Debian problemi'/><category term='Ubuntu problemi'/><category term='Ubuntu masterizzazione'/><category term='Ubuntu internet'/><category term='Lubuntu e chiavetta internet'/><category term='Ubuntu FFmpeg'/><category term='Archbang'/><category term='Ubuntu giochi'/><category term='Botta e Risposta'/><category term='LMDE XFCE'/><category term='Sox'/><category term='Debian Squeeze'/><category term='Ubuntu Utility'/><category term='Progetto Bash'/><category term='Ubuntu 10.04 netbook edition'/><category term='Ubuntu soluzioni pratiche'/><category term='Gimp: Tra realtà e finzione'/><category term='La storia di debian'/><category term='Ubuntu Pensieri'/><category term='Ubuntu curiosità'/><category term='Ubuntu script'/><category term='Ubuntu VLC'/><category term='Kubuntu 10.10'/><category term='Ubuntu 10.10: la Beta'/><category term='Ubuntu i quesiti di oggi'/><category term='Ubuntu configurazione'/><category term='Xubuntu'/><category term='Kubuntu Internet'/><category term='Xfce'/><category term='Ubuntu Writer'/><title type='text'>the secrets of ubuntu</title><subtitle type='html'>Continuerai a farti scegliere o finalmente sceglierai? (Faber)</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default?start-index=101&amp;max-results=100'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>277</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-4704068852468867534</id><published>2012-01-12T00:40:00.001+01:00</published><updated>2012-01-12T01:04:31.075+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Matematica con bash'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu script'/><category scheme='http://www.blogger.com/atom/ns#' term='SCripting'/><title type='text'>Convertire secondi o minuti in ore, minuti e giù di lì</title><summary type='text'>Salve!

Un semplice script che converte i secondi in ore e minuti e  i minuti in ore.

Mi spiego meglio.

Appena lanciato, lo script chiede se si vogliono convertire i secondi o i minuti. Nel primo caso scegliere "s" e premere invio, nel secondo, digitare "m" e premere invio. 

Facciamo qualche esempio:


Voglio convertire 1500 secondi in ore, minuti.
Lancio lo script, scelgo "s" e, quando me lo </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/4704068852468867534/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2012/01/convertire-secondi-o-minuti-in-ore.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/4704068852468867534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/4704068852468867534'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2012/01/convertire-secondi-o-minuti-in-ore.html' title='Convertire secondi o minuti in ore, minuti e giù di lì'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-S6on_cuUyyI/Tw4ZDTDD1zI/AAAAAAAADEs/isk_VTUY2xc/s72-c/Istantanea+-+12012012+-+00%253A16%253A18.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-4887268474013226811</id><published>2011-12-31T19:30:00.002+01:00</published><updated>2012-01-02T13:23:48.348+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu script'/><category scheme='http://www.blogger.com/atom/ns#' term='SCripting'/><title type='text'>Un semplice quiz a punti!</title><summary type='text'>Salve!

Solo una piccola idea concretizzata in poco tempo per alcuni amici.  Si tratta di un semplice quiz a punti. :)

Ad ogni risposta esatta verranno assegnati 5 punti. 0 punti nel caso di risposta sbagliata. Lo script, oltre ad essere perfezionabile, può essere modificato a piacimento. :) 


#!/bin/bash#bit3lux#quiz.shpunti=0read -p "Come ti chiami? " nomeecho "Ciao $nome"read -p "Qual è il </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/4887268474013226811/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/12/un-semplice-quiz-punti.html#comment-form' title='2 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/4887268474013226811'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/4887268474013226811'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/12/un-semplice-quiz-punti.html' title='Un semplice quiz a punti!'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-4623758209041702531</id><published>2011-12-22T04:15:00.000+01:00</published><updated>2011-12-22T13:56:24.689+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Matematica con bash'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu script'/><category scheme='http://www.blogger.com/atom/ns#' term='SCripting'/><title type='text'>Conto alla rovescia!</title><summary type='text'>Salve!

Oggi ho creato un piccolo e semplice script che esegue il countdown nel terminale.






#!/bin/bash #bit3lux#countdown.shread -p "inserisci i minuti (max 60): " minora=`date +%s` a=$[(60*$min)+$ora] s=$[$a-$ora]  until [ $s -le 0 ]; do        clear           s=$[$s-1]        sec=$[$s%60] min=$[($s%3600)/60]         echo "##COUNTDOWN##"         echo -e "\fMinuti: $min \nSecondi: $sec"</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/4623758209041702531/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/12/conto-alla-rovescia.html#comment-form' title='8 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/4623758209041702531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/4623758209041702531'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/12/conto-alla-rovescia.html' title='Conto alla rovescia!'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-5oyGO9Trqh0/TvKinUOrvKI/AAAAAAAADEY/4qLgVvGcp-E/s72-c/fire.gif' height='72' width='72'/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-9016719382492406687</id><published>2011-12-19T00:53:00.000+01:00</published><updated>2011-12-19T01:21:05.213+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Matematica con bash'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu script'/><category scheme='http://www.blogger.com/atom/ns#' term='SCripting'/><title type='text'>1579 è un numero primo?</title><summary type='text'> Salve!

Un numero primo è un numero maggiore di 1, divisibile solamente per 1 e per sé stesso.



Ecco uno script semplice semplice che "scova" i numeri primi. :)

#!/bin/bash#bit3luxread -p "dammi un numero " ac=2until [ $c -ge $a ]; do      b=$(($a % $c))      if [ $b -eq 0 ]; then          echo "$a non è un numero primo"          exit 1      fi      c=$(($c+1))doneecho "$a è un numero </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/9016719382492406687/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/12/1579-e-un-numero-primo.html#comment-form' title='6 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/9016719382492406687'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/9016719382492406687'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/12/1579-e-un-numero-primo.html' title='1579 è un numero primo?'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-QZ4DejoPOHE/Tu51dPKSq1I/AAAAAAAADBc/vGDsT1jKeqk/s72-c/is.png' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-492198160778498752</id><published>2011-12-12T11:32:00.001+01:00</published><updated>2011-12-12T13:15:32.130+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Progetto Bash'/><title type='text'>I/O</title><summary type='text'> Salve! 

Oggi ci cimenteremo con nomi di questo calibro: stdin, stdout, stderr, descrittore di file.
A parte l'espressione "descrittore di file" il resto potrebbe sembrare un pò tedesco. :) Dimenticavo, ci sarebbe anche questo: I/O  



Partiamo da lontano, da molto lontano. 

Il pc, ma non solo il pc, è costituito da dispositivi input e dispositivi output.


L'insieme di questi dispositivi </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/492198160778498752/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/12/io.html#comment-form' title='6 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/492198160778498752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/492198160778498752'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/12/io.html' title='I/O'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-L2d-wokMFIA/TuXYcJeAxoI/AAAAAAAADA8/vaDDVjjFd5E/s72-c/d.png' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-7081346171264252684</id><published>2011-12-10T22:43:00.001+01:00</published><updated>2011-12-11T09:17:20.142+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='debian testing'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian Wheezy'/><category scheme='http://www.blogger.com/atom/ns#' term='Archbang'/><title type='text'>Internet key Onda-K3806-Z su Archbang e Debian Testing</title><summary type='text'>Un mio carissimo amico, Squit, oggi pomeriggio, in chat, mi raccontava cosa aveva fatto per installare la internet key sulla sua debian testing.





Si tratta di una Vodafone - ONDA Communication S.p.A. a 14,4 mb, marcata K3806-Z, ricevuta in offerta dalla Vodafone ma non brandizzata. Dal momento che usa anche archbang, abbiamo deciso di ripetere la stessa procedura anche su questa distro. </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/7081346171264252684/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/12/internet-key-onda-k3806-z-su-archbang-e.html#comment-form' title='1 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/7081346171264252684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/7081346171264252684'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/12/internet-key-onda-k3806-z-su-archbang-e.html' title='Internet key Onda-K3806-Z su Archbang e Debian Testing'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-Z6XHLy6dyG8/TuPrwQVSwDI/AAAAAAAADA0/9gJLDJsrQJE/s72-c/IMG167.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-618068258445971787</id><published>2011-12-09T14:33:00.001+01:00</published><updated>2011-12-19T01:05:00.370+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Matematica con bash'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu script'/><category scheme='http://www.blogger.com/atom/ns#' term='SCripting'/><title type='text'>La sequenza di fibonacci e bash</title><summary type='text'>Salve!

Come promesso, eccoci con la sequenza di Fibonacci. Tutto ebbe inizio per via di alcuni conigli..... Potete leggere la storiella su wikipedia :D





#!/bin/bash#bit3luxt=1read -p "dammi il primo numero: " aread -p "dammi il secondo numero: " b 
if [  $a -eq 0 -a $b -eq 0 ]; then        echo " uno dei due numeri deve essere superiore a zero"else        until [ $t -eq 20 ]; do</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/618068258445971787/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/12/la-sequenza-di-fibonacci-e-bash.html#comment-form' title='2 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/618068258445971787'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/618068258445971787'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/12/la-sequenza-di-fibonacci-e-bash.html' title='La sequenza di fibonacci e bash'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-zhb1FEOunXg/TuIYOe78mDI/AAAAAAAADAc/o9mlzfePvOs/s72-c/con.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-2644890418072278422</id><published>2011-12-08T18:37:00.001+01:00</published><updated>2011-12-08T18:57:20.778+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Archbang'/><title type='text'>Archbang e la doppia icona dell' applet network manager</title><summary type='text'>Avrete sicuramente notato che sul pannello di archbang ci sono due icone dell'applet network manager




Per ritornare alla normalità, basta aprire un terminale e digitare:


$ leafpad /$HOME/.config/openbox/autostart

nel file che si apre, bisogna commentare la prima riga;

da così

 (sleep 3 &amp;&amp; /usr/bin/nm-applet –sm-disable) &amp;

a così

#(sleep 3 &amp;&amp; /usr/bin/nm-applet –sm-disable) &amp;

Logout ed </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/2644890418072278422/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/12/archbang-e-la-doppia-icona-dell-applet.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/2644890418072278422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/2644890418072278422'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/12/archbang-e-la-doppia-icona-dell-applet.html' title='Archbang e la doppia icona dell&apos; applet network manager'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-SKbSDRmvAv0/TuD2cp0wSlI/AAAAAAAAC9g/-Wlx7WBs5dw/s72-c/2011-12-08--1323365195_192x89_scrot.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-2861342177079156062</id><published>2011-12-08T16:46:00.001+01:00</published><updated>2011-12-19T01:05:22.071+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Matematica con bash'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu script'/><category scheme='http://www.blogger.com/atom/ns#' term='bc'/><category scheme='http://www.blogger.com/atom/ns#' term='SCripting'/><title type='text'>Il triangolo di tartaglia e bash</title><summary type='text'>Fuori pioveva così ho "preso" until e ho creato uno script che genera il triangolo di Tartaglia (o di Niccolò Fontana o di Pascal o di Kayyam). Per la cronaca, avrei potuto usare anche for o while. Certo, con python è più semplice (vero Juhan?); con bash, leggermente di meno. :)


Eccolo.

#!/bin/bash#bit3luxn=1until [ $n -ge 13 ]; do      n=$((n+1))      x=1       echo -n  "$x "      k=1      </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/2861342177079156062/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/12/il-triangolo-di-tartaglia-e-bash.html#comment-form' title='4 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/2861342177079156062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/2861342177079156062'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/12/il-triangolo-di-tartaglia-e-bash.html' title='Il triangolo di tartaglia e bash'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-3292801893870079728</id><published>2011-11-27T02:24:00.001+01:00</published><updated>2011-11-27T03:05:29.466+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Archbang'/><title type='text'>Se Archbang scarica pacchetti ad una velocità irrisoria</title><summary type='text'>Salve!

Ho scoperto, con grande stupore, che su Archbang sono abilitati di default tutti i server; e questo non è un bene per quanto riguarda la velocità nell'aggiornarsi e scaricare i pacchetti.

Per risolvere questo increscioso problema:

$ sudo su

# nano /etc/pacman.d/mirrorlist

ed ho commentato tutti i server eccetto quelli della Germania, Italia, Francia e Svizzera.

Dopo aver salvato le </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/3292801893870079728/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/11/se-archbang-scarica-pacchetti-ad-una.html#comment-form' title='4 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/3292801893870079728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/3292801893870079728'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/11/se-archbang-scarica-pacchetti-ad-una.html' title='Se Archbang scarica pacchetti ad una velocità irrisoria'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-A6lTAv_O4jM/TtGVbLX-cMI/AAAAAAAAC9Y/e7jtP_vARP8/s72-c/2011-11-27--1322357704_1280x800_scrot.png' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-3430749139705067675</id><published>2011-11-26T06:54:00.001+01:00</published><updated>2011-11-26T07:11:16.133+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Progetto Bash'/><category scheme='http://www.blogger.com/atom/ns#' term='Botta e Risposta'/><title type='text'>Come faccio ad eliminare le prime 4 righe di dieci file di testo in un colpo solo?</title><summary type='text'>Metto i file di testo in una cartella appositamente creata nella directory Documenti.

Poi mi sposto in quella cartella

$ cd Documenti/mia_cartella

e lancio il seguente comando:

$ sed '1,4d' -i *.txt

1-4 sono le righe che voglio eliminare
d sta per delete
-i sta per edit files in place
*.txt: l'operazione dovrà riguardare tutti i file contenuti nella cartella

NB. La cartella deve contenere </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/3430749139705067675/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/11/come-faccio-ad-eliminare-le-prime-4.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/3430749139705067675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/3430749139705067675'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/11/come-faccio-ad-eliminare-le-prime-4.html' title='Come faccio ad eliminare le prime 4 righe di dieci file di testo in un colpo solo?'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-5442906096093005115</id><published>2011-11-25T18:43:00.001+01:00</published><updated>2011-11-26T03:35:05.601+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Progetto Bash'/><title type='text'>Cicli annidati</title><summary type='text'>Avevo detto che il post dell'ultima volta sarebbe stato l'ultimo dedicato ai cicli, ma non è così. Ancora  mancano degli argomenti importanti quali select, break etc, etc. E sinceramente non saremmo riusciti a dormire sereni. :)
Introduco brevemente un altro argomento, quello sui cicli annidati.

Ecco un esempio di cicli for annidati.  

#!/bin/bashfor a in 1 2 3 4 5doecho " Sono il ciclo esterno</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/5442906096093005115/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/11/cicli-annidati.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/5442906096093005115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/5442906096093005115'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/11/cicli-annidati.html' title='Cicli annidati'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-4492076334567891795</id><published>2011-11-23T16:47:00.001+01:00</published><updated>2011-11-23T17:49:29.205+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Progetto Bash'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu script'/><category scheme='http://www.blogger.com/atom/ns#' term='Botta e Risposta'/><category scheme='http://www.blogger.com/atom/ns#' term='SCripting'/><title type='text'>Come faccio a sommare i numeri contenuti in un file di testo?</title><summary type='text'>Io e il caro Lightuono abbiamo deciso di dare vita ad una nuova sezione del progetto bash: "Botta e Risposta"

C'è poco da dire al riguardo, ci si pone delle domande (su bash, ovvio! :D) e si cerca di dare una risposta. Ovviamente noi daremo una risposta, ma non è detto che sia l'unica possibile.


Insomma è importante anche il vostro contributo. Posta la domanda, saremo ben lieti di accogliere </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/4492076334567891795/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/11/come-faccio-sommare-i-numeri-contenuti.html#comment-form' title='4 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/4492076334567891795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/4492076334567891795'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/11/come-faccio-sommare-i-numeri-contenuti.html' title='Come faccio a sommare i numeri contenuti in un file di testo?'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-3820459493154787017</id><published>2011-11-22T12:25:00.001+01:00</published><updated>2011-11-22T13:28:29.822+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Progetto Bash'/><title type='text'>Il ciclo until</title><summary type='text'> Salve!

Ed eccoci al terzo ed ultimo post teorico dedicato ai cicli. Dalla prossima volta parleremo di altro. :)

Oggi ci occuperemo di until. 

Il ciclo until può essere sintetizzato nei seguenti termini: "Fino a quando è falsa la condizione, esegui (itera) le istruzioni contenute tra do e done."
Eccone la sintassi:

until [ condizione ]do comando(i)...done

Ovviamente può essere scritto anche </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/3820459493154787017/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/11/il-ciclo-until.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/3820459493154787017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/3820459493154787017'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/11/il-ciclo-until.html' title='Il ciclo until'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-6160987181142185829</id><published>2011-11-20T13:29:00.001+01:00</published><updated>2011-11-24T04:48:27.574+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='debian testing'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian Wheezy'/><title type='text'>Se Debian testing non vede la partizione swap</title><summary type='text'>Salve! :)

Con immenso stupore (in senso negativo) ho scoperto che la mia debian testing non rilevava la partizione swap.

Ecco cosa compariva dal monitor di sistema.




Dopo tante peripezie scopro che l'errore era nel file /etc/fstab.

Andiamo per gradi.

Ho lanciato il seguente comando 

$ sudo blkid

e mi sono appuntato l'UUID della partizione swap




poi ho editato il file /etc/fstab,

$ </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/6160987181142185829/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/11/se-debian-testing-non-vede-la.html#comment-form' title='6 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/6160987181142185829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/6160987181142185829'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/11/se-debian-testing-non-vede-la.html' title='Se Debian testing non vede la partizione swap'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-nMaIRP49nGU/Tsjy6HIOjmI/AAAAAAAAC8Y/aDObwEFQCk0/s72-c/swap.png' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-1786600613654099360</id><published>2011-11-17T03:39:00.001+01:00</published><updated>2011-11-17T14:16:36.389+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='debian testing'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian Wheezy'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu 11.10'/><title type='text'>Se la PRO/Wireless 3945ABG [Golan] fa i capricci su debian testing.</title><summary type='text'>Salve!

Ne è passata acqua sotto i ponti dall'ultima volta che ho scritto su questo mio povero blog!

Vabbè, gli impegni purtroppo hanno preso il sopravvento! Nonostante tutto sono successe tante cose... tanto per cominciare, ho installato su due miei pc debian testing con gnome shell. Certo, il mio DE preferito rimane sempre Xfce, ma gnome shell non è niente male... Avremo modo di discuterne nei</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/1786600613654099360/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/11/se-la-prowireless-3945abg-golan-fa-i.html#comment-form' title='4 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1786600613654099360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1786600613654099360'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/11/se-la-prowireless-3945abg-golan-fa-i.html' title='Se la PRO/Wireless 3945ABG [Golan] fa i capricci su debian testing.'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-1876059756965891858</id><published>2011-11-08T00:11:00.002+01:00</published><updated>2011-11-08T01:01:00.229+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Utility'/><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Pdf'/><title type='text'>Concatenare pagine estrapolate da diversi pdf</title><summary type='text'>Poniamo il caso di avere più file pdf e che da ognuno di esso si voglia estrapolare delle pagine per poi concatenarle in un unico file.

La soluzione a questo problema è rappresentata da pdftk.

Per installarlo,

$ sudo apt-get install pdftk
Prendiamo in considerazione il mio caso: 

Ho sulla scrivania tre file pdf

bit3lux@bit:~/Scrivania$ ls *pdf
bash1.pdf  bash2.pdf  bash3.pdf

Una volta </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/1876059756965891858/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/11/concatenare-pagine-estrapolate-da.html#comment-form' title='2 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1876059756965891858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1876059756965891858'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/11/concatenare-pagine-estrapolate-da.html' title='Concatenare pagine estrapolate da diversi pdf'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-6534353164955023592</id><published>2011-11-04T13:10:00.001+01:00</published><updated>2011-11-04T13:19:08.085+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu script'/><category scheme='http://www.blogger.com/atom/ns#' term='SCripting'/><title type='text'>"Ora" et labora</title><summary type='text'>Il motto benedettino è solo il pretesto per mostrarvi un piccolo script divertente. Almeno spero! :)

L'"ora" del titolo, lungi dal voler significare "prega", sta proprio per "ora", nel senso di "che ore sono?" :D
A cosa serve 'sto script? Trasforma il terminale in un grande orologio digitale colorato. :)

Anzitutto dovete installare il pacchetto "toilet"

$ sudo apt-get install toilet

Ecco il </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/6534353164955023592/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/11/ora-et-labora.html#comment-form' title='2 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/6534353164955023592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/6534353164955023592'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/11/ora-et-labora.html' title='&quot;Ora&quot; et labora'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-291065684024042119</id><published>2011-11-03T14:09:00.001+01:00</published><updated>2011-11-03T14:12:15.518+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='debian testing'/><category scheme='http://www.blogger.com/atom/ns#' term='Xfce'/><category scheme='http://www.blogger.com/atom/ns#' term='LMDE XFCE'/><category scheme='http://www.blogger.com/atom/ns#' term='Xubuntu'/><title type='text'>Orologio xfce: Formato personalizzato</title><summary type='text'>Su Xfce, l'orologio, che è un plugin del pannello, ci dà la possibilità di scegliere pochissimi formati.

Ma noi possiamo fare molto, ma molto di più.

facciamo clic col tasto destro del mouse sull'orologio e scegliamo proprietà.
In formato, apriamo il menu a tendina e scegliamo formato personalizzato.









Cancelliamo "%R" e aggiungiamo la seguente riga:
    
%a %d %b %k:%M



Avremo così:

</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/291065684024042119/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/11/orologio-xfce-formato-personalizzato.html#comment-form' title='2 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/291065684024042119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/291065684024042119'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/11/orologio-xfce-formato-personalizzato.html' title='Orologio xfce: Formato personalizzato'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-gj6WbC2eN20/TrKNne3N53I/AAAAAAAAC74/CPV1LKQamY0/s72-c/Istantanea+-+03112011+-+13%253A47%253A47.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-2526975087895761620</id><published>2011-11-02T17:50:00.000+01:00</published><updated>2011-11-02T18:05:52.918+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Progetto Bash'/><title type='text'>"Iteriamo" con while</title><summary type='text'>Oggi ci occuperemo del costrutto While.

Esso può essere sintetizzato con una sola frase: "Fino a quando è vera la condizione, esegue (itera) le istruzioni contenute tra do e done."

Eccone la sintassi:

while [ condizione ]do comando(i)...done

Ovviamente può essere scritto anche su una sola riga:

while [ condizione ]; do istruzioni; done

Per puro stile, si scrive così:

while [ condizione ]; </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/2526975087895761620/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/11/iteriamo-con-while.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/2526975087895761620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/2526975087895761620'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/11/iteriamo-con-while.html' title='&quot;Iteriamo&quot; con while'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-2557678854542853637</id><published>2011-10-31T13:01:00.003+01:00</published><updated>2011-12-24T21:01:34.974+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Matematica con bash'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu script'/><category scheme='http://www.blogger.com/atom/ns#' term='bc'/><category scheme='http://www.blogger.com/atom/ns#' term='SCripting'/><title type='text'>Bash e le equazioni di secondo grado</title><summary type='text'>Ecco un piccolo script (semplice) che risolve le equazioni di secondo grado complete.
L'equazione di secondo grado completa è quel tipo equazione

ax^2 + bx + c = 0 

dove tutti i coifficienti (a, b e c) sono diversi da zero.

Essa viene risolta con il cosiddetto metodo del completamento del quadrato. Non mi dilungo su queste cose; anche perchè lo scopo del post non è quello di fare una lezione </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/2557678854542853637/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/bash-e-lequazioni-di-secondo-grado.html#comment-form' title='3 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/2557678854542853637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/2557678854542853637'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/bash-e-lequazioni-di-secondo-grado.html' title='Bash e le equazioni di secondo grado'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-6228908514863415770</id><published>2011-10-28T15:16:00.000+02:00</published><updated>2011-10-29T11:28:28.885+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu script'/><category scheme='http://www.blogger.com/atom/ns#' term='bc'/><category scheme='http://www.blogger.com/atom/ns#' term='SCripting'/><title type='text'>"La potenza" di bc</title><summary type='text'>Salve!

Come tutti sappiamo, si dice potenza il prodotto ottenuto moltiplicando il numero per sé stesso.

Es.
2(base)^(elevato) a 5(esponente) = 32(potenza)

e come se scrivessi

 2*2*2*2*2= 32

Giusto per rinfrescare le idee (mi rendo conto, non ce ne sarebbe stato bisogno) :D 

Cosa fa lo script?

Vi chiede un numero (la base), lo moltiplica per se stesso fino a 100 volte (ma volendo, anche di </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/6228908514863415770/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/la-potenza-di-bc.html#comment-form' title='7 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/6228908514863415770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/6228908514863415770'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/la-potenza-di-bc.html' title='&quot;La potenza&quot; di bc'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-1581603844358946411</id><published>2011-10-25T13:36:00.001+02:00</published><updated>2011-10-25T13:44:09.211+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu script'/><category scheme='http://www.blogger.com/atom/ns#' term='bc'/><category scheme='http://www.blogger.com/atom/ns#' term='SCripting'/><title type='text'>Tot, la calcolatrice nel terminale</title><summary type='text'> Salve!

Tot è un piccolo, anzi piccolissimo script che trasforma il terminale in una calcolatrice.

#!/bin/bash( echo scale=2; echo "$@" ) | bcexit 0

Create un documento di testo sulla scrivania, chiamatelo tot e incollateci il codice di cui sopra.

Poi dal terminale spostatevi sulla scrivania

$ cd Scrivania

rendete eseguibile lo script

$ chmod +x tot

e spostatelo in /usr/local/bin

$ sudo </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/1581603844358946411/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/tot-la-calcolatrice-nel-terminale.html#comment-form' title='3 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1581603844358946411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1581603844358946411'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/tot-la-calcolatrice-nel-terminale.html' title='Tot, la calcolatrice nel terminale'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-2464459526715397485</id><published>2011-10-23T18:04:00.001+02:00</published><updated>2011-10-24T01:47:23.916+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu grafica'/><category scheme='http://www.blogger.com/atom/ns#' term='Colori'/><category scheme='http://www.blogger.com/atom/ns#' term='Gimp: Tra realtà e finzione'/><title type='text'>RGB e i codici esadecimale dei colori</title><summary type='text'>Parliamo un pò di colori!

Sapete, dopo tre giorni trascorsi con la mia nipotina a colorare disegnini .....qualcosa la dovevo pur scrivere sull'argomento :)

Spesso ci imbattiamo in sigle quali RGB, #FFFFFFF, CMYK, HSV, o in parole criptiche quali esadecimale, decimale, truecolor, HEX etc.

Vabbè, mi rendo conto che il discorso da fare sarebbe lunghissimo, mi limito perciò all'essenziale. Non </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/2464459526715397485/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/rgb-e-i-codici-esadecimale-dei-colori.html#comment-form' title='6 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/2464459526715397485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/2464459526715397485'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/rgb-e-i-codici-esadecimale-dei-colori.html' title='RGB e i codici esadecimale dei colori'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-2732970481341243344</id><published>2011-10-20T03:13:00.001+02:00</published><updated>2011-10-20T05:54:04.748+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Foto'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian foto'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu script'/><category scheme='http://www.blogger.com/atom/ns#' term='SCripting'/><title type='text'>Ho creato i nuovi mostri</title><summary type='text'>Oggi la mia nipotina di 5 anni mi chiede: Zio ce l'avresti dei disegnini da colorare?

Domanda da tanti milioni di dollari messi assieme.

Nel mio studio c'è di tutto, ma di disegni da colorare neanche l'ombra. :)

Ho deciso così di crearli.


Ho fatto uno script semplice semplice.

#!/bin/bashfor i in *.jpg doconvert $i -morphology Edge Octagon $i.pngconvert -charcoal 1 $i.png $i.pngdoneexit 0

</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/2732970481341243344/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/ho-creato-i-nuovi-mostri.html#comment-form' title='4 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/2732970481341243344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/2732970481341243344'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/ho-creato-i-nuovi-mostri.html' title='Ho creato i nuovi mostri'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-OnvytDzpAm8/Tp9yUf8yNdI/AAAAAAAAC6k/H66DIi27NA0/s72-c/topolino.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-8700793428502600429</id><published>2011-10-19T19:22:00.001+02:00</published><updated>2011-10-25T13:29:15.191+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Fisica e bash'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu script'/><category scheme='http://www.blogger.com/atom/ns#' term='bc'/><category scheme='http://www.blogger.com/atom/ns#' term='SCripting'/><title type='text'>Calcoliamo la velocità media</title><summary type='text'>Supponiamo di dover percorrere un tragitto di 100 Km in 60 minuti. 

Quale dovrà essere la velocità media della nostra auto?

Ho preso spunto da questo problema di fisica per impostare uno script! :)

Lo script dà la possibilità  di calcolare, con un margine di errore bassissimo,


la velocità media in km/h (chilometri all'ora)
la velocità media in m/s (metri al secondo)




#! /bin/bash
#author </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/8700793428502600429/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/calcoliamo-la-velocita-media.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/8700793428502600429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/8700793428502600429'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/calcoliamo-la-velocita-media.html' title='Calcoliamo la velocità media'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-5499245897122477090</id><published>2011-10-17T13:20:00.000+02:00</published><updated>2011-10-17T13:30:04.010+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Progetto Bash'/><title type='text'>FORever! :)</title><summary type='text'>Con il post teorico di oggi, apriamo un nuovo capitolo del "Progetto Bash." 

Introduciamo, dopo esserci soffermati per molto tempo sui costrutti condizionali, i cicli.
La nostra shell, bash appunto, mette a disposizioni tre tipi di cicli:
for
while
until

Sicuramente in molti vi state chiedendo come mai il post di oggi non si svolge sotto forma di intervista come il precedente. Ebbene, ho deciso</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/5499245897122477090/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/forever.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/5499245897122477090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/5499245897122477090'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/forever.html' title='FORever! :)'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-325787349501323558</id><published>2011-10-16T06:07:00.001+02:00</published><updated>2011-10-16T07:05:44.344+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian Wheezy'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian Squeeze'/><title type='text'>Aggiungere le icone ai menu di iceweasel</title><summary type='text'>Salve!

Piccolo appunto. Quello che sto per dire non risolve alcun problema essenziale (nè tantomeno esistenziale).

Ho scoperto dell'esistenza di un'estensione che aggiunge le icone ai menu di iceweasel (firefox).


Veramente niente male.




A proposito, l'estensione si chiama menu incons plus

Per scaricarla cliccate qui

Se poi andate in strumenti/componenti aggiuntivi/estensioni/menu incons </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/325787349501323558/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/aggiungere-le-icone-ai-menu-di.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/325787349501323558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/325787349501323558'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/aggiungere-le-icone-ai-menu-di.html' title='Aggiungere le icone ai menu di iceweasel'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-lQPE0eMlOtc/TppU8oIZEOI/AAAAAAAAC5s/GkYthchSqoU/s72-c/Istantanea+-+16102011+-+05%253A51%253A38.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-3809454673942231462</id><published>2011-10-16T02:18:00.002+02:00</published><updated>2011-10-16T03:16:34.462+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Debian audio e video'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu mplayer'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu audio e video'/><title type='text'>Ecco come ascolto la radio!</title><summary type='text'> Salve!

Vi mostro un modo per ascoltare la radio in streaming su linux.

Posto che abbiate già aggiunto i repo multimediali (medibuntu su ubuntu, multimedia su debian),

aprite il terminale e installate ciò che  occorre:


$ sudo apt-get install mplayer-nogui libmpg123-0

Sinceratevi che sia installato anche libavcodec

Ora create un file di testo nella vostra home e nominatelo radio.playlist

</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/3809454673942231462/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/ecco-come-ascolto-la-radio.html#comment-form' title='6 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/3809454673942231462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/3809454673942231462'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/ecco-come-ascolto-la-radio.html' title='Ecco come ascolto la radio!'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-316688582144561035</id><published>2011-10-14T08:38:00.000+02:00</published><updated>2011-10-14T11:06:44.311+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu script'/><category scheme='http://www.blogger.com/atom/ns#' term='SCripting'/><title type='text'>Calcolare i giorni tra due date</title><summary type='text'>Salve!

Penso che il titolo del post sia abbastanza esplicativo. :)
Stanotte ho creato un piccolo script che calcola il numero di giorni tra due date.
Es. Quanti giorni ci sono tra il 15-10-2011 e il 17-03-2013?

Ecco il testo dello script:


#!/bin/bash#name: calcday  #calcolare il numero di giorni tra due date#autor: Bit3luxecho "dammi la prima data"echo "prima l'anno, poi il mese e infine il </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/316688582144561035/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/calcolare-i-giorni-tra-due-date.html#comment-form' title='2 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/316688582144561035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/316688582144561035'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/calcolare-i-giorni-tra-due-date.html' title='Calcolare i giorni tra due date'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-927106503187161665</id><published>2011-10-13T15:59:00.002+02:00</published><updated>2011-10-13T17:13:02.883+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Progetto Bash'/><title type='text'>Fammi un case!</title><summary type='text'>Da questo post cambiamo la metodologia di esposizione della parte teorica del progetto.
Il nostro timore è sempre stato quello di trasformare il "Progetto Bash" in qualcosa di troppo scolastico, di troppo formale.
E dato che il timore stava (forse) diventando realtà, abbiamo deciso di rendere più fluido (e forse anche più semplice) il discorso esponendo gli argomenti, di volta in volta trattati, </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/927106503187161665/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/fammi-un-case.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/927106503187161665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/927106503187161665'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/fammi-un-case.html' title='Fammi un case!'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-6693284993617278886</id><published>2011-10-11T17:18:00.001+02:00</published><updated>2011-10-11T18:07:33.204+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Progetto Bash'/><title type='text'>Progetto Bash: IF - Differenza tra [ &amp; [[</title><summary type='text'>Oggi parleremo della differenza tra vecchio "[" e nuovo "[["

Come ormai tutti sappiamo, "[" è il comando test e il suo compito è quello di valutare un'espressione tramite gli operatori logici. Basta digitare nel terminale 

man test

oppure

man [

per capire meglio di cosa stiamo parlando.

[[ è la nuova versione del comando test (si fa per dire! è stato introdotto nel lontano 1998! :D). Badate</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/6693284993617278886/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/progetto-bash-if-differenza-tra-e.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/6693284993617278886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/6693284993617278886'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/progetto-bash-if-differenza-tra-e.html' title='Progetto Bash: IF - Differenza tra [ &amp; [['/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-3297862761706755880</id><published>2011-10-06T04:37:00.000+02:00</published><updated>2011-10-06T06:35:28.611+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Debian Wheezy'/><category scheme='http://www.blogger.com/atom/ns#' term='Xfce'/><category scheme='http://www.blogger.com/atom/ns#' term='LMDE XFCE'/><title type='text'>La mia stampante "HP LaserJet M1120 MFP" e LMDE Xfce</title><summary type='text'>Piccolo appunto!

Come qualcuno già sa, tra le distro che uso c'è anche LMDE Xfce.

Linux mint debian edition è una distribuzione rolling basata su Debian Testing.

E' disponibile sia per architetture a 32 bit che a 64 bit.

Attualmente ne esistono due versioni: LMDE Gnome e LMDE Xfce

Io attualmente sto usando Xfce come DE.


Nel caso qualcuno la voglia provare, vi lascio la pagina web del </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/3297862761706755880/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/la-mia-stampante-hp-laserjet-m1120-mfp.html#comment-form' title='5 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/3297862761706755880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/3297862761706755880'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/la-mia-stampante-hp-laserjet-m1120-mfp.html' title='La mia stampante &quot;HP LaserJet M1120 MFP&quot; e LMDE Xfce'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-fa2Cdh1_wqs/To0QP3J0HQI/AAAAAAAAC44/t-bFLGScRZM/s72-c/1.png' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-1891047147098841346</id><published>2011-10-02T05:35:00.000+02:00</published><updated>2011-10-03T04:11:54.177+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Debian Wheezy'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian Squeeze'/><category scheme='http://www.blogger.com/atom/ns#' term='La storia di debian'/><title type='text'>La storia di debian letta attraverso i miei occhiali #1</title><summary type='text'>L'idea di questo post, spero di questa serie di post, nasce dal desiderio di conoscere le radici, la storia del sistema operativo che uso nella mia quotidianità: Debian.

Capostipite di tanti altri OS divenuti ormai famosi, quali ubuntu e linux mint.
Giusto per citarne alcuni.

Siamo nel mondo del software libero. Mondo in cui migliaia e migliaia di persone dedicano parte del loro tempo per </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/1891047147098841346/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/la-storia-di-debian-letta-attraverso-i.html#comment-form' title='13 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1891047147098841346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1891047147098841346'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/la-storia-di-debian-letta-attraverso-i.html' title='La storia di debian letta attraverso i miei occhiali #1'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-1482577628357015507</id><published>2011-10-01T03:55:00.000+02:00</published><updated>2011-10-01T15:40:26.825+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Debian Wheezy'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian Squeeze'/><category scheme='http://www.blogger.com/atom/ns#' term='LMDE XFCE'/><title type='text'>E mozilla continua a correre</title><summary type='text'>Questo post è la continuazione di quest'altro (qui)

Stamattina mi sono trovato con iceweasel 8. A dire il vero va una scheggia, ma la maggior parte delle estensioni non sono ancora compatibili.

Ho mantenuto la versione 8 su tre pc, sugli altri due sono passato alla versione stabile. 

Per ritornare alla versione stabile (iceweasel 7, per intenderci):


Ho rimosso questi pacchetti

sudo apt-get </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/1482577628357015507/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/e-mozilla-continua-correre.html#comment-form' title='8 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1482577628357015507'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1482577628357015507'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/10/e-mozilla-continua-correre.html' title='E mozilla continua a correre'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-1422688541860829703</id><published>2011-09-30T03:06:00.003+02:00</published><updated>2011-09-30T03:10:31.751+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Debian Wheezy'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian Squeeze'/><category scheme='http://www.blogger.com/atom/ns#' term='LMDE XFCE'/><title type='text'>Quando il touchpad e debian non vanno d'accordo</title><summary type='text'>Piccolissimo appunto.

Puo succedere che dopo aver installato debian squeeze, ma anche testing, non funzioni più il touchpad. 

E' successo a un mio caro amico. Dopo aver installato debian squeeze, non riusciva ad emulare il clic con il touchpad.


Ma in parte è successo anche a me con testing. Fino ad oggi il touchpad, nella schermata di login, non ha mai funzionato. O meglio, riuscivo a </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/1422688541860829703/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/09/quando-il-touchpad-e-debian-non-vanno.html#comment-form' title='8 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1422688541860829703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1422688541860829703'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/09/quando-il-touchpad-e-debian-non-vanno.html' title='Quando il touchpad e debian non vanno d&apos;accordo'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-3303187116637812075</id><published>2011-09-28T16:17:00.000+02:00</published><updated>2011-09-29T17:31:33.345+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Debian Wheezy'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian Squeeze'/><category scheme='http://www.blogger.com/atom/ns#' term='LMDE XFCE'/><title type='text'>Iceweasel 7 in italiano su Debian</title><summary type='text'>Piccolo appunto!

Tutti parlano di Firefox 7. Vabbè, su Xubuntu 11.10 c'è già la versione 7 dalla beta1

E su debian?

Ma esiste un repository che va aggiunto nel sources.list! Non sapevo che bastasse modificarlo per passare dalla versione 6 alla 7. 

Mi è bastato chiedere all'amico Lightuono: "basta che sostituisci iceweasel-release con iceweasel-beta e avrai iceweasel sempre aggiornato"
Ho così</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/3303187116637812075/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/09/iceweasel-7-in-italiano-su-debian.html#comment-form' title='13 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/3303187116637812075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/3303187116637812075'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/09/iceweasel-7-in-italiano-su-debian.html' title='Iceweasel 7 in italiano su Debian'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-8JzI3hyWAgk/ToMqet6DZmI/AAAAAAAAC30/rgLx50IWnoA/s72-c/Istantanea+-+28092011+-+16%253A08%253A24.png' height='72' width='72'/><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-8537269583098152204</id><published>2011-09-27T14:22:00.000+02:00</published><updated>2011-09-27T14:23:13.609+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Debian Wheezy'/><category scheme='http://www.blogger.com/atom/ns#' term='Xfce'/><category scheme='http://www.blogger.com/atom/ns#' term='LMDE XFCE'/><category scheme='http://www.blogger.com/atom/ns#' term='Xubuntu'/><title type='text'>Dropbox su xfce</title><summary type='text'>Piccolo appunto. Per installare dropbox su lmde xfce, ma anche su xubuntu e debian testing con xfce, 

bisogna scaricare un plugin:

per le architetture a 32 bit (qui)

per le architetture a 64 bit (qui)

Prima di procedere all'installazione del pacchetto,



ho scaricato nautilus-dropbox

sudo apt-get install nautilus-dropbox

poi mi sono spostato col terminale sulla scrivania, dove si trovava </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/8537269583098152204/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/09/dropbox-su-xfce.html#comment-form' title='1 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/8537269583098152204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/8537269583098152204'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/09/dropbox-su-xfce.html' title='Dropbox su xfce'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-8294913250305517560</id><published>2011-09-23T21:44:00.000+02:00</published><updated>2011-09-23T21:58:19.094+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian Squeeze'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='Xubuntu'/><title type='text'>Come avere il man di bash in formato pdf e in italiano</title><summary type='text'>Piccolo appunto. Stasera dovevo necessariamente leggere il man di bash.

Leggere le pagine man da terminale, come sapete, non è proprio il massimo. Considerando poi che sono in inglese....

Vabbè, molti man in lingua inglese sono più aggiornati.... ma non quello di bash. E a me serviva in italiano e, possibilmente, "leggibile". 

Anzitutto l'ho reso in italiano 

$ sudo apt-get install </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/8294913250305517560/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/09/come-avere-il-man-di-bash-in-formato.html#comment-form' title='4 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/8294913250305517560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/8294913250305517560'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/09/come-avere-il-man-di-bash-in-formato.html' title='Come avere il man di bash in formato pdf e in italiano'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-9004603112449924976</id><published>2011-09-21T15:32:00.000+02:00</published><updated>2011-09-21T18:46:04.286+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Xfce'/><category scheme='http://www.blogger.com/atom/ns#' term='Xubuntu'/><title type='text'>Se su Xfce4 si cancella per sbaglio l'area di notifica</title><summary type='text'>Piccolo appunto. Può succedere (a me è successo tre ore prima di scrivere 'sto post) che, una volta configurata la proprio distro a pennello, per puro gusto di sperimentare, cancelli qualcosa di cui, poi, ti penti amaramente.

Premetto che ora sono su Xubuntu 11.10. E' successo che, per sbaglio, sono andato a cancellare l'area di notifica. Se mi fossi trovato su gnome, sarebbe stato un gioco da </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/9004603112449924976/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/09/se-su-xfce4-si-cancella-per-sbaglio.html#comment-form' title='2 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/9004603112449924976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/9004603112449924976'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/09/se-su-xfce4-si-cancella-per-sbaglio.html' title='Se su Xfce4 si cancella per sbaglio l&apos;area di notifica'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-f7bWmpCgg5U/Tnnkd8OW8VI/AAAAAAAAC3M/8NCh3NsqjEk/s72-c/prima+imm.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-6231465175765453905</id><published>2011-09-18T12:43:00.000+02:00</published><updated>2011-09-18T12:46:33.968+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Debian Wheezy'/><category scheme='http://www.blogger.com/atom/ns#' term='Xfce'/><category scheme='http://www.blogger.com/atom/ns#' term='Xubuntu'/><title type='text'>xfce4-panel: Pannelli trasparenti</title><summary type='text'>Un piccolo appunto. Per rendere trasparenti i pannelli in xfce 4.8 ho fatto così:

Ho seguito prima questo percorso

menu/setting/gestore delle impostazioni/regolazioni del gestore delle finestre/compositore

e nella finestra Compositore ho messo il segno di spunta su abilita la visualizzazione composita

Poi sono andato in

menu/setting/gestore delle impostazioni/pannelli

e, prima, ho scelto il</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/6231465175765453905/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/09/xfce4-panel-pannelli-trasparenti.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/6231465175765453905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/6231465175765453905'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/09/xfce4-panel-pannelli-trasparenti.html' title='xfce4-panel: Pannelli trasparenti'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-sShET1vNcAk/TnXKAArCzjI/AAAAAAAAC3A/BTZOpknBgUc/s72-c/Istantanea+-+18092011+-+12%253A25%253A03.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-4649540431768849559</id><published>2011-09-18T02:17:00.000+02:00</published><updated>2011-09-18T13:10:20.266+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Debian Squeeze'/><category scheme='http://www.blogger.com/atom/ns#' term='Xfce'/><category scheme='http://www.blogger.com/atom/ns#' term='Xubuntu'/><title type='text'>Rendere trasparente lo sfondo del testo delle icone sulla scrivania in xfce</title><summary type='text'>Ormai, come qualcuno (forse) saprà, sono passato a Xfce. Posso dire che 'sto DE mi sta dando molte soddisfazioni in termini di efficienza e leggerezza. 

La cosa bella è che ogni idea che mi passa per l'anticamera del cervello è realizzabile.

Ovviamente mi riferisco alla configurazione di xfce. :D

Certo, bisogna perderci un pò di tempo, ma alla fine si raggiungono ottimi risultati.

Giusta per </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/4649540431768849559/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/09/rendere-trasparente-lo-sfondo-del-testo.html#comment-form' title='3 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/4649540431768849559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/4649540431768849559'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/09/rendere-trasparente-lo-sfondo-del-testo.html' title='Rendere trasparente lo sfondo del testo delle icone sulla scrivania in xfce'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-ZR-2PNTcJ8c/TnU3O3A6T0I/AAAAAAAAC24/FjYPSzLmUXU/s72-c/Istantanea+-+18092011+-+01%253A32%253A05.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-2231902364052708661</id><published>2011-09-14T20:40:00.001+02:00</published><updated>2011-09-15T06:27:51.445+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu FFmpeg'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian audio e video'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu audio e video'/><title type='text'>Da vob ad avi con ffmpeg</title><summary type='text'>Salve!

Ogni volta che mi cimento con ffmpeg perdo almeno tre ore della mia esistenza ma,  come si dice dalle mie parti, "adduvi c'è gusto non c'è pirdenza" :)

Dovevo necessariamente convertire un file vob in avi e, dato che avevo un pò di tempo a disposizione, ho provato a farlo con ffmpeg, che reputo il migliore in assoluto. 

Dopo aver letto per benino il man, ho iniziato ad impostare la riga</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/2231902364052708661/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/09/da-vob-ad-avi-con-ffmpg.html#comment-form' title='5 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/2231902364052708661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/2231902364052708661'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/09/da-vob-ad-avi-con-ffmpg.html' title='Da vob ad avi con ffmpeg'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-4118127774424519721</id><published>2011-09-12T12:50:00.001+02:00</published><updated>2011-09-14T22:42:52.683+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Progetto Bash'/><title type='text'>Progetto Bash: IF - Exit status</title><summary type='text'>Salve!

Dato che sono trascorsi più di due mesi dall'ultimo post teorico sul progetto bash cerco, in qualche modo, di richiamare alla mente alcuni concetti cardini, per poi continuare con nuovi argomenti. 

Volendo trarre delle considerazioni dai post che abbiamo scritto finora, possiamo dire che

lo script può consistere in una semplice sequenza di comandi


uno script più avanzato richiede (</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/4118127774424519721/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/09/progetto-bash-if-exit-status.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/4118127774424519721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/4118127774424519721'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/09/progetto-bash-if-exit-status.html' title='Progetto Bash: IF - Exit status'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-5326905255593108747</id><published>2011-09-07T08:07:00.002+02:00</published><updated>2011-09-07T08:58:03.128+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Debian Wheezy'/><category scheme='http://www.blogger.com/atom/ns#' term='Xfce'/><title type='text'>Debian testing col topo!</title><summary type='text'>Vi racconto una storia di ordinaria amministrazione.

Ho un pc, per la precisione un Acer, con un hd di 320GB, 2G di memoria ram e una scheda video ati hd radeon 3450. Ci avevo installato ubuntu 11.10 e Xubuntu 11.04.

E' successo che da ieri il pc ha iniziato a crashare. Ho scoperto poi che la colpa era dell'hd, che presentava alcuni settori danneggiati. La scoperta, ahimè, l'ho fatta solo ieri </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/5326905255593108747/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/09/debian-testing-col-topo.html#comment-form' title='10 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/5326905255593108747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/5326905255593108747'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/09/debian-testing-col-topo.html' title='Debian testing col topo!'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-UbWNJQb-q0Q/TmcF4IOrTzI/AAAAAAAAC2o/gkhWLaYbA4Y/s72-c/Schermata-1.png' height='72' width='72'/><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-584965873555251417</id><published>2011-08-31T05:41:00.007+02:00</published><updated>2011-08-31T08:15:53.598+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Xfce'/><category scheme='http://www.blogger.com/atom/ns#' term='Xubuntu'/><title type='text'>Xfce 4.8 è il mio nuovo DE</title><summary type='text'>Contento di aver trovato finalmente un DE che  mi soddisfa veramente tanto, ho voluto, in questo post, mettere assieme alcuni dati per promuoverne, nel mio piccolo, la sua conoscenza. Sono convinto, infatti, che Xfce meriti veramente molto!

Cos'è xfce?
Xfce è un ambiente desktop come Gnome o KDE.

Chi è stato il suo ideatore?
Un certo Olivier Fourdan. Pare che sia di nazionalità francese.
Il </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/584965873555251417/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/08/xfce-48-e-il-mio-nuovo-de.html#comment-form' title='10 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/584965873555251417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/584965873555251417'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/08/xfce-48-e-il-mio-nuovo-de.html' title='Xfce 4.8 è il mio nuovo DE'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-ifT78IOd-ak/Tl2m1z-GynI/AAAAAAAAC2k/-0ifcBRqQyA/s72-c/xf.png' height='72' width='72'/><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-983495372384641865</id><published>2011-08-27T07:41:00.001+02:00</published><updated>2011-08-27T09:19:02.173+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Foto'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian foto'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu script'/><title type='text'>Scrittura circolare, convert e alcune foto delle mie vacanze</title><summary type='text'>E ora  posso dire che le ferie sono veramente terminate. Che tristezza! L'unica cosa buona è che  avrò più tempo da dedicare al mio blog. E non solo al mio blog.

Vabbè, lasciamo perdere la malinconia, altrimenti non la finisco più!

Oggi vi voglio mostrare alcune foto che ho fatto durante le mie vacanze! Tranquilli, non ho nessuna intenzione di tediarvi.

C'è gente che considera le proprie foto,</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/983495372384641865/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/08/scrittura-circolare-convert-e-alcune.html#comment-form' title='6 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/983495372384641865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/983495372384641865'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/08/scrittura-circolare-convert-e-alcune.html' title='Scrittura circolare, convert e alcune foto delle mie vacanze'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-J9d23HS7Ba4/TliALwn3EAI/AAAAAAAAC2U/Z1ELzQUVoGI/s72-c/luigi.jpg' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-6878745500157985836</id><published>2011-08-18T22:23:00.000+02:00</published><updated>2011-08-18T22:23:06.948+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Debian audio e video'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu audio e video'/><title type='text'>Gtick, un buon metrometro</title><summary type='text'> Salve!




Oggi mi è presa così!

Dopo aver accordato la chitarra grazie al mio script qui, mi serviva un metrometro per tenere il tempo.

La scelta è ricaduta su Gtick. Era da tempo che lo volevo installare!

sudo apt-get install gtick

Solo che quando l'ho avviato, la sorpresa non è stata una delle più liete.

ecco cosa è venuto fuori



Ho letto in giro che si tratta di un bug, ma installando</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/6878745500157985836/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/08/gtick-un-buon-metrometro.html#comment-form' title='2 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/6878745500157985836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/6878745500157985836'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/08/gtick-un-buon-metrometro.html' title='Gtick, un buon metrometro'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-ywgZuJ2um-E/Tk1zJgJanmI/AAAAAAAAC2Q/YYzjed79Kbw/s72-c/tintiied.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-7047147575248251972</id><published>2011-08-18T13:32:00.008+02:00</published><updated>2011-08-18T21:44:31.194+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sox'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu script'/><title type='text'>Accordare la chitarra con Sox</title><summary type='text'>Salve! 

 



Ritorno volentieri a parlare di Sox! Questa volta, però, per eseguire un'operazione un pò insolita, cioè per accordare una chitarra classica. :D 

Sox è un tool a riga di comando, il cui nome sta per Sound Exchange; è libero, multipiattaforma e rilasciato sotto licenza Gnu General Public License. 

E' meglio conosciuto come coltellino svizzero. 

Vabbè, tutte queste cose le avevo </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/7047147575248251972/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/08/accordare-la-chitarra-con-sox.html#comment-form' title='11 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/7047147575248251972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/7047147575248251972'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/08/accordare-la-chitarra-con-sox.html' title='Accordare la chitarra con Sox'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-P4k0qTUgTwM/Tk0EQTaH_4I/AAAAAAAAC2E/q3GxOdQYYwI/s72-c/tintiied.jpg' height='72' width='72'/><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-240006834060173554</id><published>2011-08-09T05:08:00.003+02:00</published><updated>2011-08-09T07:55:20.536+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Utility'/><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><title type='text'>Units, il convertitore.</title><summary type='text'>Salve!

E' da molto che non scrivo sul blog ma, sapete, la vita alcune volte pone degli ostacoli (mi verrebbe da dire insormontabili, ma non lo dico) la cui soluzione non è a portata di mano; metteteci pure che da me il caldo non sta dando alcuna tregua.

Certo, ci sarebbe il progetto bash....tranquilli, non è stato affatto abbandonato! Datemi il tempo di organizzarmi con il caro Lightuono e, </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/240006834060173554/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/08/salve-e-da-molto-che-non-scrivo-sul.html#comment-form' title='10 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/240006834060173554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/240006834060173554'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/08/salve-e-da-molto-che-non-scrivo-sul.html' title='Units, il convertitore.'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-8219261263329274856</id><published>2011-07-19T03:38:00.006+02:00</published><updated>2011-07-20T01:18:38.866+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Altro'/><category scheme='http://www.blogger.com/atom/ns#' term='Opinioni di un clown'/><title type='text'>Oggi vi racconto una storia.</title><summary type='text'>Fernando Pessoa, poeta, uomo dedito al lavoro. 

Una vita spesa per il lavoro.

Lavorare fu la sua parola d'ordine

Egli stesso dice, « Ho il dovere di chiudermi in casa e lavorare
quanto io possa e in tutto ciò che io posso, per il progresso
della civiltà e l'allargamento della conoscenza dell'umanità »

Oggi, Pessoa, è considerato uno dei maggiori poeti di lingua portoghese.

Eppure, a questo </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/8219261263329274856/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/07/oggi-vi-racconto-una-storia.html#comment-form' title='6 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/8219261263329274856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/8219261263329274856'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/07/oggi-vi-racconto-una-storia.html' title='Oggi vi racconto una storia.'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-1281573296963138568</id><published>2011-07-17T07:27:00.003+02:00</published><updated>2011-07-17T09:38:39.293+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><title type='text'>FC, nonostante il caldo torrido</title><summary type='text'>Salve!

Vi immagino tutti al mare o, forse, in montagna. Beati voi. Io, invece, sono condannato a stare seduto davanti ad una scrivania, giorno e notte. Ora, ad esempio, devo aprire centinaia di faldoni, con tanto di patina "polverosa",  e trovare documenti la cui utilità è altamente dubbia. Sapete, sono i casi della vita.

Si dice in giro che anche Lightuono e Jhuan siano su una spiaggia a </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/1281573296963138568/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/07/fc-nonostante-il-caldo-torrido.html#comment-form' title='10 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1281573296963138568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1281573296963138568'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/07/fc-nonostante-il-caldo-torrido.html' title='FC, nonostante il caldo torrido'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-2839162854433238220</id><published>2011-07-06T14:47:00.007+02:00</published><updated>2011-07-06T17:09:55.630+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Progetto Bash'/><title type='text'>Progetto Bash. Istruzioni condizionali: IF - AND &amp; OR</title><summary type='text'>Salve! :)

Eccoci alla seconda parte teorica afferente all'IF.

l'IF è uno degli argomenti più importanti del progetto bash. Progetto portato avanti da me e dal caro Lightuono nonostante la calura estiva. Comunque la difficoltà maggiore consiste nel tradurre in parole semplici un linguaggio che di per sè facile non è. Mi spiego meglio. I concetti sono semplici, la difficoltà vera è costituita </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/2839162854433238220/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/07/progetto-bash-istruzioni-condizionali.html#comment-form' title='2 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/2839162854433238220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/2839162854433238220'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/07/progetto-bash-istruzioni-condizionali.html' title='Progetto Bash. Istruzioni condizionali: IF - AND &amp; OR'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-8686221631031324134</id><published>2011-07-04T04:34:00.001+02:00</published><updated>2011-07-04T04:38:06.760+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Debian audio e video'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu mplayer'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu audio e video'/><title type='text'>Mplayer e l'opzione "loop"</title><summary type='text'>

Che poi le domande che mi vengono poste dal mio amico Saro non sono per niente scontate! Almeno per me.

Anche se si tratta di Mplayer.

Considerando poi che qui, da me, il sole picchia forte, capite che niente è semplice. 

"Come faccio ad impostare Mplayer in modo da ascoltare il primo brano 4 volte, il secondo 3 volte, il terzo 5 volte, il quarto 6 volte?" 

Se poi considerate che questa </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/8686221631031324134/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/07/mplayer-e-lopzione-loop.html#comment-form' title='1 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/8686221631031324134'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/8686221631031324134'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/07/mplayer-e-lopzione-loop.html' title='Mplayer e l&apos;opzione &quot;loop&quot;'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-GK7uVd5_LpY/ThElBr43r-I/AAAAAAAAC1s/EErLZySl0ic/s72-c/Schermata-2.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-7826252797549777588</id><published>2011-07-02T05:08:00.002+02:00</published><updated>2011-07-02T05:30:52.823+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian Wheezy'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian Squeeze'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu script'/><category scheme='http://www.blogger.com/atom/ns#' term='SCripting'/><title type='text'>Indice di massa corporea :D</title><summary type='text'>Salve!

La prossima settimana, forse, andrò qualche giorno al mare. Il "forse" è d'obbligo. La mia bilancia, infatti, non mi considera un soggetto idoneo per la prova costume :( L'alternativa sarebbe di andare lo stesso al mare, ma indossando la muta. Vediamo un pò. Che poi la muta è nera e il nero snellisce! :D

Tuttavia il peso è un valore relativo, in quanto va rapportato all'altezza. </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/7826252797549777588/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/07/indice-di-massa-corporea-d.html#comment-form' title='22 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/7826252797549777588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/7826252797549777588'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/07/indice-di-massa-corporea-d.html' title='Indice di massa corporea :D'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-lzYqcC0bdUo/Tg6KRm6ES1I/AAAAAAAAC1o/0RG7qJlTQ4U/s72-c/tintiied.jpg' height='72' width='72'/><thr:total>22</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-5759452735114337742</id><published>2011-07-01T07:29:00.003+02:00</published><updated>2011-07-01T07:37:06.791+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ciro e Linux'/><title type='text'>Linux spiegato a Ciro #1</title><summary type='text'>Salve! :) 




Ma qui ogni cosa è un file. Tutto è un file.

"Ci sarebbero le directory..." Si, è vero, ci sarebbero!

Ma anche loro sono file che contengono nomi di altri file. Sono elenchi di altri file. 

Sono file i programmi, i testi, le immagini...etc. Tutto, proprio tutto è file. :D

"Maronna!!!" è stata l'esclamazione di Ciro.

Chi è Ciro? Ciro è un pastore. Colui che mi porta in dono </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/5759452735114337742/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/07/linux-spiegato-ciro-1.html#comment-form' title='8 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/5759452735114337742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/5759452735114337742'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/07/linux-spiegato-ciro-1.html' title='Linux spiegato a Ciro #1'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-v8u5tPUQvAs/Tg1a65kATtI/AAAAAAAAC1g/4tYQPJF0DLg/s72-c/Im.jpg' height='72' width='72'/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-4670379161282268384</id><published>2011-06-29T14:36:00.003+02:00</published><updated>2012-01-28T05:05:57.282+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Progetto Bash'/><title type='text'>Progetto Bash. Istruzioni condizionali: IF - Introduzione</title><summary type='text'>In questo primo post sull'IF, cerco di dire le cose essenziali. Prossimamente ci soffermeremo su ogni singolo aspetto. 

In estrema sintesi, L'IF "ragiona" in questi termini:

SE una determinata condizione è vera

     fai questo 

ALTRIMENTI

     fai quest'altro

esempio

Se la variabile A è uguale alla variabile B

           dici che A è uguale a B


Altrimenti

           dici che A è </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/4670379161282268384/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/06/istruzioni-condizionali-if-introduzione.html#comment-form' title='4 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/4670379161282268384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/4670379161282268384'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/06/istruzioni-condizionali-if-introduzione.html' title='Progetto Bash. Istruzioni condizionali: IF - Introduzione'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-2178507056140637838</id><published>2011-06-25T18:41:00.002+02:00</published><updated>2011-06-26T00:44:19.801+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Utility'/><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian Wheezy'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian Squeeze'/><title type='text'>Pacchetti senza più segreti :)</title><summary type='text'> Salve! :)




Un piccolo post per dirvi che ancora non sono andato al mare, che mi tocca lavorare duro e che forse non andrò in ferie. :(

Ciò detto, dico anche che esiste un modo simpatico per sapere tutto di un pacchetto installato

 $ dpkg --status nomepacchetto

esempio

$ dpkg --status ffmpeg

Output
Package: ffmpeg
Status: install ok installed
Priority: optional
Section: graphics
</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/2178507056140637838/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/06/pacchetti-senza-piu-segreti.html#comment-form' title='2 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/2178507056140637838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/2178507056140637838'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/06/pacchetti-senza-piu-segreti.html' title='Pacchetti senza più segreti :)'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-CZLBWysPtkA/TgYPSFzdbnI/AAAAAAAAC1E/yZ1zadsCdDc/s72-c/tintiied.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-3511403217055998858</id><published>2011-06-22T14:56:00.002+02:00</published><updated>2011-10-20T01:26:57.119+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Progetto Bash'/><title type='text'>Progetto Bash: Introduzione. Quinta parte.</title><summary type='text'>Progetto Bash: Introduzione. Le operazioni aritmetiche #2

Per eseguire operazioni aritmetiche in bash possiamo usare:
a. il comando "let" (che abbiamo già visto)
b. il comando "expr"
c. Il costrutto  $((espressione))

Iniziamo dal comando "expr". 

Come il comando let, anche expr esegue operazioni aritmetiche e ne archivia il risultato in una variabile. 

iniziamo dall'addizione


Date due </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/3511403217055998858/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/06/progetto-bash-introduzione-quinta-parte.html#comment-form' title='2 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/3511403217055998858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/3511403217055998858'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/06/progetto-bash-introduzione-quinta-parte.html' title='Progetto Bash: Introduzione. Quinta parte.'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-7088063353050654794</id><published>2011-06-21T03:34:00.003+02:00</published><updated>2011-06-21T03:40:50.944+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Foto'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian foto'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu script'/><title type='text'>Criptare immagini jpg</title><summary type='text'>Salve!




Mentre leggevo uno dei miei siti preferiti, quello di imagemagick per intenderci, ho avuto una sorta di illuminazione semi-divina:

Creare uno script che mi criptasse tutte le foto jpg contenuti in una directory!

A volte capitano anche 'ste cose. :D

Ecco il corpo dello script

#!/bin/bash
  
#autore: Bit3Lux

echo "encipher (c) o decipher (d)?"

read risposta

if [ $risposta == c ]; </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/7088063353050654794/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/06/criptare-immagini-jpg.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/7088063353050654794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/7088063353050654794'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/06/criptare-immagini-jpg.html' title='Criptare immagini jpg'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-ajdXk3LqYvs/Tf_z2MRuspI/AAAAAAAAC0o/hgKr_RugeC4/s72-c/Schermata.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-5066967246530132914</id><published>2011-06-15T16:33:00.004+02:00</published><updated>2011-06-15T16:54:50.585+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Progetto Bash'/><title type='text'>Progetto Bash: Introduzione. Quarta Parte</title><summary type='text'> Progetto Bash: Introduzione. Le operazioni aritmetiche.




Dopo aver parlato di variabili e di parametri posizionali, oggi faremo un pò di aritimetica con bash. Il post è un pò impegnativo, perciò, ragazzi, un minimo di attenzione. :D

Iniziamo dal comando Let.

Cosa fa il comando let?

Esegue operazioni aritmetiche e ne archivia il risultato in una variabile

Il primo concetto che bisogna </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/5066967246530132914/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/06/progetto-bash-introduzione-quarta-parte.html#comment-form' title='4 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/5066967246530132914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/5066967246530132914'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/06/progetto-bash-introduzione-quarta-parte.html' title='Progetto Bash: Introduzione. Quarta Parte'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-SOCZY0dxryA/TfjBc9V8_HI/AAAAAAAAC0k/5J9EKy_zLUk/s72-c/logoBash.png' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-8063956850635852862</id><published>2011-06-13T13:55:00.006+02:00</published><updated>2011-06-13T17:02:25.587+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Progetto Bash'/><title type='text'>Progetto Bash: Introduzione. Terza Parte.</title><summary type='text'>Progetto Bash: introduzione: I parametri posizionali.




La scelta che dobbiamo fare nello scrivere questi post è tra il rigore scientifico e la semplicità; Dato che quello che stiamo facendo non è un corso accademico, ci permettiamo di optare per la semplicità. Il Progetto Bash non ha la pretesa di essere esaustivo in toto, ma semplicemente  invogliare chiunque a cimentarsi con il linguaggio di</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/8063956850635852862/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/06/progetto-bash-introduzione-terza-parte.html#comment-form' title='6 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/8063956850635852862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/8063956850635852862'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/06/progetto-bash-introduzione-terza-parte.html' title='Progetto Bash: Introduzione. Terza Parte.'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-7yYJBgJqaX8/TfX47dSqDaI/AAAAAAAAC0g/a6JWydV4weI/s72-c/logoBash.png' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-373394921480508588</id><published>2011-06-10T01:28:00.004+02:00</published><updated>2011-06-10T03:11:25.349+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Progetto Bash'/><title type='text'>Progetto Bash: Introduzione. Seconda parte</title><summary type='text'>Introduzione, seconda parte: Le variabili.





Nel post precedente abbiamo visto:
cos'è una variabile
come si costruisce una variabile
come si fa per vedere il valore che abbiamo assegnato ad una variabile
come si fa per assegnare il valore di una variabile ad un'altra variabile (in modo che le due variabili abbiano lo stesso valore). 

Oggi invece tratteremo i seguenti argomenti:
i tipi di </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/373394921480508588/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/06/progetto-bash-introduzione-seconda.html#comment-form' title='3 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/373394921480508588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/373394921480508588'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/06/progetto-bash-introduzione-seconda.html' title='Progetto Bash: Introduzione. Seconda parte'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-H34qSn3pIDw/TfFSX1vI2iI/AAAAAAAAC0M/deSMBjvPUU8/s72-c/logoBash.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-8368798765078155863</id><published>2011-06-09T00:43:00.005+02:00</published><updated>2011-06-09T10:12:51.760+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Progetto Bash'/><title type='text'>Progetto Bash: Introduzione. Prima parte.</title><summary type='text'>Introduzione, prima parte: Le variabili


Prima di parlare del costrutto IF, dobbiamo fare una piccola introduzione al tema delle variabili; ma prima ancora di parlare delle variabili, dobbiamo fare un'altro tipo di introduzione (l'introduzione dell'introduzione) :D

Quando si scrive uno script, alla prima riga è necessario inserire:

#!/bin/bash

dove "#!" indica l'interprete da eseguire che, in</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/8368798765078155863/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/06/proggetto-bash-introduzione-prima-parte.html#comment-form' title='12 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/8368798765078155863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/8368798765078155863'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/06/proggetto-bash-introduzione-prima-parte.html' title='Progetto Bash: Introduzione. Prima parte.'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-1DPi9VDrmSw/Te_63rH0ySI/AAAAAAAAC0I/CRPt2iuCxsI/s72-c/Schermata.png' height='72' width='72'/><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-3445958842682646270</id><published>2011-06-08T02:54:00.003+02:00</published><updated>2011-06-08T11:46:30.389+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu problemi'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian problemi'/><title type='text'>Impossibile rimuovere in modo sicuro hd esterno</title><summary type='text'>Ieri sera, parlando con un carissimo amico in chat, abbiamo cercato di risolvere un problema alquanto increscioso.


In pratica, quando cliccava su rimuovi unità in sicurezza per scollegare il disco usb, compariva il seguente messaggio di errore:

Error detaching: helper exited with exit code 1: Detaching device /dev/sdf
USB device: /sys/devices/pci0000:00/0000:00:1d.7/usb3/3-3)
SYNCHRONIZE CACHE</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/3445958842682646270/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/06/impossibile-rimuovere-in-modo-sicuro-hd.html#comment-form' title='5 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/3445958842682646270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/3445958842682646270'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/06/impossibile-rimuovere-in-modo-sicuro-hd.html' title='Impossibile rimuovere in modo sicuro hd esterno'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/--tsA5BEcBBw/Te7HdL25D7I/AAAAAAAAC0E/Tvr4XvqORxw/s72-c/pt.jpg' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-8062298330742410905</id><published>2011-06-08T02:07:00.003+02:00</published><updated>2011-12-27T16:33:04.583+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Progetto Bash'/><title type='text'>Ecco il nostro Progetto!</title><summary type='text'>Eccoci qua a presentare un progetto!








Come ho anticipato qualche "post fa", abbiamo deciso, io e il caro amico Lightuono, di unire le nostre forze per realizzare qualcosa di concreto nella speranza che possa essere utile alla comunità.

Il progetto consiste nel rendere semplice  ciò che è già semplice in sè: Il linguaggio di programmazione bash. 

Questo è lo scopo primario del progetto!

</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/8062298330742410905/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/06/ecco-il-nostro-progetto.html#comment-form' title='14 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/8062298330742410905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/8062298330742410905'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/06/ecco-il-nostro-progetto.html' title='Ecco il nostro Progetto!'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-RaUOuuCG_Vo/Te69XGhiSfI/AAAAAAAAC0A/p7ZJZSx3qzo/s72-c/Schermata.png' height='72' width='72'/><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-1420155671497830595</id><published>2011-06-02T01:55:00.005+02:00</published><updated>2011-06-02T08:01:55.828+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu script'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian audio e video'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu audio e video'/><title type='text'>Di tanti file.flv, un solo file.avi</title><summary type='text'>Salve!




L'altro giorno ho scaricato da internet un filmato in formato flv, diviso in quattro parti. 

Stanotte ho deciso, ad un tratto, di concatenarli in modo da creare un solo file, ma nel formato avi. 

A tal fine ho creato un piccolo e semplice script che, una volta lanciato, fa tutto il lavoro sporco. :D 

Lo script l'ho testato sia su debian squeeze che su ubuntu e debbo dire che </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/1420155671497830595/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/06/da-tanti-fileflv-un-solo-fileavi.html#comment-form' title='2 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1420155671497830595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1420155671497830595'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/06/da-tanti-fileflv-un-solo-fileavi.html' title='Di tanti file.flv, un solo file.avi'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-K37CRyY9YXk/TebNvQIKVfI/AAAAAAAACzw/tfjvQY79Jj8/s72-c/b.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-5779084873953987369</id><published>2011-05-29T16:52:00.002+02:00</published><updated>2011-05-29T16:56:14.463+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Debian Squeeze'/><title type='text'>Debian squeeze non vede win7</title><summary type='text'>Mi verrebbe da dire: "Mettiamo gli occhiali al grub," ma non lo dico :)) 




Oggi con un caro amico, via chat, abbiamo risolto un problema veramente increscioso.

Premetto che sul suo pc era già installato win7 che, a titolo informativo, usa solo in rari casi. Questo per fare presente che il mio amico è un pinguino verace :)


C'è da dire, inoltre, che sul suo computer è installato un solo hd (/</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/5779084873953987369/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/debian-squeeze-non-vede-win7.html#comment-form' title='4 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/5779084873953987369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/5779084873953987369'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/debian-squeeze-non-vede-win7.html' title='Debian squeeze non vede win7'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-z5w3u38_LCM/TeJbKavatTI/AAAAAAAACzs/-0Hoe6JElmk/s72-c/Immagine.png' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-3377932213401120546</id><published>2011-05-25T01:11:00.006+02:00</published><updated>2011-05-31T22:55:52.932+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Foto'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian foto'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu script'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Pdf'/><title type='text'>Estrarre immagini da un pdf</title><summary type='text'>Salve! :)




Ho realizzato un semplice script per estrarre immagini da un file pdf e traformarle nel formato jpg


Mi sono servito di due tool, Pdfimages e convert.

E' necessario installarli; perciò apriamo il terminale e digitiamo

$ sudo apt-get install imagemagick poppler-utils

A proposito di Pdfimages, dovete sapere che se si aggiunge lo switch "-j", esso estrarrà le immagini e li </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/3377932213401120546/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/estrarre-immagini-da-un-pdf.html#comment-form' title='7 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/3377932213401120546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/3377932213401120546'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/estrarre-immagini-da-un-pdf.html' title='Estrarre immagini da un pdf'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-c6gb1UfcHKc/Tdw6B85o9TI/AAAAAAAACzo/1Jaaau1MkbU/s72-c/Schermata.png' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-1290491661903329836</id><published>2011-05-20T08:49:00.001+02:00</published><updated>2011-05-20T08:53:48.370+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Foto'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian foto'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Pdf'/><title type='text'>Convertire foto in pdf e unirle in un unico file (pdf)</title><summary type='text'>Salve! :)
I post che sto scrivendo, da un paio di mesi a questa parte, altro non sono che mie esercitazioni con il terminale. 

Ho deciso di riportarli sul mio blog con la speranza che possano essere utili a qualcuno, nello spirito della condivisione che caratterizza la comunità Gnu-Linux. 

Certo, non saranno dei capolavori, ma si tratta pur sempre dei miei sforzi (notturni) :D

Qualora qualcuno</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/1290491661903329836/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/convertire-piu-foto-in-pdf-e-unirle-in.html#comment-form' title='8 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1290491661903329836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1290491661903329836'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/convertire-piu-foto-in-pdf-e-unirle-in.html' title='Convertire foto in pdf e unirle in un unico file (pdf)'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-3sOipLjA9P4/TdYNV4HepQI/AAAAAAAACzg/hZaGj4zx4-4/s72-c/Schermata-2.png' height='72' width='72'/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-4421040951603114360</id><published>2011-05-19T03:25:00.005+02:00</published><updated>2011-05-19T05:27:34.260+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu grafica'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Foto'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian foto'/><title type='text'>Ridimensionare immagini con Convert</title><summary type='text'>Salve! :)


Anzitutto bisogna installare imagemagick

$ sudo apt-get install imagemagick

Se si vuole conoscere la dimensione dell'immagine che si vuole ridimensionare (in pixel):

$ identify -format "%wx%h" nome-immagine

Esempio: 

Poniamo il caso che si voglia conoscere la dimensione di una foto in formato png, contenuta nella cartella Immagini; facciamo così: 

$ cd Immagini

$ identify -</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/4421040951603114360/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/ridimensionare-immagini-con-convert.html#comment-form' title='8 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/4421040951603114360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/4421040951603114360'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/ridimensionare-immagini-con-convert.html' title='Ridimensionare immagini con Convert'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-_FjIruhLWbQ/TdRwWRuuQWI/AAAAAAAACzY/MEZt-SwQ27s/s72-c/Im.png' height='72' width='72'/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-100420715423830618</id><published>2011-05-16T04:49:00.003+02:00</published><updated>2011-05-16T05:05:10.639+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><title type='text'>Mai più senza Underscore</title><summary type='text'>Salve!



Stanotte vi parlo di un problema noto.

Prima ancora di proferire parole (inutili), faccio un esempio.

Apro il terminale e mi sposto nella cartella Documenti

$ cd Documenti

Per vederne il contenuto, lancio

$ ls

Viene fuori questo:

Firewall in linux.pdf  La tabellina del quarantasette.txt
incontriamoci.pdf      paura

 Voglio dare un'occhiata al contenuto del documento di testo; </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/100420715423830618/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/mai-piu-senza-underscore.html#comment-form' title='4 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/100420715423830618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/100420715423830618'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/mai-piu-senza-underscore.html' title='Mai più senza Underscore'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-W_2jNF_VXtY/TdCMCY-mLOI/AAAAAAAACzM/qcm2gZpmxUg/s72-c/Schermata.png' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-396079779226152287</id><published>2011-05-15T09:36:00.001+02:00</published><updated>2011-05-15T12:13:53.112+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Foto'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian foto'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu mplayer'/><title type='text'>Trovare un ago nel pagliaio con MPlayer</title><summary type='text'>Trovare un ago nel pagliaio si può; con un pò di pazienza, ma si può!



Verso le due di notte ricevo una telefonata. "Ciao, sei sveglio?", "Penso di si", "Posso passare un attimo da te, che mi devi risolvere un problema" "Passa, che mangiamo qualcosa."

Il problema del mio amico era quello di trasformare un video, fatto da lui, in foto (fotogramma) al fine di scovare un particolare.

Il fatidico</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/396079779226152287/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/trovare-un-ago-nel-pagliaio-con-mplayer.html#comment-form' title='4 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/396079779226152287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/396079779226152287'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/trovare-un-ago-nel-pagliaio-con-mplayer.html' title='Trovare un ago nel pagliaio con MPlayer'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-ReI4WBkY85o/Tc9-xRr0ZKI/AAAAAAAACzI/K_EhmpV5ChU/s72-c/Schermata-2.png' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-1855341849111514046</id><published>2011-05-14T03:08:00.005+02:00</published><updated>2011-05-14T03:18:24.916+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu mplayer'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu audio e video'/><title type='text'>Ascoltando la radio con MPlayer</title><summary type='text'>Salve!


Quello che sto vivendo è un periodo maledetto! Gli impegni mi assorbono quasi in toto, fagocitando il mio tempo libero. :(

Cerco, tuttavia, di farmi vivo su questo blog, cui sono molto legato, magari con qualche piccolo post.

Avrete notato anche che vivo prevalentemente di notte, un pò come i pipistrelli. 

E proprio questa notte, mentre lavoravo, mi è venuta una voglia spasmodica di </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/1855341849111514046/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/ascoltando-la-radio-con-mplayer.html#comment-form' title='4 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1855341849111514046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1855341849111514046'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/ascoltando-la-radio-con-mplayer.html' title='Ascoltando la radio con MPlayer'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-ot37e4ksMUQ/Tc3W61yiFgI/AAAAAAAACzE/mT1kQh8O3gc/s72-c/Schermata-2.png' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-5824648687031931151</id><published>2011-05-11T07:01:00.004+02:00</published><updated>2011-05-14T02:14:06.231+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu FFmpeg'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian audio e video'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu audio e video'/><title type='text'>FFmpeg: "Estrarre" l'audio da un video</title><summary type='text'> Salve!




Uso la parola "estrazione", ma non so se è esatta; probabilmente avrei dovuto usare il termine conversione. Magari li alterno, così sbaglio al 50% :D


Comunque sia, stanotte ho dovuto estrarre da alcuni video dei file audio nel formato mp3. 

Mi sono servito dall'ineguagliabile e insuperabile e impareggiabile FFmpeg

Una volta installato il programma

$ sudo apt-get install ffmpeg
e </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/5824648687031931151/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/ffmpeg-estrarre-laudio-da-un-video.html#comment-form' title='4 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/5824648687031931151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/5824648687031931151'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/ffmpeg-estrarre-laudio-da-un-video.html' title='FFmpeg: &quot;Estrarre&quot; l&apos;audio da un video'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-E66OUupUdsI/TcoQVvbQ4nI/AAAAAAAACy8/R8Ziibm-P2I/s72-c/immagine.png' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-193464026623721379</id><published>2011-05-08T07:03:00.007+02:00</published><updated>2011-05-08T15:39:05.203+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Debian audio e video'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu audio e video'/><title type='text'>Tagliare il silenzio: Mpgsplit</title><summary type='text'>Salve!

Avete presente quei brani mp3 che iniziano con 10 o più secondi di silenzio o di fruscìo?

Bene!

Proprio contro questi ho lottato nella notte appena trascorsa!

A dire il vero ho fatto altro! Mi spiego.  

Nell'ultimo post ho parlato di Sox. Ora dovete sapere che questo tool ha nelle sue potenzialità anche la possibilità di eliminare questi spazi fastidiosi. Solo che, per lavorare sui </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/193464026623721379/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/tagliare-il-silenzio-mpgsplit.html#comment-form' title='3 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/193464026623721379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/193464026623721379'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/tagliare-il-silenzio-mpgsplit.html' title='Tagliare il silenzio: Mpgsplit'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-gc8w1UXMFd4/TcYUfeWAc7I/AAAAAAAACy4/xAqYUVCKQ-Q/s72-c/Schermata.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-257999041586541217</id><published>2011-05-06T18:11:00.002+02:00</published><updated>2011-05-07T03:38:45.926+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sox'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian audio e video'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu audio e video'/><title type='text'>Riprodurre brani Mp3 con Sox</title><summary type='text'>Da oggi, per ascoltare la musica, userò Sox!





Sox è un tool a riga di comando, il cui nome sta per Sound Exchange; è libero, multipiattaforma e rilasciato sotto licenza Gnu General Public License.

E' meglio conosciuto come coltellino svizzero. Anzi, è un coltellino svizzero: Il coltellino svizzero del suono per antonomasia. :D

Con Sox posso riprodurre, registrare, convertire e migliorare la</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/257999041586541217/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/riprodurre-brani-mp3-con-sox.html#comment-form' title='7 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/257999041586541217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/257999041586541217'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/riprodurre-brani-mp3-con-sox.html' title='Riprodurre brani Mp3 con Sox'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-kkXLLNaJMQY/TcQX8AMlQdI/AAAAAAAACyo/u7gGwrIvt-c/s72-c/Schermata.png' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-7810110292868393641</id><published>2011-05-04T02:46:00.002+02:00</published><updated>2011-05-04T11:21:01.901+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Debian Wheezy'/><category scheme='http://www.blogger.com/atom/ns#' term='Debian Squeeze'/><title type='text'>Aggiungere le icone nel menu sistema su Debian Squeeze</title><summary type='text'>Visualizzare le icone nel menu sistema è un'operazione abbastanza semplice.





Apriamo un terminale e digitiamo

gconf-editor
Nell'editor di configurazione bisogna seguire questo percorso

Desktop--&gt;Gnome--&gt;Interface

Non resta che mettere il segno di spunta in corrispondenza alla voce menus_have_icons.

Ecco il risultato:



Ciao! :)</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/7810110292868393641/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/aggiungere-le-icone-nel-menu-sistema-su.html#comment-form' title='2 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/7810110292868393641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/7810110292868393641'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/aggiungere-le-icone-nel-menu-sistema-su.html' title='Aggiungere le icone nel menu sistema su Debian Squeeze'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-aPckefbl0n4/TcCecvhhKPI/AAAAAAAACyc/vuhOVgIRnBE/s72-c/a.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-4974256577273696114</id><published>2011-05-03T21:12:00.003+02:00</published><updated>2011-05-03T22:00:47.471+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><title type='text'>Due piccioni con una fava</title><summary type='text'>


Si ponga il caso che abbiamo appena finito di scrivere più file di testo e che, all'ultimo momento, ci siamo accorti di non aver aggiunto, in coda a ciascuno di esso, un determinato dato, ad esempio, il nostro nome, una frase di cortesia, la data, etc.

Cosa facciamo?

Certo, potremmo aprirli uno per uno e aggiungere il dato mancante.

E se i file di testo sono 80 o più?

Facciamo un'esempio.
</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/4974256577273696114/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/due-piccioni-con-una-fava.html#comment-form' title='3 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/4974256577273696114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/4974256577273696114'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/due-piccioni-con-una-fava.html' title='Due piccioni con una fava'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-3BIbsw7hD3s/TcBSxmXMY_I/AAAAAAAACyY/dSNqarKVRP4/s72-c/Immagine.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-8980500272402483013</id><published>2011-05-02T03:09:00.004+02:00</published><updated>2011-05-02T03:22:00.644+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu cose strane ma simpatiche'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu curiosità'/><title type='text'>Non trovo le parole.</title><summary type='text'>Vi piace?





Per avere questo bel fuoco, è necessario installare il pacchetto caca-utils

Perciò apriamo il terminale e digitiamo

$ sudo apt-get install caca-utils

Poi basta lanciare il seguente comando:

$ cacafire

Dicevo che è un periodo in cui non trovo le parole, nel senso che è un periodo no. 

Cose da raccontare ce ne sarebbero tantissime ma......Avete visto? Mi blocco. 

Alla prossima</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/8980500272402483013/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/non-trovo-le-parole.html#comment-form' title='11 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/8980500272402483013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/8980500272402483013'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/05/non-trovo-le-parole.html' title='Non trovo le parole.'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-b8nGP6UlSX0/Tb4GfXgqOQI/AAAAAAAACyU/nxkNmW1tjeU/s72-c/fire.gif' height='72' width='72'/><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-7377472964980056068</id><published>2011-04-23T02:23:00.002+02:00</published><updated>2011-04-23T02:26:13.806+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu curiosità'/><title type='text'>Linux e la Pasqua</title><summary type='text'>La Pasqua è una festa mobile e dipende dalla luna.


Un anno arriva alta, un anno arriva bassa. Di sicuro cade di domenica tra la fine di marzo e il 25 aprile.

Il calcolo della Pasqua è sempre stato, nel corso della storia, una fonte di discussione.
Solo nel 325, con il concilio di Nicea, fu stabilito un modo per calcolare la data della Pasqua che valesse per tutto il mondo cristiano.

Ancora </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/7377472964980056068/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/04/linux-e-la-pasqua.html#comment-form' title='11 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/7377472964980056068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/7377472964980056068'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/04/linux-e-la-pasqua.html' title='Linux e la Pasqua'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-LJX0prjXjHw/TbIbvd2UiqI/AAAAAAAACyM/WOYQxksYfvw/s72-c/Schermata-3.png' height='72' width='72'/><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-1193922731212590620</id><published>2011-04-16T07:14:00.002+02:00</published><updated>2011-04-16T09:47:12.660+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><title type='text'>Un modo alternativo per leggere la storia.</title><summary type='text'>Quando digitiamo un comando nel terminale, il nome della stesso non si perde, ma viene memorizzato in un file che si trova nella nostra home e che si chiama .bash_history. 



Il fatto che il nome del comando resti, è una grande cosa. Ci evita, in pratica, di digitare più volte lo stesso comando (che può essere più o meno articolato e quindi difficile da ricordare).

In un precedente post (qui) </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/1193922731212590620/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/04/un-modo-alternativo-per-leggere-la.html#comment-form' title='15 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1193922731212590620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1193922731212590620'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/04/un-modo-alternativo-per-leggere-la.html' title='Un modo alternativo per leggere la storia.'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-zOkTvghB3hQ/TaklG2M0j8I/AAAAAAAACyI/sxYZMzJjNFM/s72-c/Schermata-1.png' height='72' width='72'/><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-4836858671306376487</id><published>2011-04-12T17:55:00.002+02:00</published><updated>2011-04-12T19:34:58.608+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Debian Wheezy'/><title type='text'>Una tranquilla discussione tra amici: Destinazione Purgatorio. :)</title><summary type='text'>Preambolo
Lightuono: Che figata andarsi a leggere la pagina dei pacchetti di debian su utils

Bit3Lux: Dove?

Lightuono: http://packages.debian.org/testing/utils/

Bit3Lux: Senti, ma tu ora usi la testing o la stable?

Lightuono: Io utilizzo sempre testing tranne sui server che metto stable; però ho registrato l'RSS di SID per quando escono i pacchetti nuovi



Bit3Lux: E come faccio a passare </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/4836858671306376487/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/04/una-tranquilla-discussione-tra-amici.html#comment-form' title='16 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/4836858671306376487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/4836858671306376487'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/04/una-tranquilla-discussione-tra-amici.html' title='Una tranquilla discussione tra amici: Destinazione Purgatorio. :)'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>16</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-450530223289933826</id><published>2011-04-10T14:59:00.005+02:00</published><updated>2011-04-10T15:37:56.326+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><title type='text'>Script</title><summary type='text'>Script è un mostro; nel senso positivo del termine si intende.


Script (certo, avrebbero potuto chiamarlo diversamente, ad es. rec) cattura tutto ciò che facciamo nel terminale e lo salva in un file. File che troveremo nella nostra home con il nome typescript.
Lo trovo di grande utilità, specie quando mi esercito o quando ho problemi con qualche programma. Si, è vero, bash è dotato di memoria, </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/450530223289933826/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/04/script.html#comment-form' title='5 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/450530223289933826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/450530223289933826'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/04/script.html' title='Script'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-7n2bFiXfh4U/TaGn8VSfRQI/AAAAAAAACxw/wbnCzqEBxCc/s72-c/Schermata-1.png' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-9118993446157471640</id><published>2011-04-08T06:31:00.001+02:00</published><updated>2011-04-08T06:32:53.778+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu curiosità'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu giochi'/><title type='text'>Mi piove nel terminale!</title><summary type='text'>Mi piove nel terminale. :)




Per far piovere nel terminale anzitutto è necessario installare il pacchetto bsdgames; perciò apriamo il terminale e digitiamo:

$ sudo apt-get install bsdgames

 Il comando per far piovere è il seguente

rain -d (1-999)
Per far piovere fortissimo

$ rain -d 1

per far piovere molto lentamente

$ rain -d 999

Io ho scelto: $ rain -d 100

Per far smettere di piovere:</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/9118993446157471640/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/04/mi-piove-nel-terminale.html#comment-form' title='11 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/9118993446157471640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/9118993446157471640'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/04/mi-piove-nel-terminale.html' title='Mi piove nel terminale!'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-tCav0N8K0Vo/TZ6LcDHyQ0I/AAAAAAAACxs/I2VKxZm7fP4/s72-c/rain.gif' height='72' width='72'/><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-7859490034774615409</id><published>2011-04-07T04:40:00.006+02:00</published><updated>2011-10-20T01:30:35.122+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><category scheme='http://www.blogger.com/atom/ns#' term='SCripting'/><title type='text'>Cripto e decripto :D</title><summary type='text'>
Prima un pò di storia. 

L'altro giorno ho scritto un post dal titolo "Tac e rev" (qui); un post un pò insolito dal momento che presenta i caratteri rovesciati e le righe invertite. In un commento il carissimo ldl3 mi chiedeva se ero a conoscenza di un comando che capovolgesse il testo in modo speculare, proprio così: ¿ǝɹɐlnɔǝds uı ǝɔıldɯǝs oʇsǝʇ un ıɯɹoɟsɐɹʇ ǝɥɔ opuɐɯoɔ un ǝɥɔuɐ ǝʇsısǝ '</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/7859490034774615409/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/04/cripto-e-decripto-d.html#comment-form' title='8 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/7859490034774615409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/7859490034774615409'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/04/cripto-e-decripto-d.html' title='Cripto e decripto :D'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-pQ6Pwqvpv88/TZ0eal1vJQI/AAAAAAAACxk/2B0TGHIX-74/s72-c/Schermata.png' height='72' width='72'/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-1523801510517937096</id><published>2011-04-05T06:54:00.002+02:00</published><updated>2011-04-05T11:38:41.562+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><title type='text'>La conversione di dd</title><summary type='text'>Oggi mi va di parlare del comando dd.

dd sta per data duplicator e il suo compito è quello di effettuare copie di dati.

La mia intenzione non è quella di spiegare in modo pedissequo tutto ciò che dd può fare (non ne sarei nemmeno capace), bensì di mettere in evidenza una sua funzione (che definirei marginale) non molto conosciuta.

Ho scoperto, infatti, che dd riesce a convertire i caratteri di</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/1523801510517937096/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/04/la-conversione-di-dd.html#comment-form' title='10 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1523801510517937096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1523801510517937096'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/04/la-conversione-di-dd.html' title='La conversione di dd'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-Mze1zGhBVd4/TZqVM4W3p7I/AAAAAAAACxc/CeMjkmskbI0/s72-c/Schermata-1.png' height='72' width='72'/><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-6308850458094818278</id><published>2011-04-04T07:17:00.004+02:00</published><updated>2011-04-04T07:36:00.596+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><title type='text'>Tac e rev</title><summary type='text'>Per poter leggere il post di oggi è necessario copiare il testo sottostante e salvarlo sulla scrivania in un file di testo, che bisogna necessariamente nominare file1

Poi bisogna aprire un terminale e spostarsi nella directory Scrivania

$ cd Scrivania

e da questa posizione bisogna lanciare la seguente riga di comando

$ rev file1 | tac &gt;file2

Si verrà così a creare un altro file di testo, </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/6308850458094818278/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/04/tac-e-rev.html#comment-form' title='11 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/6308850458094818278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/6308850458094818278'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/04/tac-e-rev.html' title='Tac e rev'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-5644041600884876488</id><published>2011-04-03T06:06:00.003+02:00</published><updated>2011-04-03T06:16:42.999+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><title type='text'>La conta dei file nel terminale.</title><summary type='text'>Salve!

Poniamo il caso che si voglia sapere non solo il tipo e il nome dei file contenuti in una directory, ma anche il loro numero. 

Mi sposto così nella directory di cui voglio conoscere tipo, nome e numero dei file


$ cd Documenti
e poi digito:



$ ls | nl
Ecco cosa ottengo. 
     1    ASCII.pdf
     2    at.odt
     3    at.pdf
     4    blog-02-22-2011.xml
     5    blog-03-22-2011.xml
</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/5644041600884876488/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/04/la-conta-dei-file-nel-terminale.html#comment-form' title='6 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/5644041600884876488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/5644041600884876488'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/04/la-conta-dei-file-nel-terminale.html' title='La conta dei file nel terminale.'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-8577431286441816218</id><published>2011-04-01T07:25:00.003+02:00</published><updated>2011-04-01T08:31:35.840+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu giochi'/><title type='text'>Tic Tac Toe</title><summary type='text'>Tic tac toe altro non è che il gioco del tris. Gioco molto noto e molto antico.

Anche i soldati romani lo conoscevano. Lo chiamavano terni lapilli. "Caro Tiberius  Lucius Manius Quintus, ci vogliamo fare una bella partita al terni lapilli?" "Certo, caro Brutus Publius Sextus, ma dopo aver conquistato la Gallia!" :D

Chi non ha mai giocato a tris? E'stato il gioco che mi ha accompagnato per tutto</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/8577431286441816218/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/04/tic-tac-toe.html#comment-form' title='2 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/8577431286441816218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/8577431286441816218'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/04/tic-tac-toe.html' title='Tic Tac Toe'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-bu2EgR47Nc8/TZVeijfFRGI/AAAAAAAACxU/rY722-qSAk4/s72-c/Schermata-1.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-6671652024196443946</id><published>2011-03-29T05:25:00.008+02:00</published><updated>2011-03-29T12:21:04.881+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu giochi'/><title type='text'>Una dama per Ubuntu</title><summary type='text'>Finalmente, dopo molto peregrinare, sono riuscito a trovare una dama per il mio Ubuntu. :)

E l'ho trovata proprio nei repository ufficiali.

Per installarla, ho aperto il terminale e digitato

sudo apt-get install kcheckers
L'installazione non va a creare l'apposita icona nel menù giochi; perciò per giocare bisogna aprire il terminale  e digitare

kcheckers
Il gioco è spassosissimo e il nostro </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/6671652024196443946/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/03/una-dama-per-ubuntu.html#comment-form' title='8 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/6671652024196443946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/6671652024196443946'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/03/una-dama-per-ubuntu.html' title='Una dama per Ubuntu'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-Vlj7suY4eSM/TZFJGrHKMTI/AAAAAAAACw8/weGj1SRMKqU/s72-c/Schermata.png' height='72' width='72'/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-2550871890216375977</id><published>2011-03-23T05:20:00.005+01:00</published><updated>2011-07-06T15:07:41.585+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu OpenOffice'/><title type='text'>Unoconv, una potenza!</title><summary type='text'>Stamattina (verso le 4 e 30) mi sono posto 'sto quesito: Come convertire un file odt in pdf.

La risposta è alquanto semplice. Con Openoffice (io, per pigrizia, utilizzo ancora ooo).

Ma se i file odt da convertire in pdf sono 666 (numero alquanto sinistro)?

La risposta potrebbe essere ancora la stessa, cioè con Openoffice. Ma in tal caso si impiegherebbe un'eternità. 

Ho scoperto per caso un </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/2550871890216375977/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/03/stamattina-verso-le-4-e-30-mi-sono.html#comment-form' title='13 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/2550871890216375977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/2550871890216375977'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/03/stamattina-verso-le-4-e-30-mi-sono.html' title='Unoconv, una potenza!'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-8967911742849537218</id><published>2011-03-21T06:02:00.003+01:00</published><updated>2011-03-21T06:08:44.961+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><title type='text'>"Un breve grep grep di ranelle"</title><summary type='text'>Il titolo di questo post è un omaggio alla poesia "La mia sera"di Giovanni Pascoli. E' vero, lì le ranelle facevano "gre gre", qui fanno grep grep. Comunque sia, sempre di omaggio si tratta. :D

Avete mai provato a leggere la pagina man del comando grep? 455 linee di morbidezza. Ma perchè li rendono così incomprensibili 'sti manuali? Mica siamo tutti ingegneri informatici!

Grep sta per general </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/8967911742849537218/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/03/un-breve-grep-grep-di-ranelle.html#comment-form' title='8 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/8967911742849537218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/8967911742849537218'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/03/un-breve-grep-grep-di-ranelle.html' title='&quot;Un breve grep grep di ranelle&quot;'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-7090317105088561830</id><published>2011-03-17T19:08:00.004+01:00</published><updated>2011-03-17T19:24:17.582+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><title type='text'>Correggere errore di battitura in un comando eseguito.</title><summary type='text'>Saranno gli anni che avanzano, ma mi capita spesso di fare errore di battitura nel terminale.

Oggi dovevo installare il seguente programma: wkhtmltopdf

Anzichè scrivere

sudo apt-get install wkhtmltopdf

ho scritto

sudo apt-get install wkktmltopdf



Giustamente la shell mi ha restituito questo errore:

bit3lux@bit3lux ~ $ sudo apt-get install wkktmltopdf
Lettura elenco dei pacchetti... Fatto
</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/7090317105088561830/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/03/correggere-errore-di-battitura-in-un.html#comment-form' title='8 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/7090317105088561830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/7090317105088561830'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/03/correggere-errore-di-battitura-in-un.html' title='Correggere errore di battitura in un comando eseguito.'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-7932886908106944651</id><published>2011-03-16T01:36:00.003+01:00</published><updated>2011-03-16T14:20:38.660+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><title type='text'>Memorizzare un comando nella cronologia di Bash senza eseguirlo</title><summary type='text'>Come tutti sappiamo, Bash ha una sua cronologia (history).

Riesce a tenere in memoria N comandi digitati (su Linux-Mint il valore predefinito è di 1000);

Perciò, se dimentichiamo qualche comando digitato precedentemente, basta cercarlo nel terminale facendo uso dei tasti direzionali SU e GIU'

Poniamo il caso che troviamo su internet un comando necessario ma che non dobbiamo/vogliamo eseguire </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/7932886908106944651/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/03/memorizzarre-un-comando-nella.html#comment-form' title='15 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/7932886908106944651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/7932886908106944651'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/03/memorizzarre-un-comando-nella.html' title='Memorizzare un comando nella cronologia di Bash senza eseguirlo'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-6091318248398264801</id><published>2011-03-15T04:48:00.003+01:00</published><updated>2011-03-15T08:51:06.670+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu grafica'/><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Foto'/><title type='text'>Convert</title><summary type='text'>Ritorno volentieri a parlare di Imagemagick.

A dire il vero, ancora non esiste  un termine per qualificarlo come si deve.

Mi limito a dire semplicemente che è straordinario. 

Imagemagick è una suite di software a riga di comando che mi permette di manipolare le immagini.

Per installarlo

sudo apt-get install imagemagick



Oggi focalizzo l'attenzione sull'utility convert.

Mi permetto di dire</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/6091318248398264801/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/03/convert.html#comment-form' title='2 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/6091318248398264801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/6091318248398264801'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/03/convert.html' title='Convert'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh3.googleusercontent.com/-iXyAJIz46ZA/TX7JvCs8SqI/AAAAAAAACwI/hsPLXJY77g0/s72-c/schermata16.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-4131989159921260392</id><published>2011-03-12T17:36:00.006+01:00</published><updated>2011-03-13T01:10:46.277+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Diritto'/><title type='text'>Mie riflessioni personali sull'azione di classe.</title><summary type='text'> Stamattina, per motivi di lavoro, ho letto l'art. 140 bis del codice del consumatore. Articolo che disciplina la cd azione di classe. 

Di seguito riporto alcune mie modeste considerazioni. 

Ritenendo che un mio diritto sia stato leso, decido di esperire la relativa azione  al fine di chiederne tutela al giudice competente e, dal momento che il mio caso rientra tra quelli contemplati dall'art. </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/4131989159921260392/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/03/mie-riflessioni-personali-sullazione-di.html#comment-form' title='3 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/4131989159921260392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/4131989159921260392'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/03/mie-riflessioni-personali-sullazione-di.html' title='Mie riflessioni personali sull&apos;azione di classe.'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-1349863594663303770</id><published>2011-03-11T01:21:00.004+01:00</published><updated>2011-03-11T01:31:34.683+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><title type='text'>Lo sapevate che cmatrix.......</title><summary type='text'>Chi il giovedì sera guarda Annozero, non gli sarà sicuramente sfuggito la scenografia spettacolare di "matrixiana" memoria.

I colori che si alternano sono tre: Il verde, il rosso e il blu.

Colori forti che avvolgono lo studio facendo assumere alle persone presenti un aspetto quasi virtuale.  

Ebbene, forse ho scoperto a cosa si è ispirato lo scenografo nel riprodurre queste belle atmosfere.


</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/1349863594663303770/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/03/lo-sapevate-che-cmatrix.html#comment-form' title='3 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1349863594663303770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/1349863594663303770'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/03/lo-sapevate-che-cmatrix.html' title='Lo sapevate che cmatrix.......'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh4.googleusercontent.com/-HKmmX7K35PI/TXlmXnBQGAI/AAAAAAAACvw/B1so5QoX9QM/s72-c/schermata10.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-6685844772703728026</id><published>2011-03-10T11:39:00.004+01:00</published><updated>2011-03-10T11:54:34.142+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Comandi terminale'/><title type='text'>Giochiamo con (il) WC</title><summary type='text'>WC, contrariamente a ciò che si può pensare leggendo il titolo del post, è un comando Linux (e non solo di Linux).

E' l'abbreviazione di Word Count e sta per conteggio di parole.

Dal momento che è in voga la moda di smentire ciò che una cosa potrebbe significare all'apparenza (Es. Wine è l'acronimo di: Wine non è un emulatore. GNU è l'acronimo di: Gnu non è Unix.), avrei nominato il comando WC </summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/6685844772703728026/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/03/giochiamo-con-il-wc.html#comment-form' title='7 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/6685844772703728026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/6685844772703728026'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/03/giochiamo-con-il-wc.html' title='Giochiamo con (il) WC'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6646816740379031212.post-2826261035278358206</id><published>2011-03-04T02:55:00.009+01:00</published><updated>2011-03-04T05:37:44.347+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Mint KDE'/><title type='text'>Linux Mint 10 KDE approda sul mio Portatile</title><summary type='text'>Da un pò di tempo a questa parte sto rivalutando, e di molto,  Linux Mint. Devo essere sincero, ho sempre considerato questa distro una copia di Ubuntu con l'aggiunta di una propria grafica e di qualche codec installato di default. E niente più. 

Questa è stata la mia considerazione, come dicevo, fino ad un pò di tempo fa. 

Ora le cose stanno cambiando. Sono cambiate.

La comunità di Linux Mint</summary><link rel='replies' type='application/atom+xml' href='http://parliamodi-ubuntu.blogspot.com/feeds/2826261035278358206/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/03/linux-mint-10-kde-approda-sul-mio.html#comment-form' title='8 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/2826261035278358206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6646816740379031212/posts/default/2826261035278358206'/><link rel='alternate' type='text/html' href='http://parliamodi-ubuntu.blogspot.com/2011/03/linux-mint-10-kde-approda-sul-mio.html' title='Linux Mint 10 KDE approda sul mio Portatile'/><author><name>Bit3Lux</name><uri>http://www.blogger.com/profile/00833506573387535799</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/-fzPJ5fnvyh8/TuFWVJS1dmI/AAAAAAAAC_k/iQujMfj6e2k/s220/bit3.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh3.googleusercontent.com/-W6vGJKty6uA/TXAxa12DdLI/AAAAAAAACvc/-1nbCdUb5Ts/s72-c/schermata1.png' height='72' width='72'/><thr:total>8</thr:total></entry></feed>
