2010年4月21日 星期三

VM中用Crontab排程跑 ntpdate校時筆記

環境:CentOS5.5
方式:/etc/cron.hourly/ntpdate.sh
記錄檔:/var/log/cron ,及 mail 到 root …一到兩小時記錄一次 (!?)


環境:SLES10
方式:crontab -e,跑 /root/stdtime.sh
crontab -e 裡的 job
有錯會寄信到root
記錄檔:/var/log/messages

環境:SLES10
方式:/etc/cron.hourly/stdtime.sh
/etc/cron.hourly/stdtime.sh 中自訂 echo訊息做記錄....
/usr/sbin/ntpdate clock.stdtime.gov.tw
echo "update time hourly log $(date) " /root/ntpdate-hourly.log
記錄檔:mail 到 root 及自定的log


http://figaro.neo-info.net/?p=666

Cron 執行時通常都會透過 Mail 告訴使用者該排程的執行狀態,若是不想收到這些訊息時,則可以透過下列方式來完成:
1. 以該使用者身份登入後,執行 crontab -e
2. 在所有排程的最上端輸入一行描述
MAILTO=""
這樣便不會再收到相關的郵件訊息了



Host Power Management Causes Problems with Guest Timekeeping (Windows Hosts)

2010年4月19日 星期一

[盜貼]文字介面、console的調整文章

http://cha.homeip.net/blog/archives/2006/06/_bootsplash_lin.html

用 bootsplash 妝點 Linux Console

  • 調整 Linux Console 解析度
  • 在 Linux Console 加入底圖
  • 自訂開機畫面


http://tetralet.luna.com.tw/index.php?op=ViewArticle&articleId=221&blogId=1
LilyTerm 新功能 - 支援 Window Title!


2010年4月16日 星期五

opensuse-tutorials

http://opensuse-tutorials.com/



Managing Nautilus from the keyboard
You don’t have to be slowed down by the mouse just because you are using a GUI. Nautilus has great keyboard shortcuts that will allow you to use it quickly and effectively.
Here is a quick table of the shortcut keys and their functionality
Key(s)Action
Searching
Start TypingSelect the matching name of a file or directory
CTRL+FSearch filenames and content of indexed files
CTRL+SSelects all files or directories matching a pattern
Display and Window Management
CTRL+NCreate a new Nautilus window
CTRL+WClose a Nautilus window
CTRL+SHIFT+WClose all Nautilus windows
CTRL+1View files in icon mode
CTRL+2View files in list mode
F9Toggle sidebar pane
File Management
CTRL+HShow hidden files
CTRL+SHIFT+NCreate a new folder
CTRL+T or DelDelete the file or directory and move to the trash
Shift+DelDelete the selected file or directory and skip the trash
F2Rename the selected file or directory
Alt+EnterView properties of the selected file or directory
Movement
CTRL+LMove into the location bar
Alt+HOMEGo to your $HOME folder
* or + or SHIFT+RArrowExpand Directory in list view
- or SHIFT+LArrowClose Directory in list view
ALT+LArrowBrowse through files and folders to the left
ALT+RArrowBrowse through files and folders to the right
ALT+UArrowMove to the parent folder one level above
ALT+DArrowOpen the selected file or folder
Accessibility
CTRL++Zoom in
CTRL+-Zoom out
CTRL+0Normal zoom

BloggerAds