Ubuntu 的開機選單設定放在 /boot/grub/grub.cfg,可以先用 update-grub (grub-mkconfig) 掃描現有可以開機的位置,並更新到 grub.cfg 設定檔:
$ sudo update-grub
# or
$ sudo grub-mkconfig -o /boot/grub/grub.cfg
接個編輯 grub.cfg,改成需要的樣子存檔。存檔後還需要寫入 MBR,設定才能生效:
$ sudo grub-install /dev/sda
-->
$ sudo update-grub
# or
$ sudo grub-mkconfig -o /boot/grub/grub.cfg
$ sudo grub-install /dev/sda
$ grep STR fileToSeatch
$ grep "->getVal()" *
grep: invalid option -- '>'
$ grep -- "->getVal()" *
$ grep > * # shoud be: grep ">" *
bash: *: ambiguous redirect
<?php
ini_set('xdebug.trace_output_dir', '/tmp/xdebug');
xdebug_start_trace(); // start tracing
// beginning of program
<php
ini_set('xdebug.auto_trace', 'On'); // 沒有作用
ini_set('xdebug.trace_output_dir', '/tmp/xdebug');
// beginning of program
$ screen -S name
:sessionname newName