1106 shaares
173 results
tagged
linux
Transfert IMAP vers IMAP
Clone de OSX OpenSource basé sur Linux bien sûr.
Pas fan, mais j'en connais qui pourrais être intéressé.
Pas fan, mais j'en connais qui pourrais être intéressé.
Un tuto sur fail2ban
\o/
pas encore bookmarqué?
tl;dr
via grub - e
linux /boot/vmlinuz-……. init=/bin/bash
mount -o remount,rw /dev/[partition root] /
passwd
via grub - e
linux /boot/vmlinuz-……. init=/bin/bash
mount -o remount,rw /dev/[partition root] /
passwd
Pour faire un chkdsk sur du ntfs depuis linux. Testé, ça a pas marché mais a retester.
Une distrib minimaliste pour tester 12 WM minimalistes différents.
Je vais pour essayer autre chose qu'openbox
Je vais pour essayer autre chose qu'openbox
Je le note même à date, il ne fonctionne toujours pas pour moi...
Il me tarde la version native qui ne devrais plus tarder depuis plus de 3 mois...
Il me tarde la version native qui ne devrais plus tarder depuis plus de 3 mois...
tl;dr
destructive test:
# badblocks -wsv /dev/<device>
non destructive test:
# badblocks -nsv /dev/<device>
EDIT : Si on trouve des secteurs défectueux, on peux demander au système de ne pas les attribuer.
sudo badblocks /dev/<device> > bad-blocks
sudo fsck -l bad-blocks /dev/<device>
EDIT2 : From the badblocks's manpage
<<
Important note: If the output of badblocks is going to be fed to the
e2fsck or mke2fs programs, it is important that the block size is
properly specified, since the block numbers which are generated are
very dependent on the block size in use by the filesystem. For this
reason, it is strongly recommended that users not run badblocks
directly, but rather use the -c option of the e2fsck and mke2fs pro-
grams.
>>
Donc ne pas utiliser l'astuce de redirection de l'ouput pour e2fsck et mke2fs.
EDIT3 :
To not use bad sectors they have to be known by the filesystem.
fsck -vcck /dev/<device-PARTITION>
via le wiki d'archlinux
destructive test:
# badblocks -wsv /dev/<device>
non destructive test:
# badblocks -nsv /dev/<device>
EDIT : Si on trouve des secteurs défectueux, on peux demander au système de ne pas les attribuer.
sudo badblocks /dev/<device> > bad-blocks
sudo fsck -l bad-blocks /dev/<device>
EDIT2 : From the badblocks's manpage
<<
Important note: If the output of badblocks is going to be fed to the
e2fsck or mke2fs programs, it is important that the block size is
properly specified, since the block numbers which are generated are
very dependent on the block size in use by the filesystem. For this
reason, it is strongly recommended that users not run badblocks
directly, but rather use the -c option of the e2fsck and mke2fs pro-
grams.
>>
Donc ne pas utiliser l'astuce de redirection de l'ouput pour e2fsck et mke2fs.
EDIT3 :
To not use bad sectors they have to be known by the filesystem.
fsck -vcck /dev/<device-PARTITION>
via le wiki d'archlinux
Interface simplifié pour création de prompt bash
rsync beaucoup plus rapide que rm pour supprimer???
Ok, je vais y penser.
Ok, je vais y penser.
Distrib linux basé sur Ubuntu à proposer aux fans de Mac OSX
Logiciel d'édition de fichier gpx pour Linux.
Astuces :
* Utiliser le rendu map OSM Humanitarian pour avoir les dernières versions update d'OSM.
* utiliser le clic du milieu pour recentrer la map sur le pointeur sans perdre le tracer.
Astuces :
* Utiliser le rendu map OSM Humanitarian pour avoir les dernières versions update d'OSM.
* utiliser le clic du milieu pour recentrer la map sur le pointeur sans perdre le tracer.
Un petit scanneur wifi sous linux qui me rapelle mon apps sous androïd.
Panel d'administration linux pour les naze de la ligne de commande.
Un viel article, toujours d'actualité. Il faut absolument que je me fasse un alias avec :
sudo ionice -c3 -p$$
ça permet de passer tout les process du shell en idle.
sudo ionice -c3 -p$$
ça permet de passer tout les process du shell en idle.
Un peu de culture. Pour une fois que apprend quelque chose en informatique dont je n'ai jamais entendu parlé auparavant.
Créer un gif avec du jpeg:
convert -delay 50 pic1.jpg -delay 100 pic2.jpg -delay 150 pic3.jpg -delay 200 pic4.jpg -delay 250 pic5.jpg -delay 300 pic6.jpg -loop 0 gif1.gif
Chez moi, l'argument -pause ne fonctionne pas, mais il permet une pause avant de repartir la boucle du gif.
EDIT : Marche bien aussi pour passer du png en pdf, genre un album en un pdf avec:
convert *.png album.pdf
EDIT2 : convert *.png output.pdf ne marche plus chez moi, je passe par pdftk
# FONCTION JPG2PDF
jpg2pdf () {
mkdir tmp
for i in *.jpg; do convert "$i" tmp/"$i.pdf"; done
pdftk tmp/*.pdf cat output output.pdf
rm -r tmp
}
convert -delay 50 pic1.jpg -delay 100 pic2.jpg -delay 150 pic3.jpg -delay 200 pic4.jpg -delay 250 pic5.jpg -delay 300 pic6.jpg -loop 0 gif1.gif
Chez moi, l'argument -pause ne fonctionne pas, mais il permet une pause avant de repartir la boucle du gif.
EDIT : Marche bien aussi pour passer du png en pdf, genre un album en un pdf avec:
convert *.png album.pdf
EDIT2 : convert *.png output.pdf ne marche plus chez moi, je passe par pdftk
# FONCTION JPG2PDF
jpg2pdf () {
mkdir tmp
for i in *.jpg; do convert "$i" tmp/"$i.pdf"; done
pdftk tmp/*.pdf cat output output.pdf
rm -r tmp
}