mardi 23 février 2016

Fusion et sortie html

Fusionner plusieurs fichiers texte dans un fichier HTML :
cat *.txt | txt2html > sortie.html

ou

cat *.txt >sortie.txt | txt2tags -t html sortie.txt

Conversion de texte en HTML avec remplacement des caractères spéciaux :
sudo apt-get install recode
recode utf8..h sortie.txt

Remplacer &amp en &

Autres :
www.helpndoc.com/fr

#tests #informations #vitesse #connexion #internet

lsof -nPi | txt2html  > ~/lsof.html | gnome-open lsof.html



Test de bande passate ou informations sur connexion Internet :


Adsl-mire
Ariase
BandwidthPlace
Couverture-fibre-Orange
Degrouptest
github.com/sivel/speedtest-cli/blob/master/README.rst
Grenouille
LaFibre.info
Mire.ipadsl.net
Mire.sfr.fr
Mon-ip/info-adresse
Netmede.pt
Speedtest.net - Speedtest-cli - www.ookla.com
Speedtest-check-the-internet-speed-in-the-terminal
sudo apt install speedtest-cli
ou
sudo apt install python-pip
pip install speedtest-cli

speedtest -h

Speedmeter.fccn.pt
Teste a velocidade


Autres :
France Très Haut Débit
Iperf
iperf.fr
Nperf

Test internet

(c) www.My-Speedtest.com | ADSL Speedtest

(c) www.My-Speedtest.com | ADSL Speedtest

mercredi 10 février 2016

Les dépendances à un paquet

Dans le  terminal pour afficher les dépendances à vlc comme exemple :
apt-cache rdepends vlc
Pour connaître les dépendances inverses au paquet vlc :
apt-cache showpkg vlc | sed -n '/Reverse Depends/,/Dependencies/p' | sed '1d;$d' | cut -d, -f1 | sort -u | xargs -n 50 dpkg --get-selections 2> /dev/null | grep '[[:space:]]install'

Source

github.com/kerphi/RESTdeb