Lower case: CTRL+SHIFT+Y
Upper case: CTRL+SHIFT+X
找出/tmp下,建立時間超過30天,由dsas這個user所建,而且是SAS開頭的檔案,把它刪除掉。
find /tmp -type f -name 'SAS*' -user dsas -ctime +30 -print -exec rm -f '{}' \;
Check if the database is case insensitive:
select 1 where 'sql' = 'SQL' ;
If it returns 1, it is a case insensitive database
Alter to case insensitive:
ALTER DATABASE MyDatabase COLLATE Chinese_Taiwan_Stroke_CI_AS
Alter to case sensitive:
ALTER DATABASE MyDatabase COLLATE Chinese_Taiwan_Stroke_CS_AS
Oracle寫法
create table Table_New as select * from Table_Old
SQL Server寫法
select * into Table_New from Table_Old
Crontab command:
crontab –e
Crontab syntax:
A crontab file has five fields for specifying day , date and time followed by the command to be run at that interval.
* * * * * command to be executed - - - - - | | | | | | | | | +----- day of week (0 - 6) (Sunday=0) | | | +------- month (1 - 12) | | +--------- day of month (1 - 31) | +----------- hour (0 - 23) +------------- min (0 - 59) |
* in the value field above means all legal values as in braces for that column.
The value column can have a * or a list of elements separated by commas. An element is either a number in the ranges shown above or two numbers in the range separated by a hyphen (meaning an inclusive range).
Notes
A. ) Repeat pattern like /2 for every 2 minutes or /10 for every 10 minutes is not supported by all operating systems. If you try to use it and crontab complains it is probably not supported.
B.) The specification of days can be made in two fields: month day and weekday. If both are specified in an entry, they are cumulative meaning both of the entries will get executed .
Crontab Example:
A line in crontab file like below removes the tmp files from /home/someuser/tmp each day at 6:30 PM.
30 18 * * * rm /home/someuser/tmp/*
主視窗上點選"檔案">>"隱私"
跳出之對話框右邊點選"顯示進階選項"
"保存即時訊息紀錄時間"
選擇"無紀錄"每次登出後即刪除記錄
按一下"刪除記錄"刪除在這之前的紀錄
在 通話記錄 欄內
可以刪除
可以刪除單一記錄
也可以刪除多筆或特定對象的記錄(用 Ctrl 按著)