Posts in 2011

  • Capture a video of your desktop

    Sunday, November 20, 2011 in Commands

    You can capture a video of your linux desktop with ffmpeg : ffmpeg -f x11grab -s xga -r 25 -i :0.0 -sameq /tmp/out.mpg

    Read more

  • mdadm

    Tuesday, November 15, 2011 in Commands

    Watch the array status watch -d -n10 mdadm --detail /dev/md127 Recovery from livecd mdadm --examine --scan >> /etc/mdadm.conf mdadm --assemble --scan /dev/md/root mount /dev/md127 /mnt # or vgscan... If auto detection does not work, you can …

    Read more

  • Use spaces in fstab

    Thursday, September 29, 2011 in Miscellaneous

    Here is how to use spaces in a folder name in fstab : you put \040 where you want a space.

    Read more

  • DMIdecode

    Wednesday, February 16, 2011 in Commands

    DMIdecode to obtain Hardware informations. Mose useful commands System informations: dmidecode -t1 Chassis informations: dmidecode -t4 CPU informations: dmidecode -t4 RAM informations: dmidecode -t17 Sources man 8 dmidecode

    Read more

  • Convert unix timestamp to readable date

    Thursday, January 06, 2011 in Commands

    As I somehow have a hard time remembering this simple date flags as I rarely need it, I decided to write it down here : $ date -d @1294319676 Thu Jan 6 13:14:36 GMT 2011

    Read more

Posts in 2009