Utilisateur:Jerz fr
Compilation de motules sous Debian-Ubuntu[modifier | modifier le code]
Télécharge les sources
sudo apt-get install 'module'-source
Compile et installe le module
sudo module-assistant prepare # May not be needed sudo module-assistant get 'module' sudo module-assistant build 'module' sudo module-assistant install 'module'
Ou plus simplement
sudo module-assistant auto-install 'module'
Commandes utile pour cérer un systeme identique au premier[modifier | modifier le code]
Pour obtenir les paquets installé (dans le fichier liste) :
COLUMNS=300 dpkg -l | grep '^ii' | awk '{print $2}' > liste
Pour les installer :
apt-get install `cat liste`
Repris de : http://forum.ubuntu-fr.org/viewtopic.php?pid=96937#p96937
Sed[modifier | modifier le code]
Find-replace
sed 's/find/replace/g' file
Enlève ligne vide
sed '/^[[:space:]]*$/d' file
Paramètres
sed 's/find/pre\1post/g' file
Voir aussi :
NFS[modifier | modifier le code]
http://www.bxlug.be/articles/200
showmount -e 192.168.1.40
192.168.1.40:/home/Share /mnt/iomega_NAS_100 nfs user,rsize=8192,wsize=8192,timeo=14,intr,noauto 0 0
nosuid ?
Voir aussi :
ext3[modifier | modifier le code]
e2fsck -Stpf
tune2fs -s1
debugfs ...
Vidéo[modifier | modifier le code]
ffmpeg -i pubCDP2006.avi -ab 40 -ar 44100 -b 60 -r 15 -s 160x120 -f flv pubCDP2006-100.flv ffmpeg -i pubCDP2006.avi -ab 56 -ar 44100 -b 200 -r 15 -s 320x240 -f flv pubCDP2006-256.flv ffmpeg -i pubCDP2006.avi -ab 96 -ar 44100 -b 400 -r 15 -s 320x240 -f flv pubCDP2006-496.flv
ffmpeg -i pubCDP2006.avi -ab 56 -b 500 -r 15 -s 320x240 -f flv pubCDP2006.flv ffmpeg -i pubCDP2006.avi -ab 56 -b 200 -r 15 -s 320x240 -f flv pubCDP2006s.flv
Voir aussi :
Informations sur le système (uname)[modifier | modifier le code]
Version complette du kernel
uname -r
Nom de la machine
uname -n
Reseau[modifier | modifier le code]
table arp
arp -a
Start ksh[modifier | modifier le code]
exec ksh
USB view[modifier | modifier le code]
cat /proc/bus/usb/devices
Debian[modifier | modifier le code]
gforge : alioth.debian.org
- Debian-np
- debian-multimadia
- debian-desctup
- http://bugs.debian.org/Bugs
- http://db.debian.oeg
- http://packages.debian.org
Extentions[modifier | modifier le code]
http://www.endungen.de/index.php/en/
Documentation[modifier | modifier le code]
Installing Debian Sarge from a USB memory stick (USB key) : http://d-i.pascal.at/
accsess :
- http://mdbtools.sourceforge.net/
- http://fr.openoffice.org/Documentation/How-to/indexht.html
- http://fr.openoffice.org/Documentation/How-to/Bdd/04migrfr.pdf
- http://www.kexi-project.org/
- http://www.knoda.org/
Debian : Formation : http://people.via.ecp.fr/~alexis/formation-linux/formation-linux.html
LDAP[modifier | modifier le code]
- http://www.pascalou.org/linux/doc/authentification-ldap.html
- http://www-sop.inria.fr/semir/personnel/Laurent.Mirtain/ldap-livre.html
Hoax[modifier | modifier le code]
Securité[modifier | modifier le code]
Monitoring[modifier | modifier le code]
Zabbix
Oreon
fr-ch[modifier | modifier le code]
- http://iacs.epfl.ch/~prudhomm/
- http://doc.domainepublic.net/linux/faq_debian-user/debfr-liste.html
- http://www.debian.org/international/French
- http://packages.qa.debian.org/
Windows[modifier | modifier le code]
ext2 : http://ext2fsd.sourceforge.net/index.htm sécurité :
- http://sourceforge.net/project/showfiles.php?group_id=64424&package_id=76046&release_id=144640 (CodeSeeker)
- http://sourceforge.net/projects/tdifw/ (TDI FireWall)
xpy est un petit logiciel permettant de sécuriser Windows : http://www.framasoft.net/article2903.html
Matériel[modifier | modifier le code]
portable sans windows https://linuxfr.org/2004/05/13/15986.html
- http://ataria.errex.net/
- http://www.xbook-computer.com/catalog/product_info.php?cPath=40_74&products_id=135
- http://d-i.alioth.debian.org/manual/fr.i386/ch02.html
Proxy[modifier | modifier le code]
ProFTP[modifier | modifier le code]
- http://www.proftpd.org/docs/directives/linked/config_ref_Anonymous.html
- http://www.coagul.org/article.php3?id_article=184
Ménagerie[modifier | modifier le code]
- http://ydegoyon.free.fr/pidip.html
- http://mcs.hackitectura.net/tiki-index.php
- http://subsignal.org/pakt/
- http://www.constantvzw.com/
- http://garbure.org/ratatouille/?el=Download
- http://wiki.frimouvy.org/wakka.php?wiki=VideoSousLinux&show_comments=1
- Pitivi - http://www.pitivi.org/
- openVIP - http://openvip.sourceforge.net/
- cinelerra - deb http://www.kiberpipa.org/~minmax/cinelerra/builds/sid/ ./
VI[modifier | modifier le code]
SHIFT v selectionne ligne
v selectionne caractaires
CTRL v selectionne zone
SHIFT ! => cmd ! cmd insert dans la selection (grep, sort, ...)
u undo
CTRL r redo
y copy p past ~ change case * hight light
/text search
n next
SHIFT n previous q name record @ name exec . redo last cmd
RegExp[modifier | modifier le code]
. tout caractère * repette n fois [] block de choix \s escpace \w 0-9a-zA-z, ... ^ début de ligne $ fin de ligne
bach[modifier | modifier le code]
nohup détachement du terminal !! refait la dernière commande !cmd refait la dernière commande commençant par cmd !cmd:p permet de visualiser la dernière commande commençant par cmd
completion: https://linuxfr.org/tips/174.html Une astuce toute bête mais utile si on n'a pas fait attention. Les packages bash de la Debian (à vérifier pour les autres distrib) possèdent déjà plein de raccourcis pour la complétion sous bash. Pour les activer, il suffit de décommenter les 3 dernières lignes du fichier /etc/bash.bashrc. Toutes les completions sont définies dans le fichier /etc/bash_completion et les complétions plus complexes sont dans le répertoire /etc/bash_completion.d
APT[modifier | modifier le code]
apt-cache search outlook
build: sudo apt-get build-dep package apt-get -b source package
https://linuxfr.org/tips/19.html http://www.fr.debian.org/doc/manuals/apt-howto/index http://www.fr.debian.org/doc/manuals/apt-howto/ch-search.fr.html#s-apt-file http://www.fr.debian.org/doc/manuals/apt-howto/ch-sourcehandling.fr.html
script de désinstallation: /var/lib/dpkg/info/*.prem
Réseau[modifier | modifier le code]
Existe-t-il une commande qui donne le nom à partir de l'adresse IP ? Existe-t-il une commande qui donne l'adresse IP à partir d'un nom ?
la commande host
tcpdump
Mac adresse ! ping -c 2 server arp
Servers[modifier | modifier le code]
Webmin : https://localhost:10000
Apple[modifier | modifier le code]
netatalk
Sécurité[modifier | modifier le code]
- http://www.pcflank.com/test1.htm
- http://firestarter.sourceforge.net/
- http://www.archilinux.org/securit/secu.html
- http://www.shorewall.net/standalone_fr.html
- http://arnofear.free.fr/linux/shorewall-1.php
OutLook[modifier | modifier le code]
autre solution : tu exportes en eml et tu utilises eml2mbox que tu peux trouver sur http://www.broobles.com/eml2mbox/
autre solution 2 : tu peux peut-etre passer par l'import/export de mozilla outlook -> mozilla -> evolution
Man[modifier | modifier le code]
Konqueror: man:/ls apache: man2html
- http://www.oscommerce.org/
- http://www.xfld.org/Xfld/en/index.html
- http://c-arbre.pacageek.org/ressources/pages/features/
Link[modifier | modifier le code]
Live CD[modifier | modifier le code]
antivirus :
- http://antesis.org/rubrique.php3?id_rubrique=2&lang=fr
- http://www.bitdefender.com/bd/site/products.php?p_id=40
Multimedia :
Sound[modifier | modifier le code]
Enemy etrritory artsdsp -m et
Musique[modifier | modifier le code]
- http://lilypond.org/web/switch/tour.html
- http://agnula.org
- DeMuDi
- TerminatorX
- Gjay
- Jack (drivers audio)
- jack-rack
PDF[modifier | modifier le code]
extendedPDF
Conversion de table de caractères[modifier | modifier le code]
iconv --from-code=ISO-8859-1 --to-code=UTF-8 < old_file > new_file
Tools[modifier | modifier le code]
mtools fuser ps aux
Copy on ssh[modifier | modifier le code]
cd /source/dir/ tar cf - . | ssh destmach "(cd /dest/dir/ ; tar xf -)"
pour copier à distance.
et bien sûr :
cd /source/dir/ tar cf - . | (cd /dest/dir/ ; tar xf -)
en local.
Ca marche aussi avec dump/restore (sous Linux, mais aussi Solaris, Tru64, etc) :
cd /sourcemp dump 0f - . | (cd /dest/dir/ ; restore xf -)
https://linuxfr.org/tips/199.html Voir aussi : http://www.shadlen.org/sl/linux/remote/scp.htm
Sonorisation[modifier | modifier le code]
Spectroscopic Toolkit
- http://kmt.hku.nl/~pieter/SOFT/ST/html/index.html
- http://www.hitsquad.com/smm/linux/SPECTRUM_ANALYZERS/
XSpectrum
- http://www.hitsquad.com/smm/programs/Sonogram_visible_linux/
- http://www.dfki.de/~clauer/programming.html
- http://www.dfki.de/~clauer/sonogram/
Sonasound (Debian)
Firefox[modifier | modifier le code]
Linkification http://www.tom-cat.com/mozilla/
Ports[modifier | modifier le code]
Lister les services lancés et les ports qu'ils utilisent
nmap -p 1-10000 localhost lsof -i netstat -tlnp : process tcp en mode listenning netstat -ulnp : process udp en mode listenning netstat -lnp : process en mode listenning netstat -anp : tous les process ouverts