B

  • bash string manipulation
    ${string#substring} Strips shortest match of $substring from front of $string. ${string##substring} Strips longest match of $substring from front of $string. ...
  • backup to remote server using TAR + SSH
    backup /etc to remote server example.com (to directory /home/backup) tar cvzf - /etc | ssh root@example.com "cd /home/backup; tar xzf -" ...
  • bootovaci CD z bootovaci floppy diskety
    1) primontovat image diskety mount -t vfat -o loop,rw FLOPPY.IMG /media/img df /media/img smazat vse co neni treba a nakopirovat do /media/img vse co je treba :-) umount /media/img 2) ...
  • bluetooth - parovani a pripojeni zarizeni
    1) nainstalovat apt-get install bluetooth gcc libdbus-glib-1-dev 2) zkompilovat passkey agent cd /usr/share/doc/bluez-utils/examples gunzip passkey-agent.c.gz make 3) konfigurace /etc/bluetooth/rfcomm.conf odkomentovat, bind = yes, device = skutecna MAC 4) smazat adresar /var/lib/bluetooth/[mac], restart bt ...