# emerge mtoolsНастройка:
/etc/mtools/mtools.conf
drive c: file="/dev/sdc1"Запускаем:
# mlabel c:
# emerge mtoolsНастройка:
drive c: file="/dev/sdc1"Запускаем:
# mlabel c:
startx /full/path/to/program -- :1Например:
startx $(which wine) ./heroes2w.exe -- :1Естественно всё это завернуто в кнопку с красивой иконкой и помещенной в меню.
$ date -d @1291903188Можно подставить формат по вкусу:
$ date -d @1291903188 +'%F %T'Заменить символ в файле/потоке по его шестнадцатеричному номеру (32 - это код символа "2"):
$ sed 's/\x32/3/'Заменить символы внутри переменной в bash:
$ VAR='test'; echo ${VAR/t/f}
fest
$ VAR='test'; echo ${VAR//t/f}
fesf
$ VAR='test'; echo ${VAR/t/}
esВывести переменную с определенного символа (определенной длины):$ VAR='test'; echo ${VAR:2}
st
$ VAR='test'; echo ${VAR:1:2}
es
2.1. Comodo Security Software. Comodo Internet Security (CIS) may be used royalty-free for both commercial and personal use. CIS includes the Comodo Firewall and Antivirus products. No technical or customer support is provided for CIS separate from the Products described in section 2.5. Installation of CIS may include installation of additional Products. Use of these Products may be disabled until you pay for the Products.