<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8865329</id><updated>2011-10-09T17:03:55.953+08:00</updated><category term='Unix'/><category term='Internet'/><category term='Linux'/><category term='ATI'/><category term='DBA'/><category term='VIDEO CARD'/><category term='RMAN'/><category term='Security'/><category term='Oracle'/><category term='Operating System'/><category term='NVIDIA'/><category term='God is Good'/><category term='Windows 7'/><title type='text'>Eminus Sleepus Chamber</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default?start-index=101&amp;max-results=100'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>130</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8865329.post-6495791772680307622</id><published>2010-11-25T11:34:00.001+08:00</published><updated>2010-11-25T11:35:57.034+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Add ASM Disk and check if Standby is recovering</title><content type='html'>##command to check provisioned disk ##&lt;br /&gt;SQL&gt; select 'ALTER DISKGROUP &lt;diskgroup&gt; ADD DISK ''ORCL:'||label&lt;br /&gt;       ||''''||' SIZE '||total_mb||' M;' gen_statement&lt;br /&gt;from v$asm_disk&lt;br /&gt;where header_status in ('PROVISIONED', 'CANDIDATE', 'FORMER')&lt;br /&gt;order by 1;&lt;br /&gt;  2    3    4    5&lt;br /&gt;GEN_STATEMENT&lt;br /&gt;----------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;ALTER DISKGROUP &lt;diskgroup&gt; ADD DISK 'ORCL:ASM34' SIZE 92952 M;&lt;br /&gt;ALTER DISKGROUP &lt;diskgroup&gt; ADD DISK 'ORCL:ASM35' SIZE 92952 M;&lt;br /&gt;ALTER DISKGROUP &lt;diskgroup&gt; ADD DISK 'ORCL:ASM36' SIZE 92952 M;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;##command to add ##&lt;br /&gt;ALTER DISKGROUP DATA01 ADD DISK 'ORCL:ASM34' SIZE 92952 M;&lt;br /&gt;&lt;br /&gt;## Check ASM Disk group sizes ##&lt;br /&gt;&lt;br /&gt;SQL&gt; select TOTAL_MB,FREE_MB,USABLE_FILE_MB,NAME from  V$asm_diskgroup;&lt;br /&gt;&lt;br /&gt;pztbw_uxusnorw400_XPT.cargill.com  &lt;br /&gt;                                   Archived Redo Log&lt;br /&gt;  TOTAL_MB    FREE_MB USABLE_FILE_MB File Name&lt;br /&gt;---------- ---------- -------------- -------------------------&lt;br /&gt;   2788560      92749          92749 DATA01&lt;br /&gt;     92952       7909           7909 MIRROR01&lt;br /&gt;     92952       5945           5945 ONLINE01&lt;br /&gt;    185904      33449          33449 RECOVER01&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL&gt; select TOTAL_MB,FREE_MB,USABLE_FILE_MB,NAME from  V$asm_diskgroup&lt;br /&gt;  2  ;&lt;br /&gt;&lt;br /&gt;  TOTAL_MB    FREE_MB USABLE_FILE_MB NAME&lt;br /&gt;---------- ---------- -------------- ------------------------------&lt;br /&gt;   3067416     212906         212906 DATA01&lt;br /&gt;     92952      21164          21164 MIRROR01&lt;br /&gt;     92952      43453          43453 ONLINE01&lt;br /&gt;    371808     114877         114877 RECOVER01&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;## Command to start up recovery process ##&lt;br /&gt;SQL&gt; recover managed standby database using current logfile disconnect;&lt;br /&gt;Media recovery complete.&lt;br /&gt;&lt;br /&gt;## Check if MRP# is up and running ##&lt;br /&gt;$&gt;  ps -ef | grep mrp | grep oracle&lt;br /&gt;&lt;br /&gt;oracle   10248 16867  0 21:28 pts/2    00:00:00 grep mrp&lt;br /&gt;oracle   29268     1  0 Nov16 ?        00:07:42 ora_mrp0_eminus&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-6495791772680307622?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/6495791772680307622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=6495791772680307622' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6495791772680307622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6495791772680307622'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2010/11/add-asm-disk-and-check-if-standby-is.html' title='Add ASM Disk and check if Standby is recovering'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-3655001290107335343</id><published>2010-10-19T23:27:00.000+08:00</published><updated>2010-10-19T23:27:42.482+08:00</updated><title type='text'>eminus's Activities | RunKeeper</title><content type='html'>&lt;a href="http://runkeeper.com/user/eminus/activity/18630023"&gt;eminus&amp;#39;s Activities | RunKeeper&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-3655001290107335343?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://runkeeper.com/user/eminus/activity/18630023' title='eminus&apos;s Activities | RunKeeper'/><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/3655001290107335343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=3655001290107335343' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/3655001290107335343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/3655001290107335343'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2010/10/eminuss-activities-runkeeper.html' title='eminus&apos;s Activities | RunKeeper'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-4542599463610952204</id><published>2010-09-28T14:30:00.001+08:00</published><updated>2010-09-28T14:31:11.345+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Query columns used by views</title><content type='html'>this SQL block will tell you all the columns being used by a view.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;SET serveroutput ON&lt;br /&gt;DECLARE&lt;br /&gt;  -- local variables, create a cursor for the records&lt;br /&gt;  CURSOR c1&lt;br /&gt;  IS&lt;br /&gt;     SELECT text,view_name FROM dba_views WHERE owner = &amp;&amp;OWNER1;&lt;br /&gt;  CURSOR c2&lt;br /&gt;  IS&lt;br /&gt;     SELECT table_name,&lt;br /&gt;      column_name&lt;br /&gt;       FROM dba_tab_columns&lt;br /&gt;      WHERE owner =&lt;br /&gt;      &amp;&amp;OWNER1&lt;br /&gt;   ORDER BY 1,2;&lt;br /&gt;BEGIN&lt;br /&gt;  DBMS_OUTPUT.ENABLE(1000000);&lt;br /&gt;  FOR r2 IN c2&lt;br /&gt;  LOOP&lt;br /&gt;    FOR r1 IN c1&lt;br /&gt;    LOOP&lt;br /&gt;      IF (instr(lower(r1.text),lower(r2.column_name)) &gt; 0) THEN&lt;br /&gt;        dbms_output.put_line(r1.view_name || ',' ||r2.column_name ||','||r2.table_name);&lt;br /&gt;        dBMS_OUTPUT.NEW_LINE;&lt;br /&gt;      END IF;&lt;br /&gt;    END LOOP;&lt;br /&gt;  END LOOP;&lt;br /&gt;END;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-4542599463610952204?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/4542599463610952204/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=4542599463610952204' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4542599463610952204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4542599463610952204'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2010/09/query-columns-used-by-views.html' title='Query columns used by views'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-3300913199542773251</id><published>2010-09-20T10:11:00.004+08:00</published><updated>2010-09-20T13:22:55.856+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>useful when resizing datafile</title><content type='html'>this script i got from asktom.com is a usefull script to determine what object/s are in the end of the datafile which will cause for you to not to shrink it the way you want it to shrink :) (I mean if there is a big free space between that object and the other object)&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;column tablespace_name format a20&lt;br /&gt;column "Name" format a45&lt;br /&gt;break on file_id skip 1&lt;br /&gt;ttitle &amp;1&lt;br /&gt;select file_id, block_id, blocks,&lt;br /&gt;       owner||'.'||segment_name "Name"&lt;br /&gt;from   sys.dba_extents&lt;br /&gt;where  tablespace_name = upper('&amp;1')&lt;br /&gt;UNION&lt;br /&gt;select file_id, block_id, blocks,&lt;br /&gt;       'Free'&lt;br /&gt;from   sys.dba_free_space&lt;br /&gt;where  tablespace_name = upper('&amp;1')&lt;br /&gt;order by 1,2,3&lt;br /&gt;/&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;set verify off&lt;br /&gt;column file_name format a50 word_wrapped&lt;br /&gt;column smallest format 999,990 heading "Smallest|Size|Poss."&lt;br /&gt;column currsize format 999,990 heading "Current|Size"&lt;br /&gt;column savings  format 999,990 heading "Poss.|Savings"&lt;br /&gt;set pages 3000&lt;br /&gt;break on report&lt;br /&gt;compute sum of savings on report&lt;br /&gt;&lt;br /&gt;column value new_val blksize&lt;br /&gt;select value from v$parameter where name = 'db_block_size'&lt;br /&gt;/&lt;br /&gt;&lt;br /&gt;select file_name,&lt;br /&gt;       ceil( (nvl(hwm,1)*&amp;&amp;blksize)/1024/1024 ) smallest,&lt;br /&gt;       ceil( blocks*&amp;&amp;blksize/1024/1024) currsize,&lt;br /&gt;       ceil( blocks*&amp;&amp;blksize/1024/1024) -&lt;br /&gt;       ceil( (nvl(hwm,1)*&amp;&amp;blksize)/1024/1024 ) savings&lt;br /&gt;from dba_data_files a,&lt;br /&gt;     ( select file_id, max(block_id+blocks-1) hwm&lt;br /&gt;         from dba_extents&lt;br /&gt;        group by file_id ) b&lt;br /&gt;where a.file_id = b.file_id(+)&lt;br /&gt;/&lt;br /&gt;&lt;br /&gt;column cmd format a75 word_wrapped&lt;br /&gt;&lt;br /&gt;select 'alter database datafile '''||file_name||''' resize ' ||&lt;br /&gt;       ceil( (nvl(hwm,1)*&amp;&amp;blksize)/1024/1024 )  || 'm;' cmd&lt;br /&gt;from dba_data_files a,&lt;br /&gt;     ( select file_id, max(block_id+blocks-1) hwm&lt;br /&gt;         from dba_extents&lt;br /&gt;        group by file_id ) b&lt;br /&gt;where a.file_id = b.file_id(+)&lt;br /&gt;  and ceil( blocks*&amp;&amp;blksize/1024/1024) -&lt;br /&gt;      ceil( (nvl(hwm,1)*&amp;&amp;blksize)/1024/1024 ) &gt; 0&lt;br /&gt;/&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-3300913199542773251?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/3300913199542773251/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=3300913199542773251' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/3300913199542773251'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/3300913199542773251'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2010/09/useful-when-resizing-datafile.html' title='useful when resizing datafile'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-8088304030360651582</id><published>2010-09-15T11:10:00.004+08:00</published><updated>2010-09-15T17:47:26.532+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Undo Rollback time</title><content type='html'>this query will show you how much time remaining for your rollback session.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;for 9i and up&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;SET lines 500 pages 500 col PCT FOR a5&lt;br /&gt; SELECT state                                   ,&lt;br /&gt;  undoblocksdone                                ,&lt;br /&gt;  undoblockstotal                               ,&lt;br /&gt;  cputime                                       ,&lt;br /&gt;  undoblocksdone              / undoblockstotal * 100 percent,&lt;br /&gt;  TO_CHAR(((((undoblockstotal - undoblocksdone) / (undoblocksdone/cputime) / 3600) / 24) + sysdate),'dd-mon-yyyy hh24:mi:ss') timetocomplete&lt;br /&gt;   FROM v$fast_start_transactions;&lt;br /&gt;--just a note if your doing a parallel rollback the values does not give the correct values&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;for 10g and up&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;SELECT ADDR,&lt;br /&gt;  ROUND(((KTUXESIZ*&lt;br /&gt;  (SELECT value FROM v$parameter WHERE name = 'db_block_size'&lt;br /&gt;  )/1024/1024)),2) "Undo Size",&lt;br /&gt;  KTUXESTA "Status"           ,&lt;br /&gt;  KTUXECFL&lt;br /&gt;   FROM sys.x$ktuxe&lt;br /&gt;  WHERE KTUXESTA='ACTIVE'&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-8088304030360651582?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/8088304030360651582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=8088304030360651582' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8088304030360651582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8088304030360651582'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2010/09/undo-rollback-time.html' title='Undo Rollback time'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-7563920897375149527</id><published>2010-03-02T10:41:00.002+08:00</published><updated>2010-03-02T10:49:28.591+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Oracle: how to get the DDL of a certain object</title><content type='html'>I have a sql script here to extract DDL of all the objects in a schema, the example below will extract the indexes of a certain schema. this is already formatted so you can spool it in a sql file and later run it.&lt;br /&gt;&lt;br /&gt;set feedback off echo off&lt;br /&gt;set long 200000 pages 0 lines 400 trimspool on linesize 400&lt;br /&gt;column txt format a400 word_wrapped&lt;br /&gt;variable ind_owner varchar2(100);&lt;br /&gt;&lt;br /&gt;begin&lt;br /&gt;:ind_owner := &amp;schema;&lt;br /&gt;end;&lt;br /&gt;/&lt;br /&gt;&lt;br /&gt;exec dbms_metadata.set_transform_param( DBMS_METADATA.SESSION_TRANSFORM, 'PRETTY', TRUE);&lt;br /&gt;exec dbms_metadata.set_transform_param( DBMS_METADATA.SESSION_TRANSFORM, 'SQLTERMINATOR', TRUE );&lt;br /&gt;spool $ORACLE_SID-get_idx_ddl.sql&lt;br /&gt;select dbms_metadata.get_ddl('INDEX',u.INDEX_NAME,:ind_owner) txt from dba_indexes u where owner = :ind_owner;&lt;br /&gt;spool off&lt;br /&gt;exit&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-7563920897375149527?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/7563920897375149527/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=7563920897375149527' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/7563920897375149527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/7563920897375149527'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2010/03/oracle-how-to-get-ddl-of-certain-object.html' title='Oracle: how to get the DDL of a certain object'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-4788638894230140850</id><published>2009-11-04T08:45:00.002+08:00</published><updated>2009-11-04T08:47:36.607+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>view open cursor usage in Oracle</title><content type='html'>--count open cursors by username, SID&lt;br /&gt;break on report&lt;br /&gt;comp sum of curs on report&lt;br /&gt;select user_name, SID, count(*) cursors from V$OPEN_CURSOR group by User_Name, SID order by User_Name, SID;&lt;br /&gt;&lt;br /&gt;--displays information on cursor usage for the current session&lt;br /&gt;select * from V$SESSION_CURSOR_CACHE;&lt;br /&gt;&lt;br /&gt;--displays information on cursor usage for the system.&lt;br /&gt;select * from V$SYSTEM_CURSOR_CACHE;&lt;br /&gt;&lt;br /&gt;--displays open_cursors usage in details&lt;br /&gt;select user_name,to_char(sysdate,'hh24:mi:ss') col1, sql_text from V$OPEN_CURSOR&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-4788638894230140850?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/4788638894230140850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=4788638894230140850' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4788638894230140850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4788638894230140850'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/11/view-open-cursor-usage-in-oracle.html' title='view open cursor usage in Oracle'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-2785093149225093249</id><published>2009-10-24T03:27:00.001+08:00</published><updated>2009-10-24T03:40:39.111+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows 7'/><title type='text'>Linus Torvalds on Windows 7 ... nice</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_oWJ9bpXGJiA/SuIGqDHDiUI/AAAAAAAABpU/a-x9ujYYMC4/s1600-h/Sarcasm.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 267px;" src="http://4.bp.blogspot.com/_oWJ9bpXGJiA/SuIGqDHDiUI/AAAAAAAABpU/a-x9ujYYMC4/s400/Sarcasm.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5395882623002446146" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-2785093149225093249?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/2785093149225093249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=2785093149225093249' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2785093149225093249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2785093149225093249'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/10/linus-torvalds-on-windows-7-nice.html' title='Linus Torvalds on Windows 7 ... nice'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_oWJ9bpXGJiA/SuIGqDHDiUI/AAAAAAAABpU/a-x9ujYYMC4/s72-c/Sarcasm.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-5680134346773605041</id><published>2009-10-11T17:38:00.000+08:00</published><updated>2009-10-11T17:40:44.137+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Resolving Flashback Database Error: (ORA-38760: This database instance failed to turn on flashback database)</title><content type='html'>&lt;strong&gt;Resolving Flashback Database Error: (ORA-38760: This database instance failed to turn on flashback database)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Unable to allocate flashback log of 1634 blocks from&lt;br /&gt;current recovery area of size 42949672960 bytes.&lt;br /&gt;Recovery Writer (RVWR) is stuck until more space is&lt;br /&gt;available in the recovery area.&lt;br /&gt;Unable to write Flashback database log data because the&lt;br /&gt;recovery area is full, presence of a guaranteed&lt;br /&gt;restore point and no reusable flashback logs.&lt;br /&gt;Use ALTER SYSTEM SET db_recovery_file_dest_size command&lt;br /&gt;to add space. DO NOT manually remove flashback log files&lt;br /&gt;to create space.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;so I brought down the db (aborted it)&lt;br /&gt;&lt;br /&gt;SQL:.:(.):.&gt; startup mount;&lt;br /&gt;ORACLE instance started.&lt;br /&gt;&lt;br /&gt;Total System Global Area 1694498816 bytes&lt;br /&gt;Fixed Size                  2139448 bytes&lt;br /&gt;Variable Size             673405640 bytes&lt;br /&gt;Database Buffers          889192448 bytes&lt;br /&gt;Redo Buffers              129761280 bytes&lt;br /&gt;Database mounted.&lt;br /&gt;SQL:.:(.):.&gt; select estimated_flashback_size,flashback_size,oldest_flashback_scn,oldest_flashback_time from v$flashback_database_log;&lt;br /&gt;&lt;br /&gt;ESTIMATED_FLASHBACK_SIZE FLASHBACK_SIZE OLDEST_FLASHBACK_SCN OLDEST_FL&lt;br /&gt;------------------------ -------------- -------------------- ---------&lt;br /&gt;                       0     4.2926E+10                    0&lt;br /&gt;&lt;br /&gt;SQL:.:(.):.&gt; SELECT NAME, SCN, TIME,&lt;br /&gt;GUARANTEE_FLASHBACK_DATABASE&lt;br /&gt;FROM V$RESTORE_POINT&lt;br /&gt;WHERE GUARANTEE_FLASHBACK_DATABASE='YES';  2    3    4&lt;br /&gt;&lt;br /&gt;NAME                                  SCN TIME                                                                        GUA&lt;br /&gt;------------------------------ ---------- --------------------------------------------------------------------------- ---&lt;br /&gt;GRP_1                          9.2118E+12 21-AUG-09 02.21.03.000000000 PM                                             YES&lt;br /&gt;GRP_2                          9.2138E+12 26-AUG-09 08.29.42.000000000 AM                                             YES&lt;br /&gt;&lt;br /&gt;SQL:.:(.):.&gt; SELECT OLDEST_FLASHBACK_SCN, OLDEST_FLASHBACK_TIME&lt;br /&gt;      FROM V$FLASHBACK_DATABASE_LOG;&lt;br /&gt;  2&lt;br /&gt;OLDEST_FLASHBACK_SCN OLDEST_FL&lt;br /&gt;-------------------- ---------&lt;br /&gt;                   0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL:.:(.):.&gt; flashback database to restore point GRP_2;&lt;br /&gt;&lt;br /&gt;Flashback complete.&lt;br /&gt;&lt;br /&gt;SQL:.:(.):.&gt; select count(1) from v$datafile_header where fuzzy = 'YES';&lt;br /&gt;&lt;br /&gt;  COUNT(1)&lt;br /&gt;----------&lt;br /&gt;         0&lt;br /&gt;&lt;br /&gt;SQL:.:(.):.&gt; alter database open resetlogs;&lt;br /&gt;alter database open resetlogs&lt;br /&gt;*&lt;br /&gt;ERROR at line 1:&lt;br /&gt;ORA-38760: This database instance failed to turn on flashback database&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;in the log&lt;br /&gt;---------------------------------------------------------------------------------------------------------------&lt;br /&gt;Flashback Restore Complete&lt;br /&gt;Flashback Media Recovery Start&lt;br /&gt; parallel recovery started with 15 processes&lt;br /&gt;Flashback Media Recovery Log /sbclocal/app/oracle/admin/TESTDB/arch/TESTDB_0001_0695484339_0000000024.arc&lt;br /&gt;Fri Aug 28 10:13:39 2009&lt;br /&gt;Incomplete Recovery applied until change 9213823318145&lt;br /&gt;Flashback Media Recovery Complete&lt;br /&gt;Completed: flashback database to restore point GRP_2&lt;br /&gt;Fri Aug 28 10:24:07 2009&lt;br /&gt;alter database open resetlogs&lt;br /&gt;Fri Aug 28 10:25:21 2009&lt;br /&gt;RESETLOGS after incomplete recovery UNTIL CHANGE 9213823318145&lt;br /&gt;Resetting resetlogs activation ID 4173768512 (0xf8c6a740)&lt;br /&gt;Fri Aug 28 10:27:56 2009&lt;br /&gt;Setting recovery target incarnation to 3&lt;br /&gt;Fri Aug 28 10:27:56 2009&lt;br /&gt;ORA-38760 signalled during: alter database open resetlogs...&lt;br /&gt;Fri Aug 28 10:52:29 2009&lt;br /&gt;---------------------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL:oradbhost:(TESTDB):PRIMARY&gt; drop restore point GRP_1;&lt;br /&gt;&lt;br /&gt;Restore point dropped.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL:oradbhost:(TESTDB):PRIMARY&gt; select status from v$instance;&lt;br /&gt;&lt;br /&gt;STATUS&lt;br /&gt;------------&lt;br /&gt;MOUNTED&lt;br /&gt;&lt;br /&gt;SQL:oradbhost:(TESTDB):PRIMARY&gt; select count(1) from v$datafile_header where fuzzy = 'YES'l&lt;br /&gt;  2  .&lt;br /&gt;SQL:oradbhost:(TESTDB):PRIMARY&gt; select count(1) from v$datafile_header where fuzzy = 'YES';&lt;br /&gt;&lt;br /&gt;  COUNT(1)&lt;br /&gt;----------&lt;br /&gt;         0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL:oradbhost:(TESTDB):PRIMARY&gt; alter database open resetlogs;&lt;br /&gt;alter database open resetlogs&lt;br /&gt;*&lt;br /&gt;ERROR at line 1:&lt;br /&gt;ORA-01139: RESETLOGS option only valid after an incomplete database recovery&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL:oradbhost:(TESTDB):PRIMARY&gt; flashback database to restore point GRP_2;&lt;br /&gt;flashback database to restore point GRP_2&lt;br /&gt;*&lt;br /&gt;ERROR at line 1:&lt;br /&gt;ORA-38729: Not enough flashback database log data to do FLASHBACK.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL:oradbhost:(TESTDB):PRIMARY&gt; recover database using backup controlfile until cancel;&lt;br /&gt;ORA-00283: recovery session canceled due to errors&lt;br /&gt;ORA-38760: This database instance failed to turn on flashback database&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL:oradbhost:(TESTDB):PRIMARY&gt; alter system set db_recovery_file_dest_size=50G;&lt;br /&gt;&lt;br /&gt;System altered.&lt;br /&gt;&lt;br /&gt;SQL:oradbhost:(TESTDB):PRIMARY&gt; flashback database to restore point GRP_2;&lt;br /&gt;flashback database to restore point GRP_2&lt;br /&gt;*&lt;br /&gt;ERROR at line 1:&lt;br /&gt;ORA-38729: Not enough flashback database log data to do FLASHBACK.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL:oradbhost:(TESTDB):PRIMARY&gt; recover database using backup controlfile until cancel;&lt;br /&gt;ORA-00283: recovery session canceled due to errors&lt;br /&gt;ORA-38760: This database instance failed to turn on flashback database&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-things to do if you got these scenario-&lt;br /&gt;1) turn off the flashback database&lt;br /&gt;2) drop the GRP&lt;br /&gt;3) open the database normally(no resetlogs)&lt;br /&gt;4) create a new GRP from that point&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-5680134346773605041?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/5680134346773605041/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=5680134346773605041' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/5680134346773605041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/5680134346773605041'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/10/resolving-flashback-database-error-ora.html' title='Resolving Flashback Database Error: (ORA-38760: This database instance failed to turn on flashback database)'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-3276758699265248759</id><published>2009-09-20T21:56:00.001+08:00</published><updated>2009-09-20T21:56:35.300+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Check log sequece required for recovery in Oracle</title><content type='html'>select sequence# from V$log_history where 9151813979322 between first_change# and next_change#&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-3276758699265248759?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/3276758699265248759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=3276758699265248759' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/3276758699265248759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/3276758699265248759'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/09/check-log-sequece-required-for-recovery.html' title='Check log sequece required for recovery in Oracle'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-5233623440783865516</id><published>2009-09-20T21:54:00.001+08:00</published><updated>2009-09-20T21:54:47.542+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Open cursor usage in Oracle</title><content type='html'>select a.value, s.username, s.sid, s.serial#&lt;br /&gt;from v$sesstat a, v$statname b, v$session s&lt;br /&gt;where a.statistic# = b.statistic#  and s.sid=a.sid&lt;br /&gt;and b.name = 'opened cursors current';&lt;br /&gt;&lt;br /&gt;select max(a.value) as highest_open_cur, p.value as max_open_cur&lt;br /&gt;from v$sesstat a, v$statname b, v$parameter p&lt;br /&gt;where a.statistic# = b.statistic# &lt;br /&gt;and b.name = 'opened cursors current'&lt;br /&gt;and p.name= 'open_cursors'&lt;br /&gt;group by p.value;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-5233623440783865516?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/5233623440783865516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=5233623440783865516' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/5233623440783865516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/5233623440783865516'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/09/open-cursor-usage-in-oracle.html' title='Open cursor usage in Oracle'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-2077465689482150190</id><published>2009-09-20T21:43:00.001+08:00</published><updated>2009-09-20T21:45:01.345+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>check Undo users and uncommited transactions in Oracle</title><content type='html'>set lines 300&lt;br /&gt;set pages 30000&lt;br /&gt;SELECT a.sid, a.username, b.xidusn, b.used_urec Num_of_records, b.used_ublk USED_BLOCKS,(b.used_ublk * ( select value from v$parameter where name = 'db_block_size'))/1024/1024 MB_USED&lt;br /&gt;  FROM v$session a, v$transaction b&lt;br /&gt;  WHERE a.saddr = b.ses_addr;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select&lt;br /&gt;(select sum(bytes/1024/1024)&lt;br /&gt;   from dba_data_files&lt;br /&gt;    where tablespace_name = (select upper(value)&lt;br /&gt;                              from V$parameter where name = 'undo_tablespace')) TOTAL_UNDO_SIZE_MB,&lt;br /&gt;nvl((SELECT sum(b.used_ublk * ( select value from v$parameter where name = 'db_block_size')/1024/1024)&lt;br /&gt;                                  FROM v$session a, v$transaction b  WHERE a.saddr = b.ses_addr),0) TOTAL_UNDO_USED_MB,&lt;br /&gt;(select sum(bytes/1024/1024)&lt;br /&gt;   from dba_data_files&lt;br /&gt;    where tablespace_name = (select upper(value)&lt;br /&gt;                              from V$parameter where name = 'undo_tablespace')) - nvl((SELECT sum(b.used_ublk * ( select value from v$parameter where name = 'db_block_size')/1024/1024)&lt;br /&gt;                                  FROM v$session a, v$transaction b  WHERE a.saddr = b.ses_addr),0) FREE_MB_UNDO&lt;br /&gt;from dual;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--#uncommited transactions&lt;br /&gt;&lt;br /&gt;col osuser for a10&lt;br /&gt;col username for a10&lt;br /&gt;set lines 300&lt;br /&gt;set pages 300&lt;br /&gt;col sql_text for a60&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select V$SESSION.OSUSER,spid,V$SESSION.status,&lt;br /&gt;V$SESSION.USERNAME,V$SESSION.SID,&lt;br /&gt;V$SESSION.SERIAL#,&lt;br /&gt;V$SESSION.PROGRAM,&lt;br /&gt;V$SESSION.MACHINE,&lt;br /&gt;v$transaction.start_time,&lt;br /&gt;to_number(sysdate-to_date(v$transaction.start_time,'MM/DD/YY HH24:MI:SS'))*24*60 run_time&lt;br /&gt;from&lt;br /&gt;V$SESSION , v$transaction,V$process&lt;br /&gt;WHERE v$transaction.ses_addr = V$SESSION.saddr and V$process.addr = V$SESSION.paddr;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select OSUSER,V$SESSION.status,&lt;br /&gt;        USERNAME,SID,&lt;br /&gt;        SERIAL#,&lt;br /&gt;        SQL_TEXT,&lt;br /&gt;        v$transaction.start_time,&lt;br /&gt;        to_number(sysdate-to_date(v$transaction.start_time,'MM/DD/YY HH24:MI:SS'))*24*60 run_time&lt;br /&gt;        from v$transaction ,&lt;br /&gt;        V$SESSION ,&lt;br /&gt;        V$SQLAREA&lt;br /&gt;        WHERE( (V$SESSION.SQL_ADDRESS = V$SQLAREA.ADDRESS and V$SESSION.sql_hash_value = V$SQLAREA.HASH_VALUE )&lt;br /&gt;        OR ( V$SESSION.PREV_SQL_ADDR = V$SQLAREA.ADDRESS and V$SESSION.PREV_hash_value = V$SQLAREA.HASH_VALUE ))&lt;br /&gt;        and v$transaction.ses_addr = V$SESSION.saddr;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-2077465689482150190?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/2077465689482150190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=2077465689482150190' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2077465689482150190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2077465689482150190'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/09/check-undo-users-and-uncommited.html' title='check Undo users and uncommited transactions in Oracle'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-6776330675159331703</id><published>2009-09-20T21:42:00.001+08:00</published><updated>2009-09-20T21:43:14.364+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Temporary tablespace usage in Oracle</title><content type='html'>--&lt;br /&gt;set lines 200&lt;br /&gt;col sid_serial for a15&lt;br /&gt;col osuser for a10&lt;br /&gt;col module for a20&lt;br /&gt;col program for a30&lt;br /&gt;col tablespace for a10&lt;br /&gt;-- Listing of temp segments.&lt;br /&gt;--&lt;br /&gt;SELECT   A.tablespace_name tablespace, D.mb_total,&lt;br /&gt;         SUM (A.used_blocks * D.block_size) / 1024 / 1024 mb_used,&lt;br /&gt;         D.mb_total - SUM (A.used_blocks * D.block_size) / 1024 / 1024 mb_free&lt;br /&gt;FROM     v$sort_segment A,&lt;br /&gt;         (&lt;br /&gt;         SELECT   B.name, C.block_size, SUM (C.bytes) / 1024 / 1024 mb_total&lt;br /&gt;         FROM     v$tablespace B, v$tempfile C&lt;br /&gt;         WHERE    B.ts#= C.ts#&lt;br /&gt;         GROUP BY B.name, C.block_size&lt;br /&gt;         ) D&lt;br /&gt;WHERE    A.tablespace_name = D.name&lt;br /&gt;GROUP by A.tablespace_name, D.mb_total;&lt;br /&gt;&lt;br /&gt;--&lt;br /&gt;-- Temp segment usage per session.&lt;br /&gt;--&lt;br /&gt;SELECT   S.sid || ',' || S.serial# sid_serial, S.username, S.osuser, P.spid, S.module,&lt;br /&gt;         P.program, SUM (T.blocks) * TBS.block_size / 1024 / 1024 mb_used, T.tablespace,&lt;br /&gt;         COUNT(*) statements&lt;br /&gt;FROM     v$sort_usage T, v$session S, dba_tablespaces TBS, v$process P&lt;br /&gt;WHERE    T.session_addr = S.saddr&lt;br /&gt;AND      S.paddr = P.addr&lt;br /&gt;AND      T.tablespace = TBS.tablespace_name&lt;br /&gt;GROUP BY S.sid, S.serial#, S.username, S.osuser, P.spid, S.module,&lt;br /&gt;         P.program, TBS.block_size, T.tablespace&lt;br /&gt;ORDER BY sid_serial;&lt;br /&gt;&lt;br /&gt;--&lt;br /&gt;-- Temp segment usage per statement.&lt;br /&gt;--&lt;br /&gt;SELECT  S.sid || ',' || S.serial# sid_serial, S.username, Q.hash_value, Q.sql_text,&lt;br /&gt;        T.blocks * TBS.block_size / 1024 / 1024 mb_used, T.tablespace&lt;br /&gt;FROM    v$sort_usage T, v$session S, v$sqlarea Q, dba_tablespaces TBS&lt;br /&gt;WHERE   T.session_addr = S.saddr&lt;br /&gt;AND     T.sqladdr = Q.address&lt;br /&gt;AND     T.tablespace = TBS.tablespace_name&lt;br /&gt;ORDER BY S.sid;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-6776330675159331703?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/6776330675159331703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=6776330675159331703' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6776330675159331703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6776330675159331703'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/09/temporary-tablespace-usage-in-oracle.html' title='Temporary tablespace usage in Oracle'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-4590381282977793826</id><published>2009-09-20T21:38:00.002+08:00</published><updated>2009-09-20T21:39:29.972+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Calculate Optimal Undo in Oracle</title><content type='html'>SELECT d.undo_size/(1024*1024) "ACTUAL UNDO SIZE [MByte]",&lt;br /&gt;       SUBSTR(e.value,1,25) "UNDO RETENTION [Sec]",&lt;br /&gt;       ROUND((d.undo_size / (to_number(f.value) *&lt;br /&gt;g.undo_block_per_sec))) "OPTIMAL UNDO RETENTION [Sec]"&lt;br /&gt;  FROM (&lt;br /&gt;       SELECT SUM(a.bytes) undo_size&lt;br /&gt;          FROM v$datafile a,&lt;br /&gt;               v$tablespace b,&lt;br /&gt;               dba_tablespaces c&lt;br /&gt;         WHERE c.contents = 'UNDO'&lt;br /&gt;           AND c.status = 'ONLINE'&lt;br /&gt;           AND b.name = c.tablespace_name&lt;br /&gt;           AND a.ts# = b.ts#&lt;br /&gt;       ) d,&lt;br /&gt;v$parameter e,&lt;br /&gt;v$parameter f,&lt;br /&gt;(&lt;br /&gt;       SELECT MAX(undoblks/((end_time-begin_time)*3600*24))&lt;br /&gt;undo_block_per_sec&lt;br /&gt;         FROM v$undostat&lt;br /&gt;       ) g&lt;br /&gt;WHERE e.name = 'undo_retention'&lt;br /&gt;  AND f.name = 'db_block_size'&lt;br /&gt;/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SELECT d.undo_size/(1024*1024) "ACTUAL UNDO SIZE [MByte]",&lt;br /&gt;       SUBSTR(e.value,1,25) "UNDO RETENTION [Sec]",&lt;br /&gt;       (TO_NUMBER(e.value) * TO_NUMBER(f.value) *&lt;br /&gt;       g.undo_block_per_sec) / (1024*1024)&lt;br /&gt;      "NEEDED UNDO SIZE [MByte]"&lt;br /&gt;  FROM (&lt;br /&gt;       SELECT SUM(a.bytes) undo_size&lt;br /&gt;         FROM v$datafile a,&lt;br /&gt;              v$tablespace b,&lt;br /&gt;              dba_tablespaces c&lt;br /&gt;        WHERE c.contents = 'UNDO'&lt;br /&gt;          AND c.status = 'ONLINE'&lt;br /&gt;          AND b.name = c.tablespace_name&lt;br /&gt;          AND a.ts# = b.ts#&lt;br /&gt;       ) d,&lt;br /&gt;      v$parameter e,&lt;br /&gt;       v$parameter f,&lt;br /&gt;       (&lt;br /&gt;       SELECT MAX(undoblks/((end_time-begin_time)*3600*24))&lt;br /&gt;         undo_block_per_sec&lt;br /&gt;         FROM v$undostat&lt;br /&gt;       ) g&lt;br /&gt; WHERE e.name = 'undo_retention'&lt;br /&gt;  AND f.name = 'db_block_size'&lt;br /&gt;/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-4590381282977793826?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/4590381282977793826/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=4590381282977793826' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4590381282977793826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4590381282977793826'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/09/calculate-optimal-undo-in-oracle.html' title='Calculate Optimal Undo in Oracle'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-8449096771316777868</id><published>2009-09-20T21:36:00.001+08:00</published><updated>2009-09-20T21:37:44.960+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>checking long operations in Oracle RAC</title><content type='html'>#longopsrac.sql#&lt;br /&gt;#--------------# &lt;br /&gt;SELECT s.sid,&lt;br /&gt;        s.serial#,&lt;br /&gt;        s.machine,&lt;br /&gt;        TRUNC(sl.elapsed_seconds/60) || ':' || MOD(sl.elapsed_seconds,60) elapsed,&lt;br /&gt;        TRUNC(sl.time_remaining/60) || ':' || MOD(sl.time_remaining,60) remaining,&lt;br /&gt;        ROUND(sl.sofar/sl.totalwork*100, 2) progress_pct&lt;br /&gt; FROM   gv$session s,&lt;br /&gt;        gv$session_longops sl&lt;br /&gt; WHERE  s.sid     = sl.sid&lt;br /&gt; AND    s.serial# = sl.serial#&lt;br /&gt; AND    s.inst_id = sl.inst_id&lt;br /&gt; AND    sl.sofar &lt; sl.totalwork&lt;br /&gt;;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-8449096771316777868?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/8449096771316777868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=8449096771316777868' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8449096771316777868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8449096771316777868'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/09/checking-long-operations-in-oracle-rac.html' title='checking long operations in Oracle RAC'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-5112143815522742610</id><published>2009-09-20T21:35:00.002+08:00</published><updated>2009-09-20T21:36:19.944+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>View RMAN jobs in Oracle</title><content type='html'>set lines 150 pages 30000&lt;br /&gt;col ins format a10&lt;br /&gt;col outs format a10&lt;br /&gt;col TIME_TAKEN_DISPLAY format a10&lt;br /&gt;select SESSION_KEY,&lt;br /&gt;     OPTIMIZED,&lt;br /&gt;     COMPRESSION_RATIO,input_type,&lt;br /&gt;     INPUT_BYTES_PER_SEC_DISPLAY ins,&lt;br /&gt;     OUTPUT_BYTES_PER_SEC_DISPLAY outs,&lt;br /&gt;     TIME_TAKEN_DISPLAY,to_char(START_TIME,'mm/dd/yy hh24:mi') start_time,&lt;br /&gt;  to_char(END_TIME,'mm/dd/yy hh24:mi')   end_time,elapsed_seconds/3600  hrs&lt;br /&gt;  ,status&lt;br /&gt;  from V$RMAN_BACKUP_JOB_DETAILS&lt;br /&gt;  order by session_key;&lt;br /&gt;&lt;br /&gt;select output&lt;br /&gt;  from v$rman_output&lt;br /&gt;  where session_key = &amp;session_key&lt;br /&gt;  order by recid;&lt;br /&gt;&lt;br /&gt;@longopsrac&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-5112143815522742610?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/5112143815522742610/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=5112143815522742610' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/5112143815522742610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/5112143815522742610'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/09/view-rman-jobs-in-oracle.html' title='View RMAN jobs in Oracle'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-1571164249137764272</id><published>2009-09-20T21:35:00.001+08:00</published><updated>2009-09-20T21:35:44.105+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Views on Flashback Area Usage in Oracle</title><content type='html'>alter session set nls_date_format='DD-MON-YYYY HH24:MI:ss';&lt;br /&gt;col OLDEST_FLASHBACK_SCN for 999999999999999&lt;br /&gt;col name for a80&lt;br /&gt;set lines 140 pages 3000&lt;br /&gt;&lt;br /&gt;select name,SPACE_LIMIT/1024/1024 limit_mb,SPACE_USED/1024/1024 used_mb,round((SPACE_USED/SPACE_LIMIT)*100,2)  percent_usage from  V$RECOVERY_FILE_DEST;&lt;br /&gt;&lt;br /&gt;select * from V$FLASH_RECOVERY_AREA_USAGE;&lt;br /&gt;&lt;br /&gt;select estimated_flashback_size,flashback_size,oldest_flashback_scn,oldest_flashback_time from v$flashback_database_log;&lt;br /&gt;&lt;br /&gt;SELECT * FROM gv$flashback_database_stat;&lt;br /&gt;&lt;br /&gt; set heading off&lt;br /&gt;&lt;br /&gt;select '---------------' from dual;&lt;br /&gt;select 'Flashback usage' from dual;&lt;br /&gt;select '---------------' from dual;&lt;br /&gt;&lt;br /&gt; set heading on&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;@/home/casenaem/flash_back_free.sql&lt;br /&gt;&lt;br /&gt; set heading off&lt;br /&gt;&lt;br /&gt;select '---------------' from dual;&lt;br /&gt;select 'Restore Points' from dual;&lt;br /&gt;select '---------------' from dual;&lt;br /&gt;&lt;br /&gt; set heading on&lt;br /&gt;&lt;br /&gt;select * from V$RESTORE_POINT;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-1571164249137764272?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/1571164249137764272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=1571164249137764272' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/1571164249137764272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/1571164249137764272'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/09/views-on-flashback-area-usage-in-oracle.html' title='Views on Flashback Area Usage in Oracle'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-8418560094480972474</id><published>2009-09-20T21:34:00.001+08:00</published><updated>2009-09-20T21:34:33.493+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>check Library Cache Lock in Oracle</title><content type='html'>select decode(lob.kglobtyp, 0, 'NEXT OBJECT', 1, 'INDEX', 2, 'TABLE', 3, 'CLUSTER',&lt;br /&gt;                      4, 'VIEW', 5, 'SYNONYM', 6, 'SEQUENCE',&lt;br /&gt;                      7, 'PROCEDURE', 8, 'FUNCTION', 9, 'PACKAGE',&lt;br /&gt;                      11, 'PACKAGE BODY', 12, 'TRIGGER',&lt;br /&gt;                      13, 'TYPE', 14, 'TYPE BODY',&lt;br /&gt;                      19, 'TABLE PARTITION', 20, 'INDEX PARTITION', 21, 'LOB',&lt;br /&gt;                      22, 'LIBRARY', 23, 'DIRECTORY', 24, 'QUEUE',&lt;br /&gt;                      28, 'JAVA SOURCE', 29, 'JAVA CLASS', 30, 'JAVA RESOURCE',&lt;br /&gt;                      32, 'INDEXTYPE', 33, 'OPERATOR',&lt;br /&gt;                      34, 'TABLE SUBPARTITION', 35, 'INDEX SUBPARTITION',&lt;br /&gt;                      40, 'LOB PARTITION', 41, 'LOB SUBPARTITION',&lt;br /&gt;                      42, 'MATERIALIZED VIEW',&lt;br /&gt;                      43, 'DIMENSION',&lt;br /&gt;                      44, 'CONTEXT', 46, 'RULE SET', 47, 'RESOURCE PLAN',&lt;br /&gt;                      48, 'CONSUMER GROUP',&lt;br /&gt;                      51, 'SUBSCRIPTION', 52, 'LOCATION',&lt;br /&gt;                      55, 'XML SCHEMA', 56, 'JAVA DATA',&lt;br /&gt;                      57, 'SECURITY PROFILE', 59, 'RULE',&lt;br /&gt;                      62, 'EVALUATION CONTEXT',&lt;br /&gt;                     'UNDEFINED') object_type,&lt;br /&gt;       lob.KGLNAOBJ object_name,&lt;br /&gt;       pn.KGLPNMOD lock_mode_held,&lt;br /&gt;       pn.KGLPNREQ lock_mode_requested,&lt;br /&gt;       ses.sid,&lt;br /&gt;       ses.serial#,&lt;br /&gt;       ses.username&lt;br /&gt;  FROM&lt;br /&gt;       x$kglpn pn,&lt;br /&gt;       v$session ses,&lt;br /&gt;       x$kglob lob,&lt;br /&gt;       v$session_wait vsw&lt;br /&gt;  WHERE&lt;br /&gt;   pn.KGLPNUSE = ses.saddr and&lt;br /&gt;   pn.KGLPNHDL = lob.KGLHDADR&lt;br /&gt;   and lob.kglhdadr = vsw.p1raw&lt;br /&gt;   and vsw.event = 'library cache pin'&lt;br /&gt;order by lock_mode_held desc&lt;br /&gt;/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-8418560094480972474?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/8418560094480972474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=8418560094480972474' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8418560094480972474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8418560094480972474'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/09/check-library-cache-lock-in-oracle.html' title='check Library Cache Lock in Oracle'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-6941847938441581525</id><published>2009-09-20T21:30:00.004+08:00</published><updated>2009-09-20T21:33:30.940+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Backup passwords of users in a database</title><content type='html'>select 'alter user ' || username || ' identified by values ''' || password ||''';'  from dba_users order by username;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-6941847938441581525?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/6941847938441581525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=6941847938441581525' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6941847938441581525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6941847938441581525'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/09/backup-passwords-of-users-in-database.html' title='Backup passwords of users in a database'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-2161736809180257823</id><published>2009-09-20T21:30:00.003+08:00</published><updated>2009-09-20T21:33:09.926+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Check Session Details in Oracle</title><content type='html'>set pages 49999&lt;br /&gt;set lines 300&lt;br /&gt;col PID for a7&lt;br /&gt;col SID for 9999999999&lt;br /&gt;col ser# for a7&lt;br /&gt;col box for a29&lt;br /&gt;col status for a9&lt;br /&gt;col username for a20&lt;br /&gt;col os_user for a12&lt;br /&gt;col program for a25&lt;br /&gt;col LOGON_TIME for a14&lt;br /&gt;col module for a14&lt;br /&gt;col machine for a10&lt;br /&gt;select b.status as status,sql_hash_value,prev_hash_value,module,machine,&lt;br /&gt;to_char(a.spid) as pid, to_char(b.sid) as sid, to_char(b.serial#) as "ser#", substr(b.machine,1,25)  as box, b.username as username,&lt;br /&gt;b.osuser as os_user, b.program program, to_char(b.LOGON_TIME,'dd-mon hh24:mi') LOGON_TIME from v$session b, v$process a where&lt;br /&gt;b.paddr = a.addr&lt;br /&gt;and type='USER'&lt;br /&gt;and b.sid in (&amp;session_id)&lt;br /&gt;order by 3;&lt;br /&gt;&lt;br /&gt;SET LINESIZE 500&lt;br /&gt;SET PAGESIZE 1000&lt;br /&gt;SET VERIFY OFF&lt;br /&gt;col SQL_TEXT for a100&lt;br /&gt;&lt;br /&gt;SELECT b.sid,a.sql_text&lt;br /&gt;FROM   v$sqltext_with_newlines a,&lt;br /&gt;       v$session b&lt;br /&gt;WHERE  a.address = b.sql_address&lt;br /&gt;AND    a.hash_value = b.sql_hash_value&lt;br /&gt;AND    b.sid in (&amp;session_id)&lt;br /&gt;ORDER BY b.sid,a.piece;&lt;br /&gt;&lt;br /&gt;PROMPT&lt;br /&gt;SET PAGESIZE 14&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-2161736809180257823?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/2161736809180257823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=2161736809180257823' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2161736809180257823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2161736809180257823'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/09/check-session-details-in-oracle.html' title='Check Session Details in Oracle'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-8369490989793657804</id><published>2009-09-20T21:27:00.002+08:00</published><updated>2009-09-20T21:33:21.138+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Waiting sessions in Oracle database</title><content type='html'>col wait_status for a30&lt;br /&gt;col event for a40&lt;br /&gt;set lines 170 pages 3000&lt;br /&gt;SELECT sid, serial#, spid, username, event, wait_status, wait_time_milli&lt;br /&gt;FROM(&lt;br /&gt;SELECT s.inst_id AS inst_id,&lt;br /&gt;s.indx AS sid,&lt;br /&gt;se.ksuseser AS serial#,&lt;br /&gt;-- spid from v$process&lt;br /&gt;p.ksuprpid AS spid,&lt;br /&gt;-- columns from v$session&lt;br /&gt;se.ksuudlna AS username,&lt;br /&gt;decode(bitand(se.ksuseidl,11),1,'ACTIVE',0,&lt;br /&gt;decode(bitand(se.ksuseflg,4096),0,'INACTIVE','CACHED'),2,'SNIPED',3,&lt;br /&gt;'SNIPED', 'KILLED') AS status,&lt;br /&gt;decode(ksspatyp,1,'DEDICATED',2,'SHARED',3,'PSEUDO','NONE') AS server,&lt;br /&gt;se.ksuseunm AS osuser,&lt;br /&gt;se.ksusepid AS process,&lt;br /&gt;se.ksusemnm AS machine,&lt;br /&gt;se.ksusetid AS terminal,&lt;br /&gt;se.ksusepnm AS program,&lt;br /&gt;decode(bitand(se.ksuseflg,19),17,'BACKGROUND',1,'USER',2,'RECURSIVE','?') AS type,&lt;br /&gt;se.ksusesqh AS sql_hash_value,&lt;br /&gt;se.ksusepha AS prev_hash_value,&lt;br /&gt;se.ksuseapp AS module,&lt;br /&gt;se.ksuseact AS action,&lt;br /&gt;se.ksuseclid AS client_identifier,&lt;br /&gt;se.ksuseobj AS row_wait_obj#,&lt;br /&gt;se.ksusefil AS row_wait_file#,&lt;br /&gt;se.ksuseblk AS row_wait_block#,&lt;br /&gt;se.ksuseslt AS row_wait_row#,&lt;br /&gt;se.ksuseltm AS logon_time,&lt;br /&gt;se.ksusegrp AS resource_consumer_group,&lt;br /&gt;s.ksussseq AS seq#,&lt;br /&gt;e.kslednam AS event,&lt;br /&gt;e.ksledp1 AS p1text,&lt;br /&gt;s.ksussp1 AS p1,&lt;br /&gt;s.ksussp1r AS p1raw,&lt;br /&gt;e.ksledp2 AS p2text,&lt;br /&gt;s.ksussp2 AS p2,&lt;br /&gt;s.ksussp2r AS p2raw,&lt;br /&gt;e.ksledp3 AS p3text,&lt;br /&gt;s.ksussp3 AS p3,&lt;br /&gt;s.ksussp3r AS p3raw,&lt;br /&gt;decode(s.ksusstim,&lt;br /&gt;-2, 'WAITED UNKNOWN TIME',&lt;br /&gt;-1,'LAST WAIT &lt; 1 microsecond', -- originally WAITED SHORT TIME&lt;br /&gt;0,'CURRENTLY WAITING SINCE '|| s.ksusewtm || 's',&lt;br /&gt;'LAST WAIT ' || s.ksusstim/1000 || ' ms (' ||&lt;br /&gt;s.ksusewtm || 's ago)') wait_status,&lt;br /&gt;to_number(decode(s.ksusstim,0,NULL,-1,NULL,-2,NULL, s.ksusstim/1000))&lt;br /&gt;AS wait_time_milli&lt;br /&gt;from x$ksusecst s, x$ksled e , x$ksuse se, x$ksupr p&lt;br /&gt;where bitand(s.ksspaflg,1)!=0&lt;br /&gt;and bitand(s.ksuseflg,1)!=0&lt;br /&gt;and s.ksussseq!=0&lt;br /&gt;and s.ksussopc=e.indx&lt;br /&gt;and s.indx=se.indx&lt;br /&gt;and se.ksusepro=p.addr&lt;br /&gt;and e.kslednam != 'SQL*Net message from client'&lt;br /&gt;and e.kslednam != 'Streams AQ: waiting for messages in the queue'&lt;br /&gt;and e.kslednam != 'rdbms ipc message'&lt;br /&gt;and e.kslednam != 'Streams AQ: waiting for time management or cleanup tasks'&lt;br /&gt;and e.kslednam != 'Streams AQ: qmn coordinator idle wait'&lt;br /&gt;);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-8369490989793657804?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/8369490989793657804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=8369490989793657804' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8369490989793657804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8369490989793657804'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/09/waiting-sessions-in-oracle-database.html' title='Waiting sessions in Oracle database'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-8189503302684291820</id><published>2009-09-12T01:54:00.002+08:00</published><updated>2009-09-12T02:07:21.187+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Response Time Analysis Made Easy in Oracle Database 10g</title><content type='html'>Historically, in trying to achieve maximum database performance, Oracle DBAs and performance analysts have fought an uphill battle to obtain solid response time metrics for system as well as user session activity. The problem facing DBAs has always had two facets: first, determining exactly "where" the database or user sessions have been spending their time; and second, determining the objective nature of the user experience. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.oracle.com/technology/pub/articles/schumacher_analysis.html"&gt;Response Time Analysis Made Easy in Oracle Database 10g&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Shared via &lt;a href="http://addthis.com"&gt;AddThis&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-8189503302684291820?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/8189503302684291820/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=8189503302684291820' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8189503302684291820'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8189503302684291820'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/09/response-time-analysis-made-easy-in.html' title='Response Time Analysis Made Easy in Oracle Database 10g'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-4326523499290926133</id><published>2009-08-23T00:35:00.002+08:00</published><updated>2009-08-23T00:37:45.139+08:00</updated><title type='text'>GMANews.TV - Hello, Palace? OPS attention called over P5-M phone bill - Nation - Official Website of GMA News and Public Affairs - Latest Philippine News</title><content type='html'>&lt;a href="http://www.gmanews.tv/story/170465/hello-palace-ops-attention-called-over-p5-m-phone-bill"&gt;GMANews.TV - Hello, Palace? OPS attention called over P5-M phone bill - Nation - Official Website of GMA News and Public Affairs - Latest Philippine News&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;“&lt;strong&gt;Kung titingnan daw talaga natin, yung &lt;strong&gt;P5 million &lt;/strong&gt;na cellular phone bill over a period of one year for an information and communications office like the OPS is not really big. Yung mga long distance calls…mga interviews, it really racked up costs&lt;/strong&gt;," said Remonde in a recent interview with reporters.&lt;br /&gt;&lt;br /&gt;Shared via &lt;a href="http://addthis.com/"&gt;AddThis&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-4326523499290926133?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/4326523499290926133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=4326523499290926133' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4326523499290926133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4326523499290926133'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/08/gmanewstv-hello-palace-ops-attention.html' title='GMANews.TV - Hello, Palace? OPS attention called over P5-M phone bill - Nation - Official Website of GMA News and Public Affairs - Latest Philippine News'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-2890543753082300731</id><published>2009-08-09T18:43:00.002+08:00</published><updated>2009-08-09T18:46:44.378+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Unix'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Unix/Linux script to check Oracle standby database</title><content type='html'>&lt;blockquote&gt;#!/bin/ksh&lt;br /&gt;#Author: Emmanuel Caseñas&lt;br /&gt;#Note: this will give you a wealth of information for your standby database&lt;br /&gt;################################################################################&lt;br /&gt;&lt;br /&gt;$ORACLE_HOME/bin/sqlplus -s '/ as sysdba'&lt;&lt;!&lt;br /&gt;set lines 200 pages 2000&lt;br /&gt;select * from v\$archive_gap;&lt;br /&gt;select maX(sequence#),applied,registrar from V\$archived_log group by applied,registrar;&lt;br /&gt;select PROCESS,PID,SEQUENCE#,BLOCK#,BLOCKS,STATUS from v\$managed_standby;&lt;br /&gt;select NAME,DATABASE_ROLE,PROTECTION_MODE,PROTECTION_LEVEL,SWITCHOVER_STATUS from V\$database;&lt;br /&gt;SELECT le.leseq                  "Current log sequence No",&lt;br /&gt;           100*cp.cpodr_bno/le.lesiz "Percent Full",&lt;br /&gt;           cp.cpodr_bno              "Current Block No",&lt;br /&gt;           le.lesiz                  "Size of Log in Blocks"&lt;br /&gt;      FROM x\$kcccp cp, x\$kccle le&lt;br /&gt;     WHERE le.leseq =CP.cpodr_seq&lt;br /&gt;       AND bitand(le.leflg,24) = 8;&lt;br /&gt;archive log list&lt;br /&gt;exit&lt;br /&gt;!&lt;br /&gt;bd=`echo ${CLUSTER_HOME}/admin/${SID}/bdump`&lt;br /&gt;ll=`grep "^Media Recovery Log" $bd/al*.log | tail -1 |awk -F"/" '{print $NF}'`&lt;br /&gt;lw=`grep "^Media Recovery Waiting for" $bd/al*.log | tail -1 | awk '{print $NF}'`&lt;br /&gt;echo "Latest Log Applied: $ll"&lt;br /&gt;echo "Waiting for Log: $lw"&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-2890543753082300731?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/2890543753082300731/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=2890543753082300731' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2890543753082300731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2890543753082300731'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/08/unixlinux-script-to-check-oracle.html' title='Unix/Linux script to check Oracle standby database'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-6751419987903763453</id><published>2009-08-09T18:42:00.001+08:00</published><updated>2009-08-09T18:42:55.822+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Check tablespace ts_details.sql</title><content type='html'>set lines 300&lt;br /&gt;col "Data File" for a75&lt;br /&gt;variable ts_name varchar2(100);&lt;br /&gt;exec :ts_name := '&amp;&amp;tablespace_name';&lt;br /&gt;SELECT /* + RULE */  df.tablespace_name "Tablespace",&lt;br /&gt;       df.bytes / (1024 * 1024) "Size (Mb)",max(fs.bytes) / (1024 * 1024) "Max Chunk Avail",&lt;br /&gt;       SUM(fs.bytes) / (1024 * 1024) "Free (Mb)",&lt;br /&gt;       Nvl(Round(SUM(fs.bytes) * 100 / df.bytes),1) "% Free",&lt;br /&gt;       Round((df.bytes - SUM(fs.bytes)) * 100 / df.bytes) "% Used",autoextensible&lt;br /&gt;  FROM dba_free_space fs,&lt;br /&gt;       (SELECT tablespace_name,SUM(bytes) bytes,autoextensible&lt;br /&gt;          FROM dba_data_files&lt;br /&gt;         GROUP BY tablespace_name,autoextensible) df&lt;br /&gt; WHERE fs.tablespace_name (+)  = df.tablespace_name&lt;br /&gt;       and df.tablespace_name = :ts_name&lt;br /&gt; GROUP BY df.tablespace_name,df.bytes,autoextensible;&lt;br /&gt; select file_name "Data File",bytes/1024/1024 "Size",status from dba_data_files where tablespace_name = :ts_name;&lt;br /&gt;set pages 3000&lt;br /&gt;spool /tmp/tmp.sql&lt;br /&gt;set heading off&lt;br /&gt;set term off&lt;br /&gt;select '!ls -lrt ' || file_name ||'|'|| 'awk ''{print $9,$10,$11}''' from dba_data_files where tablespace_name = :ts_name;&lt;br /&gt;spool off&lt;br /&gt;set heading on&lt;br /&gt;set term on&lt;br /&gt;@/tmp/tmp.sql&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-6751419987903763453?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/6751419987903763453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=6751419987903763453' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6751419987903763453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6751419987903763453'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/08/check-tablespace-tsdetailssql.html' title='Check tablespace ts_details.sql'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-4480151069871167114</id><published>2009-08-09T18:40:00.001+08:00</published><updated>2009-08-09T18:48:30.616+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Adding a datafile after the flashback database is on</title><content type='html'>1)enable flashback database in your database&lt;br /&gt;&lt;br /&gt;  *assuming you database is no in archivelog mode else skip this task*&lt;br /&gt;&lt;br /&gt;ENABLE ARCHIVELOG MODE&lt;br /&gt;----------------------&lt;br /&gt;SQL&gt; shutdown immediate;&lt;br /&gt;Database closed.&lt;br /&gt;Database dismounted.&lt;br /&gt;ORACLE instance shut down.&lt;br /&gt;SQL&gt; startup mount;&lt;br /&gt;ORACLE instance started.&lt;br /&gt;&lt;br /&gt;Total System Global Area  671088640 bytes&lt;br /&gt;Fixed Size                  2043008 bytes&lt;br /&gt;Variable Size             356520832 bytes&lt;br /&gt;Database Buffers          310378496 bytes&lt;br /&gt;Redo Buffers                2146304 bytes&lt;br /&gt;Database mounted.&lt;br /&gt;SQL&gt; alter database archivelog;&lt;br /&gt;&lt;br /&gt;Database altered.&lt;br /&gt;&lt;br /&gt;CREATE A DIRECTORY FOR FLASHBACK AREA&lt;br /&gt;-------------------------------------&lt;br /&gt;UNIX&gt; mkdir -p /sbcdump/01/oradumps/EMINUS/flashback_area&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CONFIGURE FLASHBACK&lt;br /&gt;-------------------&lt;br /&gt;&lt;br /&gt;SQL&gt; ALTER SYSTEM SET DB_FLASHBACK_RETENTION_TARGET=4320 scope=spfile;&lt;br /&gt;&lt;br /&gt;System altered.&lt;br /&gt;&lt;br /&gt;SQL&gt; alter system set db_recovery_file_dest='/sbcdump/01/oradumps/EMINUS/flashback_area' scope=spfile;&lt;br /&gt;&lt;br /&gt;System altered.&lt;br /&gt;&lt;br /&gt;SQL&gt; alter system set db_recovery_file_dest_size=10g scope=both;&lt;br /&gt;&lt;br /&gt;System altered.&lt;br /&gt;&lt;br /&gt;SQL&gt; shutdown immediate;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;TURN FLASHBACK DATABASE ON&lt;br /&gt;--------------------------&lt;br /&gt;&lt;br /&gt;SQL&gt; alter database mount;&lt;br /&gt;&lt;br /&gt;Database altered.&lt;br /&gt;&lt;br /&gt;SQL&gt; alter database flashback on;&lt;br /&gt;&lt;br /&gt;Database altered.&lt;br /&gt;&lt;br /&gt;SQL&gt; alter database open;&lt;br /&gt;&lt;br /&gt;Database altered.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ADD DATAFILE&lt;br /&gt;------------&lt;br /&gt;&lt;br /&gt;SQL&gt; alter system switch logfile;&lt;br /&gt;&lt;br /&gt;System altered.&lt;br /&gt;&lt;br /&gt;SQL&gt; /&lt;br /&gt;&lt;br /&gt;System altered.&lt;br /&gt;&lt;br /&gt;SQL&gt; /&lt;br /&gt;&lt;br /&gt;System altered.&lt;br /&gt;&lt;br /&gt;SQL&gt; set numwidth 30&lt;br /&gt;&lt;br /&gt;alter session set nls_date_format='dd-mon-yyyy hh24:mi:ss';&lt;br /&gt;&lt;br /&gt;SQL&gt; SELECT OLDEST_FLASHBACK_SCN, OLDEST_FLASHBACK_TIME&lt;br /&gt;      FROM V$FLASHBACK_DATABASE_LOG;&lt;br /&gt;&lt;br /&gt;          OLDEST_FLASHBACK_SCN OLDEST_FLASHBACK_TIM&lt;br /&gt;------------------------------ --------------------&lt;br /&gt;                 9205819379813 09-aug-2009 16:59:32&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL&gt;  @/home/casenaem/ts_details  -- this is my script to check on a tablespace&lt;br /&gt;Enter value for tablespace_name: USERS&lt;br /&gt;&lt;br /&gt;PL/SQL procedure successfully completed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Tablespace                      Size (Mb) Max Chunk Avail  Free (Mb)     % Free     % Used AUT&lt;br /&gt;------------------------------ ---------- --------------- ---------- ---------- ---------- ---&lt;br /&gt;USERS                                 500        499.6875   499.6875        100          0 NO&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Data File                                                                         Size STATUS&lt;br /&gt;--------------------------------------------------------------------------- ---------- ---------&lt;br /&gt;/sbcdata/04/oradata/EMINUS/EMINUS_users_01.dbf                                     500 AVAILABLE&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL&gt; alter tablespace users&lt;br /&gt;  2  add datafile '/sbcdata/04/oradata/EMINUS/EMINUS_users_02.dbf' size 10m;&lt;br /&gt;&lt;br /&gt;Tablespace altered.&lt;br /&gt;&lt;br /&gt;SQL&gt;  @/home/casenaem/ts_details&lt;br /&gt;&lt;br /&gt;PL/SQL procedure successfully completed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Tablespace                      Size (Mb) Max Chunk Avail  Free (Mb)     % Free     % Used AUT&lt;br /&gt;------------------------------ ---------- --------------- ---------- ---------- ---------- ---&lt;br /&gt;USERS                                 510        499.6875    509.375        100          0 NO&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Data File                                                                         Size STATUS&lt;br /&gt;--------------------------------------------------------------------------- ---------- ---------&lt;br /&gt;/sbcdata/04/oradata/EMINUS/EMINUS_users_01.dbf                                     500 AVAILABLE&lt;br /&gt;/sbcdata/04/oradata/EMINUS/EMINUS_users_02.dbf                                      10 AVAILABLE&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL&gt; alter system switch logfile;&lt;br /&gt;&lt;br /&gt;System altered.&lt;br /&gt;&lt;br /&gt;SQL&gt; /&lt;br /&gt;&lt;br /&gt;System altered.&lt;br /&gt;&lt;br /&gt;SQL&gt; /&lt;br /&gt;&lt;br /&gt;System altered.&lt;br /&gt;&lt;br /&gt;SQL&gt; /&lt;br /&gt;&lt;br /&gt;System altered.&lt;br /&gt;&lt;br /&gt;SQL&gt; /&lt;br /&gt;&lt;br /&gt;System altered.&lt;br /&gt;&lt;br /&gt;SQL&gt; SELECT CURRENT_SCN FROM V$DATABASE;&lt;br /&gt;&lt;br /&gt;                   CURRENT_SCN&lt;br /&gt;------------------------------&lt;br /&gt;                 9205819381790&lt;br /&gt;&lt;br /&gt;SQL&gt; SELECT OLDEST_FLASHBACK_SCN, OLDEST_FLASHBACK_TIME&lt;br /&gt;     FROM V$FLASHBACK_DATABASE_LOG;&lt;br /&gt;  2&lt;br /&gt;          OLDEST_FLASHBACK_SCN OLDEST_FL&lt;br /&gt;------------------------------ ---------&lt;br /&gt;                 9205819379813 09-AUG-09&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;FLASHBACK THE DATABASE TO THE OLDEST_FLASHBACK_SCN &lt;br /&gt;--------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL&gt; shutdown immediate;&lt;br /&gt;Database closed.&lt;br /&gt;Database dismounted.&lt;br /&gt;ORACLE instance shut down.&lt;br /&gt;SQL&gt; startup mount;&lt;br /&gt;ORACLE instance started.&lt;br /&gt;&lt;br /&gt;Total System Global Area                      671088640 bytes&lt;br /&gt;Fixed Size                                      2043008 bytes&lt;br /&gt;Variable Size                                 356520832 bytes&lt;br /&gt;Database Buffers                              310378496 bytes&lt;br /&gt;Redo Buffers                                    2146304 bytes&lt;br /&gt;Database mounted.&lt;br /&gt;SQL&gt; FLASHBACK DATABASE TO SCN 9205819379813;&lt;br /&gt;&lt;br /&gt;Flashback complete.&lt;br /&gt;&lt;br /&gt;SQL&gt; alter database open read only;&lt;br /&gt;&lt;br /&gt;Database altered.&lt;br /&gt;&lt;br /&gt;SQL&gt;  @/home/casenaem/ts_details&lt;br /&gt;&lt;br /&gt;PL/SQL procedure successfully completed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Tablespace                                          Size (Mb)                Max Chunk Avail                      Free (Mb)                         % Free                    % Used AUT&lt;br /&gt;------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ---&lt;br /&gt;USERS                                                     500                       499.6875                       499.6875                            100                         0 NO&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Data File                                                                                             Size STATUS&lt;br /&gt;--------------------------------------------------------------------------- ------------------------------ ---------&lt;br /&gt;/sbcdata/04/oradata/EMINUS/EMINUS_users_01.dbf                                                         500 AVAILABLE&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note:&lt;br /&gt;As you can see that oracle will delete the file from dictionary,controlfile and the physical file&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;*Now if you want to recover the database before you executed flashback database*&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL&gt; shutdown immediate;&lt;br /&gt;Database closed.&lt;br /&gt;Database dismounted.&lt;br /&gt;ORACLE instance shut down.&lt;br /&gt;SQL&gt; startup mount;&lt;br /&gt;ORACLE instance started.&lt;br /&gt;&lt;br /&gt;Total System Global Area                      671088640 bytes&lt;br /&gt;Fixed Size                                      2043008 bytes&lt;br /&gt;Variable Size                                 356520832 bytes&lt;br /&gt;Database Buffers                              310378496 bytes&lt;br /&gt;Redo Buffers                                    2146304 bytes&lt;br /&gt;Database mounted.&lt;br /&gt;SQL&gt; recover database;&lt;br /&gt;ORA-00279: change 9205819379814 generated at 08/09/2009 16:40:19 needed for thread 1&lt;br /&gt;ORA-00289: suggestion : /sbclocal/app/oracle/admin/EMINUS/arch/EMINUS_0001_0000000017_0694319678.arc&lt;br /&gt;ORA-00280: change 9205819379814 for thread 1 is in sequence #17&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Specify log: {&lt;RET&gt;=suggested | filename | AUTO | CANCEL}&lt;br /&gt;AUTO&lt;br /&gt;ORA-00279: change 9205819380249 generated at 08/09/2009 17:09:55 needed for thread 1&lt;br /&gt;ORA-00289: suggestion : /sbclocal/app/oracle/admin/EMINUS/arch/EMINUS_0001_0000000018_0694319678.arc&lt;br /&gt;ORA-00280: change 9205819380249 for thread 1 is in sequence #18&lt;br /&gt;ORA-00278: log file '/sbclocal/app/oracle/admin/EMINUS/arch/EMINUS_0001_0000000017_0694319678.arc' no longer needed for this recovery&lt;br /&gt;&lt;br /&gt;.......&lt;br /&gt;........&lt;br /&gt;..........&lt;br /&gt;&lt;br /&gt;ORA-00283: recovery session canceled due to errors&lt;br /&gt;ORA-01244: unnamed datafile(s) added to control file by media recovery&lt;br /&gt;ORA-01110: data file 6: '/sbcdata/04/oradata/EMINUS/EMINUS_users_02.dbf'&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ORA-01112: media recovery not started&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL&gt; select count(1) from v$datafile_header where fuzzy = 'YES';&lt;br /&gt;&lt;br /&gt;                      COUNT(1)&lt;br /&gt;------------------------------&lt;br /&gt;                             5&lt;br /&gt;&lt;br /&gt;SQL&gt; select name from v$datafile;&lt;br /&gt;&lt;br /&gt;NAME&lt;br /&gt;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;/sbcdata/03/oradata/EMINUS/EMINUS_system_01.dbf&lt;br /&gt;/sbcdata/04/oradata/EMINUS/EMINUS_undo1_01.dbf&lt;br /&gt;/sbcdata/01/oradata/EMINUS/EMINUS_sysaux_01.dbf&lt;br /&gt;/sbcdata/04/oradata/EMINUS/EMINUS_tools_01.dbf&lt;br /&gt;/sbcdata/04/oradata/EMINUS/EMINUS_users_01.dbf&lt;br /&gt;/sbclocal/app/oracle/product/10.2.0.4/dbs/UNNAMED00006&lt;br /&gt;&lt;br /&gt;6 rows selected.&lt;br /&gt;&lt;br /&gt;SQL&gt; !ls -l /sbcdata/04/oradata/EMINUS/EMINUS_users_02.dbf&lt;br /&gt;/sbcdata/04/oradata/EMINUS/EMINUS_users_02.dbf: No such file or directory&lt;br /&gt;&lt;br /&gt;SQL&gt; !ls -l /sbclocal/app/oracle/product/10.2.0.4/dbs/UNNAMED00006&lt;br /&gt;/sbclocal/app/oracle/product/10.2.0.4/dbs/UNNAMED00006: No such file or directory&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL&gt; alter database create datafile '/sbclocal/app/oracle/product/10.2.0.4/dbs/UNNAMED00006' as '/sbcdata/04/oradata/EMINUS/EMINUS_users_02.dbf' size 10M;&lt;br /&gt;&lt;br /&gt;Database altered.&lt;br /&gt;&lt;br /&gt;SQL&gt; select name from v$datafile;&lt;br /&gt;&lt;br /&gt;NAME&lt;br /&gt;------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;/sbcdata/03/oradata/EMINUS/EMINUS_system_01.dbf&lt;br /&gt;/sbcdata/04/oradata/EMINUS/EMINUS_undo1_01.dbf&lt;br /&gt;/sbcdata/01/oradata/EMINUS/EMINUS_sysaux_01.dbf&lt;br /&gt;/sbcdata/04/oradata/EMINUS/EMINUS_tools_01.dbf&lt;br /&gt;/sbcdata/04/oradata/EMINUS/EMINUS_users_01.dbf&lt;br /&gt;/sbcdata/04/oradata/EMINUS/EMINUS_users_02.dbf&lt;br /&gt;&lt;br /&gt;6 rows selected.&lt;br /&gt;&lt;br /&gt;SQL&gt; recover database;&lt;br /&gt;ORA-00279: change 9205819381724 generated at 08/09/2009 17:41:53 needed for thread 1&lt;br /&gt;ORA-00289: suggestion : /sbclocal/app/oracle/admin/EMINUS/arch/EMINUS_0001_0000000022_0694319678.arc&lt;br /&gt;ORA-00280: change 9205819381724 for thread 1 is in sequence #22&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Specify log: {&lt;RET&gt;=suggested | filename | AUTO | CANCEL}&lt;br /&gt;aUTO&lt;br /&gt;ORA-00279: change 9205819381766 generated at 08/09/2009 17:42:51 needed for thread 1&lt;br /&gt;ORA-00289: suggestion : /sbclocal/app/oracle/admin/EMINUS/arch/EMINUS_0001_0000000023_0694319678.arc&lt;br /&gt;ORA-00280: change 9205819381766 for thread 1 is in sequence #23&lt;br /&gt;ORA-00278: log file '/sbclocal/app/oracle/admin/EMINUS/arch/EMINUS_0001_0000000022_0694319678.arc' no longer needed for this recovery&lt;br /&gt;&lt;br /&gt;....&lt;br /&gt;......&lt;br /&gt;.......&lt;br /&gt;&lt;br /&gt;Log applied.&lt;br /&gt;Media recovery complete.&lt;br /&gt;SQL&gt; alter database open;&lt;br /&gt;&lt;br /&gt;Database altered.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note: Since Oracle has removed the physical file when I did a flashback you need to create it yourself in order for the recovery to conitnue&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-4480151069871167114?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/4480151069871167114/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=4480151069871167114' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4480151069871167114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4480151069871167114'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/08/adding-datafile-after-flashback.html' title='Adding a datafile after the flashback database is on'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-2376430041396846584</id><published>2009-07-15T23:09:00.001+08:00</published><updated>2009-07-15T23:11:26.380+08:00</updated><title type='text'>Meralco planning internet over power lines in the Philippines</title><content type='html'>While the concept of channeling the internet over power lines is far from new, it has yet to be implemented in any significant manner. If a top power distributor in the Philippines has its druthers, however, all that will change in the not-too-distant future. Manila Electric Company, better known as Meralco, is gearing up to use its power lines to bring broadband internet to more of the country, which currently sees just 20 million out of its 90 million inhabitants with access. In fact, the company has already made clear that it is "set to implement the pilot test," with the results guiding it in "determining scope and coverage of the project." Come to think of it, we've got a few dollars to spend on a rural broadband initiative here in the States. Hmm...&lt;br /&gt;&lt;br /&gt;&lt;a href="http://tech.yahoo.com/news/afp/20090713/tc_afp/philippinesutilitiestelecomcompanymeralco"&gt;read more&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-2376430041396846584?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/2376430041396846584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=2376430041396846584' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2376430041396846584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2376430041396846584'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/07/meralco-planning-internet-over-power.html' title='Meralco planning internet over power lines in the Philippines'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-317065138548861959</id><published>2009-07-13T04:21:00.000+08:00</published><updated>2009-07-13T04:22:28.573+08:00</updated><title type='text'>Microsoft VP on Chrome OS: “Most of What Google Does Is Defensive"</title><content type='html'>Microsoft's Vice President of Developer and Platform Evangelism, Walid Abu-Hadba, explained in an interview what he thinks Google's real motivation for creating the Chrome OS might be, and according to him, it's not out of love for the consumer.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gizmodo.com/5312452/microsoft-vp-on-chrome-os-most-of-what-google-does-is-defensive"&gt;click me for more of this issue&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-317065138548861959?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/317065138548861959/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=317065138548861959' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/317065138548861959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/317065138548861959'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/07/microsoft-vp-on-chrome-os-most-of-what.html' title='Microsoft VP on Chrome OS: “Most of What Google Does Is Defensive&quot;'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-7476994161700761992</id><published>2009-04-27T11:00:00.001+08:00</published><updated>2009-04-27T11:00:23.501+08:00</updated><title type='text'>Microsoft Could Be a Winner in Sun-Oracle Deal</title><content type='html'>&lt;a href=http://www.pcworld.com/businesscenter/article/163477/microsoft_could_be_a_winner_in_sunoracle_deal.html&gt;Microsoft Could Be a Winner in Sun-Oracle Deal&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Posted using &lt;a href="http://sharethis.com"&gt;ShareThis&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-7476994161700761992?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/7476994161700761992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=7476994161700761992' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/7476994161700761992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/7476994161700761992'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/04/microsoft-could-be-winner-in-sun-oracle.html' title='Microsoft Could Be a Winner in Sun-Oracle Deal'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-6558315876479505560</id><published>2009-02-03T13:38:00.001+08:00</published><updated>2009-02-03T13:40:36.994+08:00</updated><title type='text'>Church Sayings</title><content type='html'> &lt;br /&gt;Church Parking Lot Sign: "FOR MEMBERS ONLY. Tresspassers will be baptized."&lt;br /&gt;"No God-No Peace... Know God-Know Peace."&lt;br /&gt;"Free Trip to Heaven... Details Inside!"&lt;br /&gt;Try out Sundays.  They are better than Baskin-Robbins."&lt;br /&gt;"Wanting for a new look?  Have your faith lifted here!"&lt;br /&gt;An ad for one church has a picture of two hands holding stone tablets on which the Ten Commandments are inscribed and a headline that reads, "For fast, fast relief, take two tablets."&lt;br /&gt;When the resturant next to a church put out a big sign with red letters that said, "Open Sundays," the church reciprocated with its own message: "We are open on Sundays, too."&lt;br /&gt;A singing group called "The Resurrection" was scheduled to sing at a church.  When a big snowstorm postponed the preformance, the pastor fixed the outside sign to read, "Resurrection is postponed."&lt;br /&gt;People are like tea bags-you have to put them in hot water before you know how strong they are.&lt;br /&gt;"God so loved the world that He did not send a committee."&lt;br /&gt;"Come in and pray today.  Beat the Christian rush!"&lt;br /&gt;"When down in the mouth, remember Jonah.  He came out all right."&lt;br /&gt;"Sign broken.  Message inside this Sunday."&lt;br /&gt;"Right truth decay-study the Bible daily."&lt;br /&gt;How will you spend eternity-Smoking or Non-smoking?"&lt;br /&gt;"Dusty Bible leads to Dirty Lives."&lt;br /&gt;"Come work for the Lord.  The work is hard, the hours are long and the pay is low.  But the retirement benefits are out of this world."&lt;br /&gt;"It is unlikely there'll be a reduction in the wages of sin."&lt;br /&gt;"Do not wait for the hearse to take you to church."&lt;br /&gt;"If you're headed in the wrong direction, God allows U-turns."&lt;br /&gt;"If you don't like the way you were born, try being born again."&lt;br /&gt;"Looking at the way some people love, they ought to obtain eternal fire insurance soon."&lt;br /&gt;"This is a Ch_ _ch.  What is missing?" (U R)&lt;br /&gt;"Forbidden fruit creates many jams."&lt;br /&gt;"In the dark?  Follow the Son."&lt;br /&gt;"Running low on faith?  Stop in for a fill-up."&lt;br /&gt;"If you can't sleep, don't count sheep.  Talk to the Shepherd."&lt;br /&gt;If you pause to think-- You'll have cause to thank!&lt;br /&gt;As sure as God puts his children in the furnace, He will be in the furnace with them.&lt;br /&gt;God won't be looking for your medals, degrees or diplomas--, He'll be looking for your scars.&lt;br /&gt;Give God what's right--, not what's left!&lt;br /&gt;Trade God your pieces for His peace.&lt;br /&gt;When you get tired talking to your friends about God--, talk to God about your friends.&lt;br /&gt;It's hard to stumble when you're on your knees.&lt;br /&gt;"Will the road you're on get you to my place?"....God&lt;br /&gt;'Pray' is a four letter word that you can say anywhere (except in a public school).&lt;br /&gt;Make your eternal reservations now--- 'smoking' or 'non-smoking'?&lt;br /&gt;Jesus built us a bridge, with 2 boards and 3 nails.&lt;br /&gt;Count your blessings! Recounts are OK---&lt;br /&gt;Don't be God's weakest link!&lt;br /&gt;It's not the outlook-- it's the uplook that counts! &lt;br /&gt;He who sows sparingly will reap sparingly. &lt;br /&gt;They see our methods, He sees our motives. &lt;br /&gt;Plenty of folks give the Lord credit-- few give Him cash! &lt;br /&gt;Finding hell is easy ! It's at the end of a 'Christ-less' life. &lt;br /&gt;The greatest of evils is our indifference towards evil! &lt;br /&gt;If you cheat on the test, don't thank the Lord for the "A". &lt;br /&gt;Count your blessings, not your problems. &lt;br /&gt;If you can't sleep, don't count sheep; talk to the Shepherd. &lt;br /&gt;Good old knee-ology is as good as some theology. &lt;br /&gt;A good place for the "buck to stop" is at the collection plate. &lt;br /&gt;In this life it's not what you have but Who you have that counts! &lt;br /&gt;A hypocrite is a person who's not himself on Sunday. &lt;br /&gt;Money is a great servant but a terrible master! &lt;br /&gt;God gives every bird its' food, but He does not throw it into its nest. &lt;br /&gt;He who loses money, loses much; He who loses a friend, loses more; He who loses faith, loses all. &lt;br /&gt;God made round faces; man makes 'em long. &lt;br /&gt;Honesty is not only the best policy, it is the will of GOD! &lt;br /&gt;What does it take for God to get our attention? &lt;br /&gt;There are many things in my life for which I am ashamed, but Jesus is not one of them. &lt;br /&gt;You can't walk with God and hold hands with Satan at the same time. &lt;br /&gt;Faith is a journey, not a destination. &lt;br /&gt;Jesus never taught how to preach--- only how to pray. &lt;br /&gt;Jesus declared the truth; He never gave opinions. &lt;br /&gt;When was the last time you told God you love Him? He is still listening. &lt;br /&gt;We are as full of the Holy Spirit as we want to be. &lt;br /&gt;We need to seek God Himself more than His gifts. &lt;br /&gt;We become like what we worship. &lt;br /&gt;Sin will keep you from the Bible but the Bible can keep you from sin. &lt;br /&gt;Give Satan an inch and he'll be a ruler. &lt;br /&gt;A good tree cannot bear bad fruit, and a bad tree cannot bear good fruit....Thus, by their fruit you will recognize them.Mat 7:18&amp;20NIV &lt;br /&gt;The Bread of life never gets stale. &lt;br /&gt;Knowledge puffs you up-- Love lifts you up. &lt;br /&gt;Feed your faith and your doubts will starve to death. &lt;br /&gt;For all you do,  His blood's for you! &lt;br /&gt;Big Bang theory-- God Spoke and "Bang!"  It happened-- &lt;br /&gt;Christians aren't perfect-- Just forgiven. &lt;br /&gt;"I'm a fool for Christ-- Who's fool are you?" &lt;br /&gt;Would you rather trust a guy who wrote a book--- or the One who wrote The Book? &lt;br /&gt;Into each life a little rain must fall-- Who's your umbrella? &lt;br /&gt;T.G.I.F.-- Thank God I'm Forgiven. &lt;br /&gt;Forbidden fruits creates many jams. &lt;br /&gt;If you're looking for a sign from God to get back to church, this is it! (seen in front of new church in Florida) &lt;br /&gt;A wise child hears his Father's instruction. &lt;br /&gt;GOD IS &lt;br /&gt;Be quiet enough to hear God's whisper. &lt;br /&gt;It's good to be saved and know it!  It's also good to be saved and show it! &lt;br /&gt;Help is just a prayer away. &lt;br /&gt;Be an organ donor--- give your heart to Jesus! &lt;br /&gt;If you walk with the Lord, you'll never be out of step. &lt;br /&gt;Jesus! Don't leave earth without Him! &lt;br /&gt;Jesus Christ-- He paid the price! &lt;br /&gt;Christ's return is near-- Don't miss it for the world! &lt;br /&gt;Don't sway or turn away from the old commandments. They're still new today. &lt;br /&gt;An early walk and talk with the Lord  will last all day. &lt;br /&gt;Hate is not a family value. &lt;br /&gt;Be ye fishers of  men. You catch them--   He will clean them. &lt;br /&gt;Deciding not to choose is still making a choice. &lt;br /&gt;Where death finds you, eternity will keep you. &lt;br /&gt;PSALMS read here. &lt;br /&gt;Things that are not eternal are already out of date. C.S.Lewis &lt;br /&gt;The wages of sin have never been reduced. &lt;br /&gt;The Bible isn't antique or modern,  it's eternal. &lt;br /&gt;Seven days without prayer makes one weak. &lt;br /&gt;Patience is a virtue which carries a lot of wait. &lt;br /&gt;Firefighters rescue, only Jesus saves. &lt;br /&gt;May we live simply so that others may simply live. &lt;br /&gt;TITHE! Anyone can honk! &lt;br /&gt;Don't let troubles get you down-- except on your knees. &lt;br /&gt;Only God can give all of Himself to everyone. &lt;br /&gt;How do you make a good day better? Make it a Godly day. &lt;br /&gt;Only one life, 'twill soon be past-- Only what's done for Christ will last. &lt;br /&gt;Things that please are temporary. Things that disturb are temporary. Things that are important are eternal. &lt;br /&gt;Who is Jesus Christ?  Inquire within--- &lt;br /&gt;Jesus is returning...resistance is futile &lt;br /&gt;Can't follow the stars? Follow the One who made them. &lt;br /&gt;If you think you are perfect-- Try walking on water. &lt;br /&gt;We are not on this earth to get rich, we are on earth to be enriched. &lt;br /&gt;...it is not our culture to sin, it is our nature to sin; and only GOD will change&lt;br /&gt;that nature. &lt;br /&gt;If your knees are knocking-- kneel on 'em! &lt;br /&gt;Give your troubles to God--- He never slumbers nor sleeps anyway. &lt;br /&gt;It only take a few moments to open deep wounds-- but it takes years to heal them. &lt;br /&gt;Christ traded in the comfort of the manger for the cruelty of the cross. &lt;br /&gt;If you don't like the devil's fruit, stay out of his orchard. &lt;br /&gt;You can't compromise and conquer sin at the same time. &lt;br /&gt;WARNING! In case of rapture, this car will be unmanned. &lt;br /&gt;I would rather walk with God in the dark than go alone in the light. &lt;br /&gt;Without Jesus in your life you have no life.  With Jesus in your life you have eternal life......It's your choice. &lt;br /&gt;When it comes time to die--- make sure all you have to do is die. &lt;br /&gt;Going to church does not make you a Christian anymore than going to McDonalds makes you a hamburger. &lt;br /&gt;There are two things I've learned: There is a God! And I'm not Him! &lt;br /&gt;TODAY IS A GIFT FROM GOD.  THAT'S WHY IT IS CALLED "THE PRESENT" &lt;br /&gt;If you're ready to die--- you're ready to live! &lt;br /&gt;If you can't be an "Onward Christian Soldier", at least don't pass the ammunition to the enemy. &lt;br /&gt;God doesn't call us to be successful--- only faithful. &lt;br /&gt;Even Jesus had a fish story. &lt;br /&gt;God's laughter is heard in the song of birds. &lt;br /&gt;A beautiful day starts with a beautiful thought. &lt;br /&gt;God without man is still God.   Man without God is nothing. &lt;br /&gt;The key to Heaven was hung on a nail. &lt;br /&gt;Hatred stirs up quarrels, but love covers all offences. Proverbs 10:12 &lt;br /&gt;Sow a seed of friendship, reap a bouquet of happiness. &lt;br /&gt;Does your spiritual house need spring cleaning? &lt;br /&gt;Service is love in overalls! &lt;br /&gt;My little children, let us not love in word or in tongue, but in deed and in truth.1 John 3:18&lt;br /&gt;Where will you spend eternity? &lt;br /&gt; &lt;br /&gt;a) Here&lt;br /&gt;b) Heaven&lt;br /&gt;c) Hell&lt;br /&gt;d) Not sure?&lt;br /&gt;Is that your final answer?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-6558315876479505560?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/6558315876479505560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=6558315876479505560' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6558315876479505560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6558315876479505560'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/02/church-sayings.html' title='Church Sayings'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-727397621627568000</id><published>2009-02-01T13:26:00.001+08:00</published><updated>2009-08-09T19:39:05.688+08:00</updated><title type='text'>Engineer VS MBA</title><content type='html'>This particular joke won an award for the best joke in a competition organized in Britain...Enjoy!&lt;br /&gt;An MBA and an Engineer go on a camping trip, set up their tent, and fall asleep. Some hours later, the Engineer wakes his MBA friend. &lt;br /&gt;"Look up at the sky and tell me what you see?The MBA replies, "I see millions of stars."&lt;br /&gt;The Engineer asks "What does that tell you?"&lt;br /&gt;The MBA ponders for a minute:&lt;br /&gt;"Astronomically speaking, it tells me that there are millions of galaxies and potentially billions of planets.&lt;br /&gt;"Astrologically, it tells me that Saturn is in Leo.&lt;br /&gt;Time wise, it appears to be approximately a quarter past three.&lt;br /&gt;Theologically, it's evident the Lord is all-powerful and we are small and insignificant.&lt;br /&gt;Meteorologically, it seems we will have a beautiful day tomorrow. What does it tell you?&lt;br /&gt;"The Engineer friend is silent for a moment, and then speaks:&lt;br /&gt;"Practically...it tells me that someone has stolen our tent&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-727397621627568000?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/727397621627568000/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=727397621627568000' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/727397621627568000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/727397621627568000'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2009/02/engineer-vs-mba.html' title='Engineer VS MBA'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-6927848727549991163</id><published>2008-08-27T13:14:00.002+08:00</published><updated>2008-08-27T13:17:40.635+08:00</updated><title type='text'>The Top New Features for DBAs and Developers Oracle 11g</title><content type='html'>&lt;a href="http://www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/index.html"&gt;Oracle Database 11g:&lt;br /&gt;The Top New Features for DBAs and Developers&lt;br /&gt;by Arup Nanda Oracle ACE Director&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In this multipart series, learn how important new features such as Database Replay, Flashback Data Archive, and SecureFiles work via simple, actionable how-to's and sample code.&lt;br /&gt;&lt;br /&gt;Change, although constantly present, is seldom risk-free. Even if the change is relatively minor (creating an index for example), your goal is probably to predict its precise impact as accurately as possible and then take appropriate action&lt;br /&gt;&lt;br /&gt;Many new change assurance (or "Real Application Testing," as Oracle calls it) features in Oracle Database 11g bring that dream closer to reality. The Database Replay tool, for example, allows you to capture production database workload and replay it in a test (or even the same) database to assess the impact of change. Or consider SQL Performance Analyzer, which predicts the performance impact of changes to SQL before they are made. In my opinion, this Real Application Testing functionality alone justifies the upgrade.&lt;br /&gt;&lt;br /&gt;Overall, Oracle Database 11g makes database infrastructure far more efficient, resilient, and manageable. For example, very compelling new features in the realm of partitioning ease the design and management of partitioned tables immensely.&lt;br /&gt;&lt;br /&gt;In this series (as in the previous series focusing on Oracle Database 10g), you will learn how these new features work via simple, actionable how-to's and sample code.&lt;br /&gt;&lt;br /&gt;Enjoy the series, and the release!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Database Replay&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Explore Database Replay, the new tool that captures SQL statements and lets you replay them at will.&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Partitioning&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Learn about Referential, Internal, and Virtual Column partitioning; new sub-partitioning options; and more.&lt;br /&gt;Transaction Management&lt;br /&gt;&lt;br /&gt;Get an introduction to Flashback Data Archive and explore Enterprise Manager's LogMiner interface.&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Schema Management&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Add columns with a default value easily and explore invisible indexes, virtual columns, and read only tables.&lt;br /&gt;SQL Plan Management&lt;br /&gt;&lt;br /&gt;Use bind variables that pick the right plan every time and ensure a new execution plan is perfect before it's used.&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;SQL Performance Analyzer&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Accurately assess the impact of rewriting of SQL statements and get suggested improvements.&lt;br /&gt;SQL Access Advisor&lt;br /&gt;&lt;br /&gt;Get advice about optimal table design based on actual use of the table, not just data.&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;PL/SQL: Efficient Coding&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Triggers that fire several times at different events and ability to force triggers of the same type to follow a sequence are some new gems.&lt;br /&gt;RMAN&lt;br /&gt;&lt;br /&gt;Explore Data Recovery Advisor, do parallel backup of the same file, and create and manage virtual catalogs.&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Security&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Learn about Tablespace Encryption, case-sensitive passwords, data masking, and other features.&lt;br /&gt;Automatic Storage Management&lt;br /&gt;&lt;br /&gt;Learn about new SYSASM role, variable extent sizes, and other ASM improvements.&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Manageability&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Explore automatic memory management, multicolumn statistics, online patching, and more features.&lt;br /&gt;Caching and Pooling&lt;br /&gt;&lt;br /&gt;Explore SQL Result Cache, PL/SQL Function Cache, and Database Resident Connection Pooling.&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;SQL Operations: Pivot and Unpiv&lt;/span&gt;ot&lt;br /&gt;&lt;br /&gt;Present information in a spreadsheet-type crosstab report from any relational table using simple SQL, and store any data from a crosstab table to a relational table.&lt;br /&gt;SecureFiles&lt;br /&gt;&lt;br /&gt;Explore next-generation LOBs: LOB encryption, compression, deduplication, and asynchronicity.&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Resiliency&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Explore Automatic Health Monitor, Automatic Diagnostic Repository, and other new resiliency features.&lt;br /&gt;Data Guard&lt;br /&gt;&lt;br /&gt;Query the physical standby database in real time without shutting down recovery, just for starters.&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;PL/SQL Performance&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Explore in-lining of code, "real" native compilation, PLS timer, use of simple integer, and more.&lt;br /&gt;Data Warehousing&lt;br /&gt;&lt;br /&gt;Get a tour of some new features for data warehousing. [Coming soon]&lt;br /&gt; &lt;br /&gt;And Don't Forget...&lt;br /&gt;&lt;br /&gt;COPY command, Export/Imports, Data Pump improvements, and more. [Coming soon]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-6927848727549991163?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/6927848727549991163/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=6927848727549991163' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6927848727549991163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6927848727549991163'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/08/oracle-database-11g-top-new-features.html' title='The Top New Features for DBAs and Developers Oracle 11g'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-8799752089794733399</id><published>2008-08-27T13:10:00.001+08:00</published><updated>2008-08-27T13:10:48.574+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Premier Developer Conference for Java, SOA, Web 2.0, and SQL</title><content type='html'>Don't miss Oracle Develop, the premier developer program, at Oracle OpenWorld 2008! Hear and learn from world-leading experts and your peers about next-generation development trends and technologies for service-oriented architecture (SOA), Extreme Transaction Processing (XTP), virtualization, and Web 2.0. Advance your skills and expand your knowledge in scores of expert-led, in-depth technical sessions and advanced how-tos on Java, .Net, XML, SCA, PL/SQL, Ajax, PHP, Spring, Groovy on Rails, and more. And roll up your sleeves for in-depth, hands-on labs covering the very latest development technologies including database, SOA, Complex Event Processing (CEP), Java, and .NET.&lt;br /&gt;&lt;br /&gt;Since its launch in 2006, Oracle Develop has grown both in size and attendance, with additional tracks on the latest development trends in the industry. Thousands of developers attend Oracle Develop each year, and 2008 promises to be the biggest program so far. Based on popular demand, we have extended the conference by adding an additional day this year to include more sessions and hands-on labs. And, as an Oracle Develop attendee, you also get access to OTN Night, Oracle OpenWorld Exhibition Halls, and keynotes.&lt;br /&gt;&lt;br /&gt;    * When: Sunday, September 21, 10:30 a.m. to 4:45 p.m.&lt;br /&gt;                   Monday, September 22, 10:15 a.m. to 6:30 p.m.&lt;br /&gt;                   Tuesday, September 23, 9:30 a.m. to 6:30 p.m.&lt;br /&gt;    * Where: San Francisco Marriott&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-8799752089794733399?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/8799752089794733399/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=8799752089794733399' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8799752089794733399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8799752089794733399'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/08/premier-developer-conference-for-java.html' title='Premier Developer Conference for Java, SOA, Web 2.0, and SQL'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-249630038060342246</id><published>2008-08-12T13:46:00.001+08:00</published><updated>2008-08-12T13:46:26.008+08:00</updated><title type='text'>Top Ten Math Major Pick-Up Lines</title><content type='html'>10. You fascinate me more than the Fundamental Theorem of Calculus.&lt;br /&gt;9. Since distance equals velocity times time, let's let velocity or time approach infinity, because I want to go all the way with you.&lt;br /&gt;8. My love for you is like a concave up function because it is always increasing.&lt;br /&gt;7. Let's convert our potential energy to kinetic energy.&lt;br /&gt;6. Wanna come back to my room....and see my 733mhz Pentium?&lt;br /&gt;5. You and I would add up better than a Riemann sum.&lt;br /&gt;4. Your body has the nicest arc length I've ever seen.&lt;br /&gt;3. I wish I was your derivative because then I would be tangent to your curves.&lt;br /&gt;2. I hope you know set theory because I want to intersect you and union you.&lt;br /&gt;1. Would you like to see my log?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-249630038060342246?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/249630038060342246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=249630038060342246' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/249630038060342246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/249630038060342246'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/08/top-ten-math-major-pick-up-lines.html' title='Top Ten Math Major Pick-Up Lines'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-3752089303806234347</id><published>2008-08-12T13:45:00.002+08:00</published><updated>2008-08-12T13:46:04.740+08:00</updated><title type='text'>Top Ten Reasons to Become a Statistician</title><content type='html'>10. Deviation is considered normal.&lt;br /&gt;9. We feel complete and sufficient.&lt;br /&gt;8. We are mean lovers.&lt;br /&gt;7. Statisticians do it discretely and continuously.&lt;br /&gt;6. We are right 95% of the time.&lt;br /&gt;5. We can safely comment on someone's posterior distribution.&lt;br /&gt;4. We may not be normal but we are transformable.&lt;br /&gt;3. We never have to say we are certain.&lt;br /&gt;2. We are honestly significantly different.&lt;br /&gt;1. No one wants our jobs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-3752089303806234347?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/3752089303806234347/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=3752089303806234347' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/3752089303806234347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/3752089303806234347'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/08/top-ten-reasons-to-become-statistician.html' title='Top Ten Reasons to Become a Statistician'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-5243485115102478288</id><published>2008-08-12T13:45:00.001+08:00</published><updated>2008-08-12T13:45:31.442+08:00</updated><title type='text'>Definitions of Terms Commonly Used in Math</title><content type='html'>CLEARLY: I don't want to write down all the in-between steps.&lt;br /&gt;&lt;br /&gt;TRIVIAL: If I have to show you how to do this, you're in the wrong class.&lt;br /&gt;&lt;br /&gt;OBVIOUSLY: I hope you weren't sleeping when we discussed this earlier, because I refuse to repeat it.&lt;br /&gt;&lt;br /&gt;RECALL: I shouldn't have to tell you this, but for those of you who erase your memory tapes after every test, here it is again.&lt;br /&gt;&lt;br /&gt;WITHOUT LOSS OF GENERALITY: I'm not about to do all the possible cases, so I'll do one and let you figure out the rest.&lt;br /&gt;&lt;br /&gt;ONE MAY SHOW: One did, his name was Gauss.&lt;br /&gt;&lt;br /&gt;IT IS WELL KNOWN: See "Mathematische Zeitschrift'', vol XXXVI, 1892.&lt;br /&gt;&lt;br /&gt;CHECK FOR YOURSELF: This is the boring part of the proof, so you can do it on your own time.&lt;br /&gt;&lt;br /&gt;SKETCH OF A PROOF: I couldn't verify the details, so I'll break it down into parts I couldn't prove.&lt;br /&gt;&lt;br /&gt;HINT: The hardest of several possible ways to do a proof.&lt;br /&gt;&lt;br /&gt;BRUTE FORCE: Four special cases, three counting arguments, two long inductions, and a partridge in a pair tree.&lt;br /&gt;&lt;br /&gt;SOFT PROOF: One third less filling (of the page) than your regular proof, but it requires two extra years of course work just to understand the terms.&lt;br /&gt;&lt;br /&gt;ELEGANT PROOF: Requires no previous knowledge of the subject, and is less than ten lines long.&lt;br /&gt;&lt;br /&gt;SIMILARLY: At least one line of the proof of this case is the same as before.&lt;br /&gt;&lt;br /&gt;CANONICAL FORM: 4 out of 5 mathematicians surveyed recommended this as the final form for the answer.&lt;br /&gt;&lt;br /&gt;THE FOLLOWING ARE EQUIVALENT: If I say this it means that, and if I say that it means the other thing, and if I say the other thing...&lt;br /&gt;&lt;br /&gt;BY A PREVIOUS THEOREM: I don't remember how it goes (come to think of it, I'm not really sure we did this at all), but if I stated it right, then the rest of this follows.&lt;br /&gt;&lt;br /&gt;TWO LINE PROOF: I'll leave out everything but the conclusion.&lt;br /&gt;&lt;br /&gt;BRIEFLY: I'm running out of time, so I'll just write and talk faster.&lt;br /&gt;&lt;br /&gt;LET'S TALK THROUGH IT: I don't want to write it on the board because I'll make a mistake.&lt;br /&gt;&lt;br /&gt;PROCEED FORMALLY: Manipulate symbols by the rules without any hint of their true meaning.&lt;br /&gt;&lt;br /&gt;QUANTIFY: I can't find anything wrong with your proof except that it won't work if x is 0.&lt;br /&gt;&lt;br /&gt;FINALLY: Only ten more steps to go...&lt;br /&gt;&lt;br /&gt;Q.E.D. : T.G.I.F.&lt;br /&gt;&lt;br /&gt;PROOF OMITTED: Trust me, it's true.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-5243485115102478288?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/5243485115102478288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=5243485115102478288' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/5243485115102478288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/5243485115102478288'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/08/definitions-of-terms-commonly-used-in.html' title='Definitions of Terms Commonly Used in Math'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-3819164340670788637</id><published>2008-08-12T13:44:00.000+08:00</published><updated>2008-08-12T13:45:03.227+08:00</updated><title type='text'>Top 10 Excuses for Not Turning in Math Homework</title><content type='html'>10. It's Isaac Newton's birthday.&lt;br /&gt;9. I couldn't decide whether i is the square root of -1 or i are the square root of -1.&lt;br /&gt;8. I accidently divided by 0 and my paper burst into flames.&lt;br /&gt;7. It's stuck inside a Klein bottle.&lt;br /&gt;6. I could only get arbitrarily close to my textbook.&lt;br /&gt;5. I had too much pi and got sick.&lt;br /&gt;4. Someone already published it, so I didn't bother to write it up.&lt;br /&gt;3. A four-dimensional dog ate it.&lt;br /&gt;2. I have a solar calculator and it was cloudy.&lt;br /&gt;1. There wasn't enough room to write it in the margin.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-3819164340670788637?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/3819164340670788637/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=3819164340670788637' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/3819164340670788637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/3819164340670788637'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/08/top-10-excuses-for-not-turning-in-math.html' title='Top 10 Excuses for Not Turning in Math Homework'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-877900119082334347</id><published>2008-08-05T17:36:00.004+08:00</published><updated>2008-12-13T11:49:49.772+08:00</updated><title type='text'>MSSQL 2005 number 1 in what??????????????</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_oWJ9bpXGJiA/SJgfis1baOI/AAAAAAAAAck/1P8jiFc6nuU/s1600-h/mssql_what.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_oWJ9bpXGJiA/SJgfis1baOI/AAAAAAAAAck/1P8jiFc6nuU/s400/mssql_what.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5230965648202098914" /&gt;&lt;/a&gt;&lt;br /&gt;I have seen this ad in their website and boy was I astonished...I never knew that MS SQL Server 2008 is number 1 in the enterprise database...have a look at their banner&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;apparently this is the article that they are saying...well...&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;SQL Server Still No. 1 in Databases&lt;br /&gt;BZ Research study finds that 75 percent of enterprises use it&lt;br /&gt;By Alan Zeichick&lt;br /&gt;&lt;br /&gt;July 31, 2007 — Microsoft SQL Server is still No.1. According to the 2007 Database and Data Access, Integration and Reporting Study, completed by BZ Research in late June, 74.7 percent of enterprises are using SQL Server. This is slightly lower than the 76.4 percent reported in a comparable July 2006 study, but it’s still significantly higher than the other popular databases.&lt;br /&gt;&lt;br /&gt;BZ Research, like SD Times, is a subsidiary of BZ Media. This survey, conducted during the second half of June, was completed by 686 software development managers.&lt;br /&gt;&lt;br /&gt;The study showed that the other top databases, in terms of use, are Oracle (54.5 percent in 2007, up from 51.3 percent in 2006), Microsoft Access (54.4 percent, down from 56.1 percent), MySQL (43.4 percent, up from 38.5 percent), IBM DB2 (23.5 percent, up from 20.4 percent) and PostgreSQL (11.2 percent, down from 11.6 percent). All other databases had less than 10 percent responses.&lt;br /&gt;&lt;br /&gt;One Microsoft user in this anonymous survey said, “SQL Server is much, much easier to use with ADO.NET than Oracle is at the moment. If Oracle ever addresses this, then we might be able to utilize Oracle more in the future.” Another commented, “Oracle is perceived as requiring a ‘Priesthood’ to program, configure and run. SQL Server is just another tool and is integrated with Visual Studio.” A third said, “SQL Server is more than adequate for our needs, easy to administer, works well with Visual Studio and runs fine on an x86 server. It is our standard for most in-house deployments. A lot of our third-party vendors use it too.”&lt;br /&gt;&lt;br /&gt;Not everyone, of course, uses SQL Server: “We’re a major corporation and Oracle is a de facto standard for enterprise computing (along with IBM DB2). Microsoft SQL Server, though we use it, is not industrial strength.” Another added, “IBM is much easier to work with than Oracle in terms of tech support and sales.”&lt;br /&gt;&lt;br /&gt;And sometimes it just depends: “We develop J2EE and .NET applications, SQL Server from Microsoft is everywhere in the small to mid customers, Oracle is in the large customers. When we sell applications we need to deploy apps that already mesh with existing databases.” Another said, “MySQL has been started to test as alternative to Oracle.”&lt;br /&gt;&lt;br /&gt;Sybase had its fans and critics: “Sybase is still the de facto standard on Wall Street. It practically runs itself allowing the DBA staff to take on ‘other duties as assigned,’” said one respondent. Another said, “We wish Sybase added features as quickly as MySQL would, would extend T-SQL, and implement other features commonly found in other databases. Otherwise we’ll probably leave it.”&lt;br /&gt;&lt;br /&gt;Not all installed databases are used for new projects, but are retained as part of legacy systems. The 2007 study also asked which databases were used for the most recently completed project. For this question, SQL Server was used by 51.0 percent of projects, followed by Oracle at 37.1 percent, MySQL at 20.7 percent, Access at 14.9 percent, DB2 at 12.5 percent and PostgreSQL at 4.2 percent. All other databases had fewer than three responses.&lt;br /&gt;&lt;br /&gt;One respondent said, “Most [databases] are legacy, but new development is to be Oracle or SQL Server.”&lt;br /&gt;&lt;br /&gt;Choosing Familiarity&lt;br /&gt;When asked why they chose a specific database for their most recent project, nearly half of all respondents—45.9 percent—said “familiarity with the database.” The other top answers were “high availability or reliability features” (21.3 percent), “lowest development costs” (20.1 percent), “lowest deployment costs” (18.6 percent), “covered under site license” (17.1 percent) and “requested by specific applications” (15.3 percent).&lt;br /&gt;&lt;br /&gt;The lowest responses to this question were “won competitive bidding” (1.9 percent) and “lowest memory footprint requirements” (3.1 percent).&lt;br /&gt;&lt;br /&gt;The full study, with verbatim responses, is available for purchase from BZ Research.&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-877900119082334347?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/877900119082334347/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=877900119082334347' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/877900119082334347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/877900119082334347'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/08/mssql-2008-number-in-what.html' title='MSSQL 2005 number 1 in what??????????????'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_oWJ9bpXGJiA/SJgfis1baOI/AAAAAAAAAck/1P8jiFc6nuU/s72-c/mssql_what.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-346672291604179675</id><published>2008-08-05T14:24:00.000+08:00</published><updated>2008-08-05T14:25:41.670+08:00</updated><title type='text'>The Professor Teaches About Evil and Christianity</title><content type='html'>"LET ME EXPLAIN THE problem science has with Jesus Christ." The atheist professor of philosophy pauses before his class and then asks one of his new students to stand. "You're a Christian, aren't you, son?"&lt;br /&gt;     "Yes, sir."&lt;br /&gt;     "So you believe in God?"&lt;br /&gt;     "Absolutely."&lt;br /&gt;     "Is God good?"&lt;br /&gt;     "Sure! God's good."&lt;br /&gt;     "Is God all-powerful? Can God do anything?"&lt;br /&gt;     "Yes."&lt;br /&gt;     "Are you good or evil?"&lt;br /&gt;     "The Bible says I'm evil."&lt;br /&gt;     The professor grins knowingly. "Ahh! THE BIBLE!" He considers for a moment. "Here's one for you. Let's say there's a sick person over here and you can cure him. You can do it. Would you help them? Would you try?"&lt;br /&gt;     "Yes sir, I would."&lt;br /&gt;     "So you're good...!"&lt;br /&gt;     "I wouldn't say that."&lt;br /&gt;     "Why not say that? You would help a sick and maimed person if you could...in fact most of us would if we could....God doesn't."&lt;br /&gt;     [No answer]&lt;br /&gt;     "He doesn't, does he? My brother was a Christian who died of cancer even though he prayed to Jesus to heal him. How is this Jesus good? Hmmm? Can you answer that one?"&lt;br /&gt;     [No answer]&lt;br /&gt;     The elderly man is sympathetic. "No, you can't, can you?" He takes a sip of water from a glass on his desk to give the student time to relax. "In philosophy, you have to go easy with the new ones. Let's start again, young fella. Is God good?"&lt;br /&gt;     "Er... Yes."&lt;br /&gt;     "Is Satan good?"&lt;br /&gt;     "No."&lt;br /&gt;     "Where does Satan come from?"&lt;br /&gt;     The student falters. "From... God..."&lt;br /&gt;     "That's right. God made Satan, didn't he?" The elderly man runs his bony fingers through his thinning hair and turns to the smirking student audience. "I think we're going to have a lot of fun this semester, ladies and gentlemen." He turns back to the Christian. "Tell me, son. Is there evil in this world?"&lt;br /&gt;     "Yes, sir."&lt;br /&gt;     "Evil's everywhere, isn't it? Did God make everything?"&lt;br /&gt;     "Yes."&lt;br /&gt;     "Who created evil?"&lt;br /&gt;     [No answer]&lt;br /&gt;     "Is there sickness in this world? Immorality? Hatred? Ugliness. All the terrible things - do they exist in this world? "&lt;br /&gt;     The student squirms on his feet. "Yes."&lt;br /&gt;     "Who created them?"&lt;br /&gt;     [No answer]&lt;br /&gt;     The professor suddenly shouts at his student, "WHO CREATED THEM? TELL ME, PLEASE!" The professor closes in for the kill and climbs into the Christian's face. In a still small voice, he asked, "God created all evil, didn't He, son?"&lt;br /&gt;     [No answer]&lt;br /&gt;     The student tries to hold the steady, experienced gaze and fails. Suddenly the lecturer breaks away to pace the front of the classroom like an aging panther. The class is mesmerized. "Tell me," he continues, "How is it that this God is good if He created all evil throughout all time?" The professor swishes his arms around to encompass the wickedness of the world. "All the hatred, the brutality, all the pain, all the torture, all the death and ugliness and all the suffering created by this good God is all over the world, isn't it, young man?"&lt;br /&gt;     [No answer]&lt;br /&gt;     "Don't you see it all over the place? Huh?" Pause. "Don't you?" The professor leans into the student's face again and&lt;br /&gt;     whispers, "Is God good?"&lt;br /&gt;     [No answer]&lt;br /&gt;     "Do you believe in Jesus Christ, son?"&lt;br /&gt;     The student's voice betrays him and cracks. "Yes, professor. I do."&lt;br /&gt;     The old man shakes his head sadly. "Science says you have five senses you use to identify and observe the world around you. Have you ever seen Jesus?"&lt;br /&gt;     "No, sir. I've never seen Him."&lt;br /&gt;     "Then tell us if you've ever heard your Jesus?"&lt;br /&gt;     "No, sir. I have not."&lt;br /&gt;     "Have you ever felt your Jesus, tasted your Jesus or smelt your Jesus... in fact, do you have any sensory perception of your God whatsoever?"&lt;br /&gt;     [No answer]&lt;br /&gt;     "Answer me, please."&lt;br /&gt;     "No, sir, I'm afraid I haven't."&lt;br /&gt;     "You're AFRAID... you haven't?"&lt;br /&gt;     "No, sir."&lt;br /&gt;     "Yet you still believe in him?"&lt;br /&gt;     "...yes..."&lt;br /&gt;     "That takes FAITH!" The professor smiles sagely at the underling. "According to the rules of empirical, testable, demonstrable protocol, science says your God doesn't exist. What do you say to that, son? Where is your God now?"&lt;br /&gt;     [The student doesn't answer]&lt;br /&gt;     "Sit down, please."&lt;br /&gt;     The first Christian sits...defeated.&lt;br /&gt;     Another Christian raises his hand. "Professor, may I address the class?"&lt;br /&gt;     The professor turns and smiles. "Ah, yet another Christian in the vanguard! Come, come, young man. Speak some proper wisdom to the gathering."&lt;br /&gt;     The Christian looks around the room. "Some interesting points you are making, sir. Now I've got a question for you. Is there such thing as heat?"&lt;br /&gt;     "Yes," the professor replies. "There's heat."&lt;br /&gt;     "Is there such a thing as cold?"&lt;br /&gt;     "Yes, son, there's cold too."&lt;br /&gt;     "No, sir, there isn't."&lt;br /&gt;     The professor's grin freezes. The room suddenly becomes very quiet. The second Christian continues.&lt;br /&gt;     "You can have lots of heat, even more heat, super-heat, mega-heat, white heat, a little heat or no heat, but we don't have anything called 'cold'. We can hit 273 degrees below zero, which is no heat, but we can't go any further after that. There is no such thing as cold, otherwise we would be able to go colder than -273°C. You see, sir, cold is only a word we use to describe the absence of heat. We cannot measure cold. Heat we can measure in thermal units because heat is energy. Cold is not the opposite of heat, sir, just the absence of it."&lt;br /&gt;     Silence. A pin drops somewhere in the classroom.&lt;br /&gt;     "Is there such a thing as darkness, professor?"&lt;br /&gt;     "That's a dumb question, son. What is night if it isn't darkness? What are you getting at...?"&lt;br /&gt;     "So you say there is such a thing as darkness?"&lt;br /&gt;     "Yes..."&lt;br /&gt;     "You're wrong again, sir. Darkness is not something, it is the absence of something. You can have low light, normal light, bright light, flashing light... but if you have no light constantly you have nothing and it's called darkness, isn't it? That's the meaning we use to define the word. In reality, Darkness isn't. If it were, you would be able to make darkness darker and give me a jar of it. Can you... give me a jar of darker darkness, professor?"&lt;br /&gt;     Despite himself, the professor smiles at the young effrontery before him. This will indeed be a good semester. "Would you mind telling us what your point is, young man?"&lt;br /&gt;     "Yes, professor. My point is, your philosophical premise is flawed to start with and so your conclusion must be in error...."&lt;br /&gt;     The professor goes toxic. "Flawed...? How dare you...!"&lt;br /&gt;     "Sir, may I explain what I mean?"&lt;br /&gt;     The class is all ears.&lt;br /&gt;     "Explain... ohhhhh, explain..." The professor makes an admirable effort to regain control. Suddenly he is affability himself. He waves his hand to silence the class, for the student to continue.&lt;br /&gt;     "You are working on the premise of duality," the Christian explains. "That for example there is life and then there's death; a good God and a bad God. You are viewing the concept of God as something finite, something we can measure. Sir, science cannot even explain a thought. It uses electricity and magnetism but has never seen, much less fully understood them. To view death as the opposite of life is to be ignorant of the fact that death cannot exist as a substantive thing. Death is not the opposite of life, merely the absence of it." The young man holds up a newspaper he takes from the desk of a neighbor who has been reading it. "Here is one of the most disgusting tabloids this country hosts, professor. Is there such a thing as immorality?"&lt;br /&gt;     "Of course there is, now look..."&lt;br /&gt;     "Wrong again, sir. You see, immorality is merely the absence of morality. Is there such thing as injustice? No. Injustice is the absence of justice. Is there such a thing as evil?" The Christian pauses. "Isn't evil the absence of good?"&lt;br /&gt;     The professor's face has turned an alarming color. He is so angry he is temporarily speechless.&lt;br /&gt;     The Christian continues, "If there is evil in the world, professor, and we all agree there is, then God, if He exists, must be accomplishing a work through the agency of evil.1 What is that work God is accomplishing? The Bible tells us it is to see if each one of us will, of our own free will, choose good over evil."2&lt;br /&gt;     The professor bridles. "As a philosophical scientist, I don't view this matter as having anything to do with any choice; as a realist, I absolutely do not recognize the concept of God or any other theological factor as being part of the world equation because God is not observable."&lt;br /&gt;     The Christian replies, "I would have thought that the absence of God's moral code in this world is probably one of the most observable phenomena going, Newspapers make billions of dollars reporting it every week! Tell me, professor. Do you teach your students that they evolved from a monkey?"&lt;br /&gt;     "If you are referring to the natural evolutionary process, young man, yes, of course I do."&lt;br /&gt;     "Have you ever observed evolution with your own eyes, sir?"&lt;br /&gt;     The professor makes a sucking sound with his teeth and gives his student a silent, stony stare.&lt;br /&gt;     "Professor. Since no one has ever observed the process of evolution at work and cannot even prove that this process is an on-going endeavor, are you not teaching your opinion, sir? Are you now not a scientist, but a preacher?"&lt;br /&gt;     "I'll overlook your impudence in the light of our philosophical discussion. Now, have you quite finished?" the professor hisses.&lt;br /&gt;     "So you don't accept God's moral code to do what is righteous?"&lt;br /&gt;     "I believe in what is - that's science!"&lt;br /&gt;     "Ahh! SCIENCE!" the student's face splits into a grin. "Sir, you rightly state that science is the study of observed phenomena. Science too is a premise which is flawed..."&lt;br /&gt;     "SCIENCE IS FLAWED..?" the professor splutters.&lt;br /&gt;     The class is in uproar. The Christian remains standing until the commotion has subsided. "To continue the point you were making earlier to the other student, may I give you an example of what I mean?"&lt;br /&gt;     The professor wisely keeps silent.&lt;br /&gt;     The Christian looks around the room. "Is there anyone in the class who has ever seen the professor's mind?" The class breaks out into laughter. The Christian points towards his elderly, crumbling tutor. "Is there anyone here who has ever heard the professor's mind... felt the professor's mind, touched or smelt the professor's mind? No one appears to have done so." The Christian shakes his head sadly. "It appears no one here has had any sensory perception of the professor's mind whatsoever. Well, according to the rules of empirical, stable, demonstrable protocol, science, I DECLARE that the professor has no mind."&lt;br /&gt;     The class is in chaos.&lt;br /&gt;     The Christian sits.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-346672291604179675?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/346672291604179675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=346672291604179675' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/346672291604179675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/346672291604179675'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/08/professor-teaches-about-evil-and.html' title='The Professor Teaches About Evil and Christianity'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-1570881830094042852</id><published>2008-08-05T13:34:00.000+08:00</published><updated>2008-08-05T13:35:32.097+08:00</updated><title type='text'>25 Phrases Of Wisdom</title><content type='html'>1. If you're too open minded, your brains will fall out.&lt;br /&gt;&lt;br /&gt;2. Age is a very high price to pay for maturity.&lt;br /&gt;&lt;br /&gt;3. Going to church doesn't make you a Christian any more than going to a garage makes you a mechanic.&lt;br /&gt;&lt;br /&gt;4. Artificial intelligence is no match for natural stupidity.&lt;br /&gt;&lt;br /&gt;5. If you must choose between two evils, pick the one you've never tried before.&lt;br /&gt;&lt;br /&gt;6. My idea of housework is to sweep the room with a glance.&lt;br /&gt;&lt;br /&gt;7. Not one shred of evidence supports the notion that life is serious.&lt;br /&gt;&lt;br /&gt;8. It is easier to get forgiveness than permission.&lt;br /&gt;&lt;br /&gt;9. For every action, there is an equal and opposite government program.&lt;br /&gt;&lt;br /&gt;10. If you look like your passport picture, you probably need the trip.&lt;br /&gt;&lt;br /&gt;11. Bills travel through the mail at twice the speed of checks.&lt;br /&gt;&lt;br /&gt;12. A conscience is what hurts when all your other parts feel so good.&lt;br /&gt;&lt;br /&gt;13. Eat well, stay fit, die anyway.&lt;br /&gt;&lt;br /&gt;14. Men are from earth. Women are from earth. Deal with it.&lt;br /&gt;&lt;br /&gt;15. No husband has ever been shot while doing the dishes.&lt;br /&gt;&lt;br /&gt;16. A balanced diet is a cookie in each hand.&lt;br /&gt;&lt;br /&gt;17. Middle age is when broadness of the mind and narrowness of the waist change places.&lt;br /&gt;&lt;br /&gt;18. Opportunities always look bigger going than coming.&lt;br /&gt;&lt;br /&gt;19. Junk is something you've kept for years and throw away three weeks before you need it.&lt;br /&gt;&lt;br /&gt;20. There is always one more imbecile than you counted on.&lt;br /&gt;&lt;br /&gt;21. Experience is a wonderful thing. It enables you to recognize a mistake when you make it again.&lt;br /&gt;&lt;br /&gt;22. By the time you can make ends meet, they move the ends.&lt;br /&gt;&lt;br /&gt;23. Thou shalt not weigh more than thy refrigerator.&lt;br /&gt;&lt;br /&gt;24. Someone who thinks logically provides a nice contrast to the real world.\&lt;br /&gt;&lt;br /&gt;25. Your aren't wealthy until you posses something money can't buy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-1570881830094042852?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/1570881830094042852/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=1570881830094042852' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/1570881830094042852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/1570881830094042852'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/08/25-phrases-of-wisdom.html' title='25 Phrases Of Wisdom'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-2989404058325632986</id><published>2008-08-01T22:54:00.000+08:00</published><updated>2008-08-01T22:55:10.467+08:00</updated><title type='text'>Men strike back!!  [Jokes]</title><content type='html'>Q: How many men does it take to open a beer?&lt;br /&gt;A: None. It should be opened when she brings it.&lt;br /&gt;---------------------------------------- -------------------------! --&lt;br /&gt;Q: Why is a Laundromat a really bad place to pick up a woman?&lt;br /&gt;A: Because a woman who can't even afford a washing machine will probably never be able to support you.&lt;br /&gt;---------------------------------------- ---------------------------&lt;br /&gt;Q: Why do women have smaller feet than men?&lt;br /&gt;A: It's one of those "evolutionary things" that allows them to stand closer to the kitchen sink.&lt;br /&gt;---------------------------------------- ---------------------------&lt;br /&gt;Q: How do you know when a woman is about to say something smart?&lt;br /&gt;A: When she starts a sentence with "A man once told me..."&lt;br /&gt;---------------------------------------- ---------------------------&lt;br /&gt;Q: How do you fix a woman's watch?&lt;br /&gt;A: You don't. There is a clock on the oven.&lt;br /&gt;---------------------------------------- ---------------------------&lt;br /&gt;Q: If your dog is barking at the back door and your wife is yelling at the front door, who do you let in first?&lt;br /&gt;A: The dog, of course. He'll shut up once you let him in.&lt;br /&gt;---------------------------------------- ---------------------------&lt;br /&gt;Q: What's worse than a Male Chauvinist Pig?&lt;br /&gt;A: A woman who won't do what she's told.&lt;br /&gt;---------------------------------------- ---------------------------&lt;br /&gt;I married a Miss Right.&lt;br /&gt;I just didn't know her first name was Always.&lt;br /&gt;---------------------------------------- ---------------------------&lt;br /&gt;Scientists have discovered a food that diminishes a woman's sex drive by 90%.&lt;br /&gt;It's called a Wedding Cake.&lt;br /&gt;---------------------------------------- ---------------------------&lt;br /&gt;Why do men die before their wives?&lt;br /&gt;They want to.&lt;br /&gt;---------------------------------------- --------------- ------------&lt;br /&gt;Women will never be equal to men until they can walk down the street with a bald head and a beer gut, and still think they are sexy.&lt;br /&gt;---------------------------------------- ---------------------------&lt;br /&gt;In the beginning, God created the earth and rested.&lt;br /&gt;Then God created Man and rested.&lt;br /&gt;Then God created Woman.&lt;br /&gt;Since then, neither God nor Man has rested.&lt;br /&gt;-------------- ---------------------------------------- -------------&lt;br /&gt;Send this to a few good men who need a laugh and to the select few women who know this is all bull anyway !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-2989404058325632986?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/2989404058325632986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=2989404058325632986' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2989404058325632986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2989404058325632986'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/08/men-strike-back-jokes.html' title='Men strike back!!  [Jokes]'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-1645981609080461841</id><published>2008-08-01T22:40:00.001+08:00</published><updated>2008-08-01T22:41:34.293+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NVIDIA'/><category scheme='http://www.blogger.com/atom/ns#' term='VIDEO CARD'/><category scheme='http://www.blogger.com/atom/ns#' term='ATI'/><title type='text'>Top Video Card as of July 2008</title><content type='html'>1. GTX 280&lt;br /&gt;   2. 9800GX2&lt;br /&gt;   3. HD4870&lt;br /&gt;   4. GTX 260&lt;br /&gt;   5. HD3870X2&lt;br /&gt;   6. HD4850&lt;br /&gt;   7. 8800Ultra&lt;br /&gt;   8. 9800GTX&lt;br /&gt;   9. 8800GTX&lt;br /&gt;  10. 8800GTS 512MB (G92 Revision)&lt;br /&gt;  11. 8800GT 512MB&lt;br /&gt;  12. HD3870 512MB&lt;br /&gt;  13. 9600GT&lt;br /&gt;  14. HD2900XT 1GB&lt;br /&gt;  15. HD2900Pro 1GB&lt;br /&gt;  16. HD2900XT 512MB&lt;br /&gt;  17. HD2900Pro 512MB&lt;br /&gt;  18. 8800GTS 640MB&lt;br /&gt;  19. HD3850 512MB&lt;br /&gt;  20. 8800GT 256MB&lt;br /&gt;  21. 8800GTS 320MB&lt;br /&gt;  22. 7950GX2&lt;br /&gt;  23. 8800GS/9600GSO&lt;br /&gt;  24. HD 3850 256MB&lt;br /&gt;  25. HD2900GT&lt;br /&gt;  26. X1950XTX&lt;br /&gt;  27. X1900XTX&lt;br /&gt;  28. X1950XT&lt;br /&gt;  29. X1900XT 512MB&lt;br /&gt;  30. 7900GTX&lt;br /&gt;  31. X1900XT 256MB&lt;br /&gt;  32. 7900GTO&lt;br /&gt;  33. 7800GTX 512MB&lt;br /&gt;  34. 7950GT&lt;br /&gt;  35. X1950Pro 512MB&lt;br /&gt;  36. X1950Pro 256MB&lt;br /&gt;  37. 7900GT 512MB&lt;br /&gt;  38. 8600GTS&lt;br /&gt;  39. X1800XT 512MB&lt;br /&gt;  40. 7900GT 256MB&lt;br /&gt;  41. X1800XT 256MB&lt;br /&gt;  42. X1900GT&lt;br /&gt;  43. X1950GT&lt;br /&gt;  44. 8600GT 512MB&lt;br /&gt;  45. 8600GT 256MB&lt;br /&gt;  46. X1900GT Rev2&lt;br /&gt;  47. 7800GTX 256MB&lt;br /&gt;  48. 7900GS&lt;br /&gt;  49. 7800GT&lt;br /&gt;  50. X1800XL&lt;br /&gt;  51. 7800GS&lt;br /&gt;  52. X1800GTO&lt;br /&gt;  53. HD2600XT&lt;br /&gt;  54. HD3650&lt;br /&gt;  55. X1650XT&lt;br /&gt;  56. X850XTPE&lt;br /&gt;  57. 7600GT&lt;br /&gt;  58. X850XT&lt;br /&gt;  59. 7600GTS&lt;br /&gt;  60. HD2600Pro&lt;br /&gt;  61. X800XT/PE&lt;br /&gt;  62. 6800Ultra/EE&lt;br /&gt;  63. 6800GT&lt;br /&gt;  64. 6800GS&lt;br /&gt;  65. X800XL&lt;br /&gt;  66. X850Pro&lt;br /&gt;  67. X800pro&lt;br /&gt;  68. X800GTO/GTO2&lt;br /&gt;  69. Chrome 440GTX&lt;br /&gt;  70. 8500GT&lt;br /&gt;  71. Chrome 430&lt;br /&gt;  72. X1650Pro&lt;br /&gt;  73. X1600XT&lt;br /&gt;  74. 7600GS&lt;br /&gt;  75. HD2400XT&lt;br /&gt;  76. X800&lt;br /&gt;  77. 6800&lt;br /&gt;  78. X800GT&lt;br /&gt;  79. 7300GT&lt;br /&gt;  80. X1300XT&lt;br /&gt;  81. X1600Pro&lt;br /&gt;  82. HD3450&lt;br /&gt;  83. 8400GS&lt;br /&gt;  84. 6800XT/LE&lt;br /&gt;  85. 6600GT&lt;br /&gt;  86. HD2400Pro&lt;br /&gt;  87. X700Pro&lt;br /&gt;  88. 9800XT&lt;br /&gt;  89. 5950Ultra&lt;br /&gt;  90. 9800Pro&lt;br /&gt;  91. 5900Ultra&lt;br /&gt;  92. 9700Pro&lt;br /&gt;  93. 5800Ultra&lt;br /&gt;  94. 9800&lt;br /&gt;  95. 9800SE 256bit&lt;br /&gt;  96. S3 Chrome S27&lt;br /&gt;  97. X700&lt;br /&gt;  98. 9700&lt;br /&gt;  99. 5900&lt;br /&gt; 100. 5800&lt;br /&gt; 101. X1300Pro&lt;br /&gt; 102. 6600&lt;br /&gt; 103. 5900XT&lt;br /&gt; 104. X600XT&lt;br /&gt; 105. TI4800&lt;br /&gt; 106. TI4600&lt;br /&gt; 107. 9600XT&lt;br /&gt; 108. TI4800SE&lt;br /&gt; 109. X1550&lt;br /&gt; 110. X1300&lt;br /&gt; 111. 5700Ultra&lt;br /&gt; 112. 9500Pro&lt;br /&gt; 113. 9800SE 128bit&lt;br /&gt; 114. X600&lt;br /&gt; 115. 9600Pro&lt;br /&gt; 116. TI4400&lt;br /&gt; 117. 9500&lt;br /&gt; 118. 6600LE&lt;br /&gt; 119. X1300SE&lt;br /&gt; 120. 5700&lt;br /&gt; 121. 7300GS&lt;br /&gt; 122. 9600&lt;br /&gt; 123. 6200&lt;br /&gt; 124. 6200LE&lt;br /&gt; 125. X550&lt;br /&gt; 126. TI4200&lt;br /&gt; 127. 5600&lt;br /&gt; 128. 5600XT&lt;br /&gt; 129. 9550&lt;br /&gt; 130. 9600SE&lt;br /&gt; 131. 7300LE&lt;br /&gt; 132. 5500&lt;br /&gt; 133. X1050&lt;br /&gt; 134. X300&lt;br /&gt; 135. 7300SE&lt;br /&gt; 136. 7100GS&lt;br /&gt; 137. 9550SE&lt;br /&gt; 138. 9200Pro&lt;br /&gt; 139. 9000Pro&lt;br /&gt; 140. Matrox Parhelia&lt;br /&gt; 141. 8500Pro&lt;br /&gt; 142. GeForce3 TI500&lt;br /&gt; 143. 8500&lt;br /&gt; 144. 8500LE&lt;br /&gt; 145. 5200Ultra&lt;br /&gt; 146. 9200&lt;br /&gt; 147. 9250&lt;br /&gt; 148. GeForce4 MX460&lt;br /&gt; 149. 5200&lt;br /&gt; 150. 9000&lt;br /&gt; 151. 9200SE&lt;br /&gt; 152. GeForce3&lt;br /&gt; 153. GeForce3 TI200&lt;br /&gt; 154. GeForce4 MX 440&lt;br /&gt; 155. 7500&lt;br /&gt; 156. GeForce2 Ultra&lt;br /&gt; 157. GeForce2 GTS&lt;br /&gt; 158. GeForce4 MX 420&lt;br /&gt; 159. Radeon (later renamed Radeon 7200)&lt;br /&gt; 160. GeForce 256 DDR&lt;br /&gt; 161. Voodoo5 5500&lt;br /&gt; 162. GeForce2 MX 400&lt;br /&gt; 163. GeForce 256&lt;br /&gt; 164. Savage 2000&lt;br /&gt; 165. GeForce2 MX&lt;br /&gt; 166. Radeon VE (later renamed Radeon 7000)&lt;br /&gt; 167. Voodoo4 4500&lt;br /&gt; 168. Matrox G400&lt;br /&gt; 169. TNT2&lt;br /&gt; 170. Rage128 Pro&lt;br /&gt; 171. Voodoo3&lt;br /&gt; 172. TNT&lt;br /&gt; 173. Rage128&lt;br /&gt; 174. Savage 4&lt;br /&gt; 175. Matrox G200&lt;br /&gt; 176. Riva128&lt;br /&gt; 177. Intel i740&lt;br /&gt; 178. Rage3D Pro&lt;br /&gt; 179. Voodoo Banshee&lt;br /&gt; 180. Voodoo2&lt;br /&gt; 181. Riva&lt;br /&gt; 182. Rage3D&lt;br /&gt; 183. VooDoo1&lt;br /&gt;&lt;br /&gt;These rankings have come from &lt;a href="http://Overclock.net"&gt;Overclock.net&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-1645981609080461841?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/1645981609080461841/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=1645981609080461841' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/1645981609080461841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/1645981609080461841'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/08/top-video-card-as-of-july-2008.html' title='Top Video Card as of July 2008'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-7318153692534134881</id><published>2008-08-01T22:31:00.001+08:00</published><updated>2008-08-01T22:32:59.487+08:00</updated><title type='text'>5 Reasons Why a Developer Might Want to Become a CIO</title><content type='html'>The CIO job comes with lots of money and lots of perks. But would a software developer ever be willing to cash in his integrity and passion for programming to become a corporate wonk? Here are five compelling reasons why developers might do so.&lt;br /&gt;&lt;br /&gt;1. It's all about the benjamins, baby.&lt;br /&gt;&lt;br /&gt;Have you seen the money these cats make? Top information technology executives earn millions of dollars. And it's not just the cash CIOs pocket, it's the perks they get, too. Home security system to protect all their loot? Check. Personal use of the corporate jet? Check. Financial planner to funnel all that dough into off-shore, tax-free accounts? &lt;br /&gt;&lt;br /&gt;2. It's good to be king.&lt;br /&gt;&lt;br /&gt;Like Tom Petty and Jackie Mason say, "It's good to be king." As a CIO, you have control over the fate of an entire department. You control the priorities, salaries and indeed the future of everyone on your staff. If you want to make them come into the office on the weekend to work on their TPS reports, you can. You can also make software vendors laugh or cry with a flourish of your pen. You can spend a day on the links and call it business. And if you want to frolic in Las Vegas for a weekend, you don't have to ask anyone for permission. You just tell them you're attending a conference. Because what happens in Vegas, stays in Vegas.&lt;br /&gt;&lt;br /&gt;3. You don't have to worry about your job getting outsourced.&lt;br /&gt;&lt;br /&gt;Have you ever heard of a CIO's job getting shipped off to India? Either have we. CIOs are too busy managing their outsourcing contracts with Tata and IBM to worry about their positions being in jeopardy. Software developers, on the other hand, always have to worry about the axe-man hefting the hatchet over their heads.&lt;br /&gt;&lt;br /&gt;4. Golden parachutes to the rescue.&lt;br /&gt;&lt;br /&gt;On the off chance a company decides to part ways with its CIO, the CIO is all but guaranteed a soft landing due to the employment contract his lawyer inked for him when he joined the company. While software developers are lucky if they get a measly six weeks severance, the CIO usually skips away with a minimum of six months severance, health insurance and all vested stock options.&lt;br /&gt;&lt;br /&gt;5. Quit bugging me.&lt;br /&gt;&lt;br /&gt;Even software developers tire of fixing bugs. Some days, they'd much rather be the person creating all the problems than the poor slob who has to clean them up.&lt;br /&gt;&lt;br /&gt;Want the other side of the story? Read 8 Reasons Why a Developer Would NEVER Want to Be A CIO.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-7318153692534134881?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/7318153692534134881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=7318153692534134881' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/7318153692534134881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/7318153692534134881'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/08/5-reasons-why-developer-might-want-to.html' title='5 Reasons Why a Developer Might Want to Become a CIO'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-7680039285372966573</id><published>2008-08-01T22:20:00.000+08:00</published><updated>2008-08-01T22:21:01.141+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NVIDIA'/><title type='text'>Nvidia to quit chipset business</title><content type='html'>Ricky Morris, DIGITIMES, Taipei [Friday 1 August 2008]&lt;br /&gt;&lt;br /&gt;Nvidia has decided to throw in the towel and quit the chipset business, sources close to the situation at one of Taiwan's top motherboard makers have revealed. As the story is told, Nvidia called a meeting earlier this week with its motherboard partners to gauge support for it continuing to develop chipsets in the future.&lt;br /&gt;&lt;br /&gt;The motherboard makers' response? Silence.&lt;br /&gt;&lt;br /&gt;It is still early days and not all the facts are known at the time of writing, but it is believed Nvidia will transfer the chipset team to working on GPU projects. On the motherboard makers' side, some makers have already canceled upcoming high-end motherboard projects based on the nForce 7-series chipset.&lt;br /&gt;&lt;br /&gt;The loss of its chipset business is expected to have a significant impact on Nvidia's GPU business in the short-term. Reception to the nForce 200 chip (BR04) which will enable SLI technology on Intel X58 motherboards has been lukewarm at best, with many makers saying they will not bother adding the chip on their boards. This means Nvidia needs to find a way of licensing and enabling multi-GPU support on motherboards using Intel and/or AMD chipsets fast. Otherwise it will have to cede the top-end of the graphics card market to AMD, which now has the benefit of Crossfire.&lt;br /&gt;&lt;br /&gt;The news would also debunk any recent speculation that Apple will be adopting Nvidia chipsets for its upcoming notebook products. It would be unfortunate if Apple really has poured water on the close relationship it has built with Intel over the past few years, only to have its new best friend exit the market before products are even announced.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-7680039285372966573?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/7680039285372966573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=7680039285372966573' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/7680039285372966573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/7680039285372966573'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/08/nvidia-to-quit-chipset-business.html' title='Nvidia to quit chipset business'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-2091901669853336741</id><published>2008-07-02T11:57:00.001+08:00</published><updated>2008-07-02T12:00:33.650+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Oracle will be first</title><content type='html'>&lt;blockquote&gt;This is an excerpt from an oracle book &lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Oracle Will Be First&lt;/span&gt;&lt;br /&gt;If you haven’t seen the “Oracle Firsts” on oracle.com, I’ve listed them here so that I can add a couple of notes from Oracle’s past to what I believe is a compelling vision in the Oracle future. Oracle will be the leader throughout the Information Age not only because they create the “bend in the road,” but they’re also willing to turn willingly when the road bends unexpectedly. Unlike Microsoft, they include Java to its fullest extent, embracing volumes of developers. Unlike IBM, they bring in every hardware solution, driving scalability to fruition and bringing choices to their customers. They embrace Linux for the future that it will bring while driving information to the Web with relentless force. They continue to support SAP and Microsoft while courting the Open Source community. I remember building the first Oracle client-server application with Brad Brown and Joe Trezzo when we were at Oracle in 1987. We wondered why it took so long for others to follow. Now, I just look at Oracle firsts and know that others will follow (in time), but I like to be part of the leading edge. Consider these Oracle firsts and get ready for a much-accelerated future:&lt;br /&gt;&lt;br /&gt;■ First commercial RDBMS&lt;br /&gt;■ First 32-bit database&lt;br /&gt;■ First database with read consistency&lt;br /&gt;■ First client-server database&lt;br /&gt;■ First SMP database&lt;br /&gt;■ First 64-bit RDBMS&lt;br /&gt;■ First Web database&lt;br /&gt;■ First database with Native Java Support&lt;br /&gt;■ First commercial RDBMS ported to Linux&lt;br /&gt;■ First database with XML&lt;br /&gt;■ First database with Real Application Clusters (RAC)&lt;br /&gt;■ First True Grid database&lt;br /&gt;■ Free Oracle Database (Oracle Express Edition)&lt;br /&gt;■ Unbreakable Linux Support&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-2091901669853336741?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/2091901669853336741/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=2091901669853336741' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2091901669853336741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2091901669853336741'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/07/oracle-will-be-first.html' title='Oracle will be first'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-8188817100659062101</id><published>2008-06-06T12:56:00.003+08:00</published><updated>2008-06-06T12:59:46.431+08:00</updated><title type='text'>2008 CELTICS vs. LAKERS Game 1 (Celtics 1-0 | Lakers 0-1)</title><content type='html'>The Lakers-Celtics Rivalry or Celtics-Lakers Rivalry is a rivalry between two of the most storied basketball franchises in National Basketball Association history, the Los Angeles Lakers and Boston Celtics. The rivalry has been less intense since the retirements of Magic Johnson and Larry Bird in the early 1990s. The Celtics currently lead in total championships with 16 to the Lakers' 14.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Celtics 98, Lakers 88 (F)  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1st five for the lakers&lt;br /&gt;Derek Fisher&lt;br /&gt;Kobe Bryant&lt;br /&gt;Radmanovic&lt;br /&gt;Lamar Odom&lt;br /&gt;Pau Gasol&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1st five for the celtics&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Rajon Rondo&lt;br /&gt;Ray Allen&lt;br /&gt;Paul Pierce&lt;br /&gt;Kevin Garnett&lt;br /&gt;Perkins&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-8188817100659062101?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/8188817100659062101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=8188817100659062101' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8188817100659062101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8188817100659062101'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/06/celtics-vs-lakers-game-1-celtics-1-0.html' title='2008 CELTICS vs. LAKERS Game 1 (Celtics 1-0 | Lakers 0-1)'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-1224238707313597501</id><published>2008-06-04T13:22:00.002+08:00</published><updated>2008-12-13T11:49:49.990+08:00</updated><title type='text'>AMD rolls out new laptop chip package</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_oWJ9bpXGJiA/SEYnh_YIizI/AAAAAAAAAcA/EjJ76T54Npg/s1600-h/AMD_TurionX2.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_oWJ9bpXGJiA/SEYnh_YIizI/AAAAAAAAAcA/EjJ76T54Npg/s400/AMD_TurionX2.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5207893484002380594" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SAN JOSE, California - Advanced Micro Devices Inc. rolled out a new package of chips for laptops Wednesday, a major overhaul of its mobile lineup the chip maker hopes will help it climb out of a deep financial trough.&lt;br /&gt;&lt;br /&gt;The Sunnyvale-based company, saddled with debt and hurt by product delays, is betting consumers will gravitate toward its new Turion brand processor and related chipset — part of a package that chip makers call a "platform" and sell together — because of their focus on high-definition video playback.&lt;br /&gt;&lt;br /&gt;This new generation of Turion laptop chips will appear at launch in twice as many different computers — from Hewlett-Packard Co., Acer Inc., Toshiba Corp. and others — as the previous generation, released two years ago, AMD said.&lt;br /&gt;&lt;br /&gt;Chip makers AMD, Intel Corp. and Nvidia Corp. are battling harder over high-end graphics as more people watch movies and television programs on their home computers and as operating systems and Web applications require better visuals.&lt;br /&gt;&lt;br /&gt;To that end, AMD's new chips, which were unveiled at the Computex computer show in Taiwan, rely heavily on parts from ATI Technologies, a graphics chip supplier that AMD acquired for $5.6 billion in 2006 to help it challenge Nvidia and much larger Intel.&lt;br /&gt;&lt;br /&gt;Intel is the world's No. 1 maker of microprocessors, the brains of personal computers. AMD is a distant No. 2, and with the acquisition of ATI now makes standalone graphics chips. Nvidia is the market leader in standalone graphics chips.&lt;br /&gt;&lt;br /&gt;AMD hopes that by infusing its general-purpose chips with more advanced graphics capabilities it can boost their appeal and help the company increase its market share.&lt;br /&gt;&lt;br /&gt;AMD has racked up more than $4 billion in losses over the last six quarters as Intel snatched away market share with newer parts and AMD struggled to digest the pricey ATI acquisition.&lt;br /&gt;&lt;br /&gt;AMD's new Turion X2 Ultra Dual-Core mobile processors, which come in clock speeds up to 2.4 gigahertz, are accompanied by powerful new chipsets, a separate set of chips that do most of the graphics work — absent a standalone graphics chip — and control how the processor communicates with the rest of the computer.&lt;br /&gt;&lt;br /&gt;AMD says its chipsets deliver three times better 3-D performance and five times better high-definition image quality than competing models because of the strength of its integrated graphics. AMD also says its chips transmit high-definition videos and photos faster over wireless networks.&lt;br /&gt;&lt;br /&gt;The company says demand for its new lineup of laptop chips has been strong. - AP&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-1224238707313597501?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/1224238707313597501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=1224238707313597501' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/1224238707313597501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/1224238707313597501'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/06/amd-rolls-out-new-laptop-chip-package.html' title='AMD rolls out new laptop chip package'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_oWJ9bpXGJiA/SEYnh_YIizI/AAAAAAAAAcA/EjJ76T54Npg/s72-c/AMD_TurionX2.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-4700703750657247952</id><published>2008-06-04T12:37:00.001+08:00</published><updated>2008-06-04T12:37:56.996+08:00</updated><title type='text'>Davao to be a center for outsourcing companies</title><content type='html'>MANILA, Philippines - Davao City, the Philippines’ largest urban area in Mindanao, is expected to be a viable alternative information technology hub three years from now, a study said.&lt;br /&gt;&lt;br /&gt;In a report, research firm XMG said organizations belonging to the business process outsourcing (BPO) industry are expected to lead the development of the area as a robust technology hub.&lt;br /&gt;&lt;br /&gt;Citing a study it conducted between January to March 2008, the company said that outsourcing vendors who participated in the survey are very bullish about Davao City, primarily due to the area’s larger population of untapped qualified resources compared to Cebu City in the Visayas.&lt;br /&gt;&lt;br /&gt;The study highlighted that competition in Cebu City is nearing saturation as the talent ramp-up continues.&lt;br /&gt;&lt;br /&gt;The study also highlighted the population of Davao City as considerably higher than other Tier-2 offshoring cities globally. In the Philippine context, Davao City’s population is 71% higher than Cebu City, 499% larger than Olongapo-Subic City, 333% higher than the Angeles-Clark area, and 340% larger than Baguio City.&lt;br /&gt;&lt;br /&gt;“The city’s estimated workforce is twice of Cebu, 9 times of Subic, and 7 times of Clark, and 6 times of Baguio. This has not even taken to account the manpower pool at the nearby cities and provinces of Davao City," the company said.&lt;br /&gt;&lt;br /&gt;According to the study, Davao City has various educational institutions annually yielding a higher number of IT and BPO qualified graduates than Subic, Clark, and Baguio by 689%, 278%, and 40% respectively.&lt;br /&gt;&lt;br /&gt;Telecom facilities, transportation networks, and public transport systems are already in place in Davao City, the study said. However, XMG indicated there is a need to further improve and modernize these services.&lt;br /&gt;&lt;br /&gt;In addition, the existence of a public transport system in Davao City is noteworthy yet still needs improvement in order to expand locators’ recruitment reach and the transportation of people from various points in and out of the city.&lt;br /&gt;&lt;br /&gt;The study said the attractiveness of Davao City is greatly affected by the negative perception about the Mindanao region as a whole.&lt;br /&gt;&lt;br /&gt;On February 2008, a travel advisory was released by US Consular Affairs warning their citizens on the risk of traveling in Central, Western, and Southern part of Mindanao due to security and safety reasons, which includes terrorism.&lt;br /&gt;&lt;br /&gt;XMG researcher Camille Lumbang said that although these travel warnings are empirically grounded from actual hostile incidents in Mindanao, it should be emphasized that these are only isolated incidents from specific areas.&lt;br /&gt;&lt;br /&gt;“There is a challenge then to substantiate and prove that such occurrences do not pose a general security threat for Davao City," she said.&lt;br /&gt;&lt;br /&gt;Lumbang admitted, however, “there is a crying need for both the government and private sector to act together in improving the overall image of Davao City to attract ICT locators."&lt;br /&gt;&lt;br /&gt;Citing a previous study, XMG said Davao City has been upgraded to a level C2 rating from its previous level D standing as the city emerges as a viable site for captive and outsourcing services.&lt;br /&gt;&lt;br /&gt;“While there are still a number of geopolitical, geophysical and infrastructure challenges, the large untapped manpower base in Davao City will give its allure and ‘staying power’ as a viable site in the years to come," Lumbang said&lt;br /&gt;&lt;br /&gt;The report continues added: “Potential locators in Davao City must have a heightened awareness and should conduct their own formal and internal risks analysis rather than reacting to headlines about specific regions under consideration such as the problems happening in other parts of Mindanao."&lt;br /&gt;&lt;br /&gt;Among the emerging alternative offshoring cities cited in the study were Montevideo in Uruguay, Jakarta in Indonesia, and Casablanca in Morocco. It focused on forecasting the global demand for offshoring and outsourcing services and the site optimization of emerging cities. - GMANews.TV&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-4700703750657247952?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/4700703750657247952/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=4700703750657247952' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4700703750657247952'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4700703750657247952'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/06/davao-to-be-center-for-outsourcing.html' title='Davao to be a center for outsourcing companies'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-677398338685217244</id><published>2008-06-04T12:35:00.001+08:00</published><updated>2008-06-04T12:35:58.267+08:00</updated><title type='text'>Software company warns against dangerous domains</title><content type='html'>SAN JOSE, Calif. - When surfing the Internet for safe Web sites, not all domains are equal.&lt;br /&gt;&lt;br /&gt;Companies that assign addresses for Web sites appear to be cutting corners on security more when they assign names in certain domains than in others, according to a report to be released Wednesday by antivirus software vendor McAfee Inc.&lt;br /&gt;&lt;br /&gt;McAfee found the most dangerous domains to navigate to are “.hk" (Hong Kong), “.cn" (China) and “.info" (information).&lt;br /&gt;&lt;br /&gt;Of all “.hk" sites McAfee tested, it flagged 19.2 percent as dangerous or potentially dangerous to visitors; it flagged 11.8 percent of “.cn" sites and 11.7 percent of “.info" sites that way.&lt;br /&gt;&lt;br /&gt;A little more than 5 percent of the sites under the “.com" domain—the world’s most popular—were identified as dangerous.&lt;br /&gt;&lt;br /&gt;More spammers, malicious code writers and other cybercriminals can establish an online presence when domain name registry businesses cut requirements for registering a site in order to boost their profit and profile. The report does not identify domain name registration companies McAfee believes are responsible for those lapses.&lt;br /&gt;&lt;br /&gt;Hundreds, perhaps thousands, of companies are in the business of registering domain names; some are large and well known, while others are small and less reputable, offering their services on the cheap and with flimsy or no background checks to lure in more customers.&lt;br /&gt;&lt;br /&gt;The fact that Internet scam artists gravitate to domain name services with lower fees and fewer requirements isn’t new.&lt;br /&gt;&lt;br /&gt;What McAfee’s “Mapping the Mal Web" report, now in its second year, tries to do is identify the domains that are populated with the highest concentration of risky sites.&lt;br /&gt;&lt;br /&gt;The servers for “.hk" and “.cn" Web sites don’t have to be in China; Web site operators can register sites from anywhere to target different geographies.&lt;br /&gt;&lt;br /&gt;Other risky domains include “.ro" (Romania), with 6.8 percent, and “.ru" (Russia), with 6 percent of sites flagged as dangerous.&lt;br /&gt;&lt;br /&gt;Shane Keats, research analyst for McAfee and lead author of the report, said the increase in dangerous sites registered under the “.hk" and “.cn" domains over last year’s report was caused in part by better data collection on McAfee’s part on those domains and by apparent security lapses in some registrar companies’ processes for registering addresses.&lt;br /&gt;&lt;br /&gt;“My advice about surfing behavior is that if you’re really desperate for cheap Prozac and the pharmacy ends in ‘.cn,’ don’t do it. Just don’t do it," Keats said. “Find another place to get your Prozac."&lt;br /&gt;&lt;br /&gt;Many Internet frauds involve fake sites for pharmaceuticals.&lt;br /&gt;&lt;br /&gt;The McAfee report is based on results from 9.9 million Web sites that were tested in 265 domains for serving malicious code, excessive pop-up ads or forms to fill out that actually are tools for harvesting e-mail addresses for sending spam.&lt;br /&gt;&lt;br /&gt;Keats said domain name registrars that are strict about authenticating that Web site owners are operating a legitimate business see far fewer malicious Web sites using their services.&lt;br /&gt;&lt;br /&gt;Where McAfee found some of the least-risky domain names: “.gov" (government use), with 0.05 percent flagged; “.jp" (Japan), with 0.1 percent flagged and “.au" (Australia), with 0.3 percent flagged. - AP&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-677398338685217244?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/677398338685217244/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=677398338685217244' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/677398338685217244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/677398338685217244'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/06/software-company-warns-against.html' title='Software company warns against dangerous domains'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-5216124113893392155</id><published>2008-05-31T18:41:00.002+08:00</published><updated>2008-05-31T18:47:38.365+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='RMAN'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Oracle: Duplicate Database using RMAN</title><content type='html'>please remove the 2 double quotes in EOF, i cant post it without the double quotes &lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;export ORACLE_SID=TEST2&lt;br /&gt;sqlplus /nolog "&lt;&lt;"EOF&lt;br /&gt;connect  / as sysdba&lt;br /&gt;alter system switch logfile;&lt;br /&gt;exit&lt;br /&gt;EOF&lt;br /&gt;rmanA.sh&lt;br /&gt;export ORACLE_SID=TEST3&lt;br /&gt;sqlplus /nolog "&lt;&lt;"EOF&lt;br /&gt;connect sys/oracledba as sysdba&lt;br /&gt;shutdown abort&lt;br /&gt;startup nomount&lt;br /&gt;exit&lt;br /&gt;EOF&lt;br /&gt;rm /data/oracle8/TEST3/*&lt;br /&gt;rman "&lt;&lt;"EOF&lt;br /&gt;connect target rman/rman_oracledba@test2&lt;br /&gt;connect catalog rman/rman_oracledba@test1&lt;br /&gt;connect auxiliary sys/oracledba@test3&lt;br /&gt;run {&lt;br /&gt;# set until time "to_date('2002-01-29:15:16:53','yyyy-mm-dd:hh24:mi:ss')";&lt;br /&gt;# set until time "to_date('30-JAN-2002 10:50:00','dd-mon-YYYY HH24:MI:SS')";&lt;br /&gt;set until time '31-JAN-2002 10:51:00';&lt;br /&gt;# set until time 'sysdate-1/1000';&lt;br /&gt;# set until scn = 155534;&lt;br /&gt;allocate auxiliary channel d1 type disk;&lt;br /&gt;allocate auxiliary channel d2 type disk;&lt;br /&gt;duplicate target database to test3;&lt;br /&gt;}&lt;br /&gt;EOF&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-5216124113893392155?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/5216124113893392155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=5216124113893392155' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/5216124113893392155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/5216124113893392155'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/05/oracle-duplicate-database-using-rman.html' title='Oracle: Duplicate Database using RMAN'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-9093477797903592634</id><published>2008-05-29T17:53:00.002+08:00</published><updated>2008-05-29T17:59:59.630+08:00</updated><title type='text'>Spread Firefox 3</title><content type='html'>pledge to download firefox 3&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.spreadfirefox.com/node&amp;amp;id=0&amp;amp;t=264"&gt;http://www.spreadfirefox.com/en-US/worldrecord/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.spreadfirefox.com/node&amp;amp;id=0&amp;amp;t=264"&gt;&lt;img alt="Download Day" title="Download Day" src="http://www.spreadfirefox.com/files/images/affiliates_banners/dday_badge_fox.png" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-9093477797903592634?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/9093477797903592634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=9093477797903592634' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/9093477797903592634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/9093477797903592634'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/05/spread-firefox-3.html' title='Spread Firefox 3'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-7668750559440386779</id><published>2008-05-28T12:47:00.004+08:00</published><updated>2008-05-28T12:56:57.825+08:00</updated><title type='text'>Lopez Arroyo Family Feud (century old)</title><content type='html'>&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;strong&gt;&lt;span style="color:red;"&gt;The Arroyo-Lopez War&lt;/span&gt;&lt;/strong&gt;                                                                                                   &lt;br /&gt;By Perry Diaz                                                       &lt;br /&gt;&lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;a href="http://inquirer.net/" target="_blank" title="http://inquirer.net/"&gt;&lt;span class="yshortcuts"&gt;&lt;span title="http://inquirer.net/"&gt;&lt;span style="color: rgb(0, 102, 204);"&gt;&lt;span title="http://inquirer.net/"&gt;INQUIRER.net&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;                                                        &lt;br /&gt;First Posted 14:40:00 05/23/2008                                    &lt;br /&gt;                                                                    &lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p class="MsoNormal" style="text-align: justify;"&gt;Finally, after almost 80 years of a family feud between two wealthy clans, it seems that the final battle has started. On one side of the conflict is the Arroyo clan, wealthy merchants of Chinese origin who gained political supremacy in the early 1900's when their patriarch, Jose Arroyo, was elected Senator in 1919.                                &lt;br /&gt;                                                                   &lt;br /&gt;With the help of his close friend -- then Senate President Manuel L. Quezon -- his younger brother, Dr. Mariano Arroyo, was appointed provincial governor in 1928.&lt;br /&gt;                                                                   &lt;br /&gt;On the other side is the Lopez clan headed by Eugenio "Eñing" Lopez who used his newspaper El Tiempo -- founded in 1901 by his father Benito Lopez, the first governor of Iloilo in 1906, who was assassinated two years later by a rival political faction -- to expose the jueteng ring that Governor Arroyo and a Chinese trader named Sualoy started in Iloilo. El Tiempo's incessant exposure of the jueteng operations finally paid off. Sualoy was charged, found guilty, imprisoned and deported to &lt;st1:country-region st="on"&gt;&lt;st1:place st="on"&gt;&lt;span class="yshortcuts"&gt;&lt;st1&gt;&lt;st1&gt;China&lt;/st1&gt;&lt;/st1&gt;&lt;/span&gt;&lt;/st1:place&gt;&lt;/st1:country-region&gt;.                                                                                                      &lt;br /&gt;That was the beginning of the Arroyo-Lopez War. As a result of the crackdown on the jueteng operations, Governor Arroyo filed a libel suit against Lopez and El Tiempo. Lopez retaliated by filing administrative charges against Governor Arroyo. Governor General Davis was also informed about the case and he sent Judge Francisco Moran to investigate. Moran discovered that Governor Arroyo was involved in the jueteng operations, including a gambling den.&lt;br /&gt;                                                                &lt;br /&gt;Consequently, Moran dismissed the libel charges against Lopez and his newspaper. In 1930, the administrative trial found Governor Arroyo guilty of corruption and Governor General Davis relieved him from his post.                                        &lt;br /&gt;                                                                   &lt;br /&gt;Humiliated, Jesusa Lacson Arroyo, the widow of Senator Arroyo who died in 1927, picked up the pieces and moved her entire family to Negros Occidental. One of her sons, Ignacio, would become the father of the current First Gentleman, Jose Miguel "Mike" Arroyo.&lt;br /&gt;                                                                   &lt;br /&gt;Meanwhile, Eugenio Lopez progressed in business; his brother Fernando entered politics and was elected Vice-President three times. Don Eugenio established the first airline in &lt;st1:place st="on"&gt;&lt;span class="yshortcuts"&gt;&lt;st1&gt;Asia&lt;/st1&gt;&lt;/span&gt;&lt;/st1:place&gt; and expanded his newspaper business. In 1962, he purchased Meralco, the country's largest electric company. His son, Eugenio "Geny" Lopez, Jr., built ABS-CBN to become the country's undisputed leader in broadcasting.                                            &lt;br /&gt;                                                                   &lt;br /&gt;In 1972, the Lopez family suffered under the martial law regime of &lt;span class="yshortcuts"&gt;Ferdinand Marcos&lt;/span&gt;. Geny Lopez was implicated in an alleged plot to kill Marcos. Under obscure circumstances, Lopez escaped from detention and slipped out of the country. Marcos' brother-in-law, Kokoy Romualdez, then took over Meralco. When Marcos was ousted in 1986, Cory Aquino returned Meralco and ABS-CBN to the Lopezes.&lt;br /&gt;                                                                 &lt;br /&gt;For more than 20 years, the Lopezes had undisputed control of Meralco. They also diversified into new business ventures. Over the past several years, ABS-CBN became a pain in the neck of &lt;span class="yshortcuts"&gt;President Gloria Macapagal- Arroyo&lt;/span&gt;. Their coverage of the various scandals involving the First Couple have contributed much to the Arroyos' negative public image.&lt;br /&gt;                                                                   &lt;br /&gt;It is no wonder then that Meralco is now in the crosshairs of &lt;span class="yshortcuts"&gt;President Arroyo&lt;/span&gt;'s sight. The joint congressional hearing chaired by Senator Miriam Defensor-Santiago and Congressman Juan Miguel "Mikey" Arroyo has stirred to life a family feud dormant for 78 years. There are speculations that the real reason for the Meralco "witch hunt" is for government to take over Meralco and break it up into smaller companies. If this should happen, guess who would take over a divested Meralco?                                                                                                                         &lt;br /&gt;Let's look at one who has been at the forefront of the battle: Winston Garcia, President and General Manager of the Government Service Insurance System (GSIS). His aggressive and arrogant demeanor in the Meralco boardroom -- he is a recent member on the Meralco board, representing GSIS which has 23% ownership of Meralco -- has made a lot of people wonder what his ulterior motive might be. Many believe that Garcia is on the board to wage a "proxy war" for the Arroyos.&lt;br /&gt;                                                                   &lt;br /&gt;For one thing, Garcia is not the typical government bureaucrat. He is a scion of a powerful political dynasty in &lt;st1:place st="on"&gt;&lt;span class="yshortcuts"&gt;&lt;st1&gt;Cebu&lt;/st1&gt;&lt;/span&gt;&lt;/st1:place&gt; with close ties to Malacañang. His father, Pablo, is a congressman and concurrently Deputy Speaker of the House. His brother, Pablo John, is also a congressman. And his sister, Gwendolyn, is the current Governor of &lt;span class="yshortcuts"&gt;Cebu&lt;/span&gt;. She announced recently that she is a candidate for Vice President in 2010.                              &lt;br /&gt;                                                                   &lt;br /&gt;In addition, the Garcia family has large stockholdings in the Aboitiz-owned Visayan Electric Company (VECO), the country's second largest private electric utility. The corporate officers include three Garcias, to wit: Dennis A. Garcia, President and General Manager; Ramontito A. Garcia,Treasurer; and Jess Anthony N. Garcia, legal counsel and Assistant Corporate Secretary. Of the 11 members of the VECO Board of Directors, five are Garcias, namely, Dennis N.A. Garcia, Ramontito E. Garcia, Gil A. Garcia II, Charles Sylvester A. Garcia, and Antonio V. A. Garcia de Escaño.                                                                                                                     &lt;br /&gt;The Aboitizes have five members of the Board. Recently a news account reported that Winston Garcia is serving VECO as a lawyer on retainer. The question is: What would VECO -- and Winston Garcia -- stand to gain if Meralco were broken up into smaller companies?&lt;br /&gt;                                                                   &lt;br /&gt;It is also common knowledge that the Aboitizes are business cronies of the First Couple. With the Lopezes trying hard to defend themselves from a pack of wolves, it would probably take a miracle to survive these attacks. But miracles do happen, and they happen when least expected. The last question is: What would the Arroyos stand to gain if and when Meralco breaks up?&lt;/p&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-7668750559440386779?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/7668750559440386779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=7668750559440386779' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/7668750559440386779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/7668750559440386779'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/05/lopez-arroyo-family-feud-century-old.html' title='Lopez Arroyo Family Feud (century old)'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-2803860343044779393</id><published>2008-05-28T10:34:00.003+08:00</published><updated>2008-05-28T12:59:43.865+08:00</updated><title type='text'>Ruby on Rails on Oracle: A Simple Tutorial</title><content type='html'>&lt;pre&gt;&lt;code&gt;Source: &lt;a href="http://www.oracle.com/technology/pub/articles/haefel-oracle-ruby.html"&gt;Oracle.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt; &lt;span class="topstoryhead"&gt;Ruby on Rails on Oracle: A Simple Tutorial&lt;/span&gt;&lt;br /&gt;       &lt;span class="italicbodycopy"&gt;&lt;br /&gt;       by Richard Monson-Haefel&lt;/span&gt;&lt;/p&gt;       &lt;p&gt; &lt;span class="boldbodycopy"&gt;Rails is an easy framework to work with, but like any technology it takes time to master.&lt;/span&gt;&lt;/p&gt;       &lt;p&gt; &lt;/p&gt;       &lt;p class="legalese"&gt;Published April 2006 &lt;/p&gt;       &lt;p&gt;&lt;img src="http://www.oracle.com/admin/images/otn/r_arrow.gif" /&gt; Comments about this article? Visit the &lt;a class="bodylink" href="http://forums.oracle.com/forums/forum.jspa?forumID=377"&gt;Ruby/RoR Discussion Forum&lt;/a&gt;        &lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt; You may have already heard about Ruby on Rails, the new application framework that seems to be taking the Web development community, in particular J2EE and PHP programmers, by storm. &lt;/p&gt;       &lt;p&gt;Rails is a capable Web application platform and has, in less than two years, gained significant traction among J2EE and PHP programmers. The attraction of both J2EE and PHP programmers makes a lot of sense when you look at the strengths of Rails. For one thing, it uses a strict model-view-controller architecture that any self-respecting design-patterns wonk would admire—this explains its attraction to J2EE developers. Second, it’s easy to build basic systems with Rails—which is attractive to PHP developers. &lt;/p&gt;       &lt;p&gt;However, Rails has some pretty significant limitations from a database perspective. Rails makes a lot of assumptions about your database layout and application needs. For example, Rails assumes that all tables use a single, non-compound, primary key. Compound primary keys are not supported! In addition, Rails does not support two-phase commit; it supports multiple databases, but cannot coordinate transactions among them. &lt;/p&gt;       &lt;p&gt;This article is not intended to be a booster piece for Rails nor is it an expose. It’s simply an introduction to the technology. It contains both praise and criticism. At times the criticism might appear a bit heavy handed (especially to Rails enthusiasts), but don’t be fooled. Using any Web application framework is going to be tricky, whether it’s J2EE, ASP.NET, or PHP. In the long run, you can be a lot more productive with Rails than you can be with many other Web application development platforms, but it takes time to learn the ropes. &lt;/p&gt;       &lt;span class="parahead1"&gt;What is Ruby? What is Rails?&lt;/span&gt;       &lt;p&gt;Ruby is a dynamic programming language similar in many respects to Perl, Python, and Smalltalk, but it is its own animal. Java and PHP programmers seem to pick up the language pretty easily and they have been Ruby’s biggest supporters. But others have been attracted to the language, too; including Don Box, who is well known as one of the wonkiest-wonks of the Microsoft world. &lt;/p&gt;       &lt;p&gt;Ruby is not new; it was created in 1993, making it older than Java or PHP, both of which were first introduced to the public in 1995. So while Ruby is a mature language, it’s been less popular than some other languages. As a result, the ecosystem that surrounds the Ruby programming language is not as rich as those that have grown up around Java, PHP, or Perl. Consequently, you will find fewer frameworks, libraries, books, Web sites, blogs, and other resources dedicated to the language. &lt;/p&gt;       &lt;p&gt;The marketing impotence of the Ruby community changed recently, when David Heinemeier Hanson introduced the Rails framework, arguably the most popular application of Ruby in its history. Rails extends the Ruby programming language into a domain specific language especially well suited for web development. It also leverages ActiveRecord, another language extension that adapts Ruby to object-relational persistence. Other than Rails’ lack of support for compound primary keys and two-phase commit, its biggest obstacle to adoption has been that you need to learn a new programming language to use it. This is not something that most people can simply ignore with a lot of hand-waving; learning a new language can be a fun but daunting task. &lt;/p&gt;       &lt;p&gt;If, however, you were interested in expanding your resume, I can think of no other language I would recommend higher than Ruby. Ruby represents the culmination of 10 years of development without the tampering of commercial interests. As a result, Ruby is a delight to work with and, in many cases, is an order of magnitude more productive than Java, C, or Microsoft .NET languages. (The exception may be IronPython, a port of the Python language to the Microsoft .NET environment. Python, like Ruby, is a dynamic and productive programming language.) &lt;/p&gt;       &lt;span class="parahead1"&gt;What is Rails For?&lt;/span&gt;       &lt;p&gt;Rails is designed from the ground up to create dynamic Web sites that use a relational database backend. It adds key words to the Ruby programming language that make Web applications easier to configure. In addition, it’s designed to automatically generate a complete, if somewhat crude, Web application from an existing database schema. The latter is both Ruby’s greatest strength and its Achilles’ heel. Rails makes assumptions about database schema naming conventions that, if followed, make generating a basic Web site a matter of executing single command. But to do this may require additional configurations or in some cases may not be possible at all. You’re also likely to find that just about every database convention that Rails expects can be overridden, but the more overriding that is needed, the less productive the platform becomes. This is why Rails is great when developing “green-field” applications with new databases. Unfortunately, it’s not a great solution when dealing with legacy systems. &lt;/p&gt;       &lt;p&gt;The best way to appreciate Rails in green-field application development is via an example. If you already have an Oracle database installed on which you can create new databases and tables, it should take less than 15 minutes to create a complete Web application. In this case, we’ll use Ruby of Rails to build a product catalog. &lt;/p&gt;       &lt;span class="parahead1"&gt;Example: A Simple Product Catalog&lt;/span&gt;       &lt;p&gt;Last year I started investing in high-grade (HG) comic books, specifically old issues from as far back as 1946. I created a simple Ruby on Rails database application that allows me to insert, remove, modify and delete new comics as I buy and sell them. It’s only intended for my use, so I kept it pretty simple. The application that will be developed in this article is a trimmed down version of the Ruby on Rails application I use at home. &lt;/p&gt;       &lt;p&gt;Although Rails and Oracle Database can be used on a variety of platforms, this article focuses on Windows XP, arguably one of the most frequently used operating systems by Oracle application developers. This example is pretty simple; it’s essentially the database equivalent of a “Hello World” programming language example. It’s designed to give you a small taste of Ruby, but it doesn’t represent the full capabilities of Rails, any more than a “Hello World” example demonstrates the full capabilities of any programming language. &lt;/p&gt;       &lt;p&gt;If you experience problems running this example, it’s likely to be for one of three reasons: Either you downloaded the wrong code, your database is not set up to allow you to connect to it, or your Windows XP operating system is giving you problems. In developing this example, I had a number of problems related to versioning and database configuration—all of which were a result of ignorance. I leaned heavily on a friend of mine, Michael Carland, to get everything working and to make this example as simple as possible. &lt;/p&gt;       &lt;p&gt;The fact of the matter is, getting Ruby on Rails and Oracle to work together is not trivial. In fact, it can be a bit frustrating at times. Follow the directions in this article exactly and you shouldn’t have problems. However, once you step outside the boundaries of this example, expect to have some issues. Rails can be very productive, but it’s a command-line development environment and doesn’t come with all of the “automagic” typically associated with advanced integrated development environments. If you are not a “do-it-yourself” technical person, than I wouldn’t recommend Rails to you at this time. &lt;/p&gt;       &lt;span class="boldbodycopy"&gt;Step 1: Set up the Oracle database&lt;/span&gt;       &lt;p&gt;You wouldn’t be reading this article if you were not interested in using Rails in combination with Oracle, so you’ll need to have an installed instance of the Oracle database and you’ll need to add a single table to the database. It’s important that you follow the exact naming conventions used in this article, otherwise a lot of the automatic code generation provided by Rails simply won’t work (without some tweaking). The table you need to create is described as follows: &lt;/p&gt;       CREATE TABLE comics (  id  NUMBER(10) NOT NULL,  title  VARCHAR2(60),  issue  NUMBER(4),  publisher VARCHAR2(60),  PRIMARY KEY (id) ); CREATE SEQUENCE comics_seq;        &lt;p&gt;There is a SQL Script file &lt;a href="http://www.oracle.com/technology/pub/files/comics.sql" class="bodylink"&gt;here&lt;/a&gt; which you can use to create the table and add some product data. I suggest that you use it so that your application is consistent with the one being developed here. The easiest way to do that is to use SQL*Plus as follows. (The assumption is that you already have an Oracle database installed and know how to use it.) &lt;/p&gt;       &lt;p&gt;Using SQL*Plus, create a user with DBA privileges that you can use for this application. &lt;/p&gt;       SQL&gt; GRANT dba TO ruby IDENTIFIED BY ruby; SQL&gt; ALTER USER ruby DEFAULT TABLESPACE users TEMPORARY TABLESPACE temp; SQL&gt; EXIT        &lt;p&gt; Using the SQL file, create the application table, COMICS, and insert some example data. &lt;/p&gt;       C:\&gt; sqlplus ruby/ruby@rails @comics.sql       &lt;p&gt;As you may have noticed, the COMICS table created for this example is plural, which may appear problematic since a common approach is to give tables singular names (e.g. COMIC). However, Rails takes the approach that tables should be named in the plural. This default can be overridden using a Rails configuration but using plural names is easier. &lt;/p&gt;       &lt;span class="boldbodycopy"&gt;Step 2: Install Ruby, RubyGems, Rails, and the Rails Oracle library&lt;/span&gt;       &lt;p&gt;There are two pieces of software you’ll need in order to use Rails on Windows XP: the Ruby programming language with RubyGems installation package, Rails 1.0 (1.1 was recently released; this articles addresses 1.0 only), and the Rails Oracle database library. To download and install Ruby with the Gems package installer, do the following. &lt;/p&gt;       &lt;ol&gt;&lt;li&gt;Go to &lt;a href="http://rubyinstaller.rubyforge.org/" class="bodylink"&gt;http://rubyinstaller.rubyforge.org/&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;Download the “One-Click Ruby Installer”. &lt;/li&gt;&lt;li&gt;Follow the installation instructions. &lt;/li&gt;&lt;/ol&gt;       &lt;p&gt;Once the Ruby programming platform is installed you can use RubyGems, a Ruby application that allows you to install Ruby frameworks very easily. To install the Rails application development framework, all you need to do is open a command-line prompt and type in a single command. &lt;/p&gt;       C:\&gt; gem install rails -v 1.0.0 --remote       &lt;p&gt;Now that you have Ruby, RubyGems, and Rails installed you can install a specialized code library that will allow your Rails applications to talk to your Oracle database server. To download and install Oracle Rails library, go to &lt;a href="http://rubyforge.org/projects/ruby-oci8" class="bodylink"&gt;http://rubyforge.org/projects/ruby-oci8&lt;/a&gt;, download ruby-oci8-0.1.13-mswin.r to your C drive, and then using your command window, execute the following command. &lt;/p&gt;       C:\&gt; ruby ruby-oci8-0.1.13-mswin.rb       &lt;p&gt;Assuming that everything went smoothly, you have now installed Ruby, Rails, and the Rails-Oracle connection library. You are now ready to create your first Ruby on Rails Web application. &lt;/p&gt;       &lt;span class="boldbodycopy"&gt;Step 3: Create the Web Application&lt;/span&gt;       &lt;p&gt;In order to create your new Rails application, you will need to create a new Rails project as follows. &lt;/p&gt;       &lt;p&gt;Create a new project using the rails command line application (this will automatically create a new directory). &lt;/p&gt;       C:\&gt; rails comics_catalog       &lt;p&gt;Change directories so you are in the new project directory created in the previous step. &lt;/p&gt;       C:\&gt; cd comics_catalog C:\comics_catalog&gt;        &lt;p&gt;Now that you have a new Rails project directory, you’ll need to configure your project so that the Rails applications will use the Rails-Oracle connection library. &lt;/p&gt;       &lt;p&gt;Within your project directory, there is a directory called config and in it is a file named database.yml. You need to edit database.yml using your favorite text editor. Initially, the file will look like this: &lt;/p&gt;       &lt;table class="bodycopy" border="1" cellpadding="7" cellspacing="0"&gt;         &lt;tbody&gt;&lt;tr&gt;           &lt;td&gt;&lt;pre&gt;development:&lt;br /&gt;adapter: mysql&lt;br /&gt;database: rails_development&lt;br /&gt;host: localhost&lt;br /&gt;username: root&lt;br /&gt;password:&lt;br /&gt;&lt;br /&gt;# Warning: The database defined as 'test' will be erased and&lt;br /&gt;# re-generated from your development database when you run 'rake'.&lt;br /&gt;# Do not set this db to the same as development or production.&lt;br /&gt;test:&lt;br /&gt;adapter: mysql&lt;br /&gt;database: rails_test&lt;br /&gt;host: localhost&lt;br /&gt;username: root&lt;br /&gt;password:&lt;br /&gt;&lt;br /&gt;production:&lt;br /&gt;adapter: mysql&lt;br /&gt;database: rails_production&lt;br /&gt;host: localhost&lt;br /&gt;username: root&lt;br /&gt;password:&lt;/pre&gt;&lt;/td&gt;         &lt;/tr&gt;       &lt;/tbody&gt;&lt;/table&gt;       &lt;p&gt; Different databases require different connection properties. Rails is set up to work with MySQL by default, but you want to re-configure this project to use Oracle. Change the development properties as described on this Oracle on Rails &lt;a class="bodylink" href="http://wiki.rubyonrails.org/rails/pages/Oracle"&gt;wiki page&lt;/a&gt;. (You could change the test and production properties also, but the scope of this article doesn’t include testing or production releases.) &lt;/p&gt;              &lt;p&gt;There are a number of approaches to creating a Web application in Rails, but the simplest by far is to use scaffold, a command line feature in Rails 1.0.0, which will build the entire application in a single command. &lt;/p&gt;       C:\comics_catalog&gt; ruby script/generate scaffold Comic        &lt;p&gt;Other than a cascade of output in the command window, what just happened? Well, the Rails code generator created model, view, and controller Ruby code to access the COMICS table. In this case you created the application using the Rails scaffold, which does all the work for you. If you make any changes to the database tables, you’ll need to run the scaffold command again. Otherwise, your application may not work. &lt;/p&gt;       &lt;p&gt;Now that the web application has been generated, you can start the Ruby Web server, WEBRick. &lt;/p&gt;       C:\comics_catalog&gt; ruby script/server       &lt;p&gt;You can change the Ruby code for your application or the COMICS table at anytime without having to restart the web server. However, if you change the database configuration file (i.e. database.yml) you will need to restart the server. &lt;/p&gt;       &lt;p&gt;Now you can access your Rails Comic Catalog application on your own development machine, using your favorite Web browser. Just access the following URL. &lt;/p&gt;       &lt;p&gt;http://localhost:3000/comics/list&lt;/p&gt;       &lt;p&gt;Your browser should show a list of comics in your Catalog like the one in Figure 1. &lt;/p&gt;       &lt;center&gt;         &lt;img src="http://www.oracle.com/technology/pub/images/haefel_ruby_f1.jpg" height="321" width="640" /&gt;&lt;br /&gt;       &lt;strong&gt;Figure 1:&lt;/strong&gt; Product Catalog List       &lt;/center&gt;       &lt;p&gt;When you use the scaffold to create a Rails Web application, it will automatically create three Web components that allow you to see a list of all records in the target database table and to insert, modify, and delete records in that table. Figure 1 shows a list of all of the sample data that was inserted into your database table when you executed the SQL script at the start of this tutorial. &lt;/p&gt;       &lt;p&gt;In addition to the Listing view, there is also a details view. Just click on any of the “Show” links to see a Web paged dedicated to displaying the data in that particular record. Figure 2 is an example of this details page. &lt;/p&gt;       &lt;center&gt;         &lt;img src="http://www.oracle.com/technology/pub/images/haefel_ruby_f2.jpg" height="321" width="640" /&gt;&lt;br /&gt;       &lt;strong&gt;Figure 2:&lt;/strong&gt; The Details Page       &lt;/center&gt;       &lt;p&gt;You can also edit any record in the database table. Click on the “Back” link, or use your browser back button to get back to the Listing page, then click on the “Edit” link of any record. Figure 3 shows an example of the Editing view of one of the records in the COMICS database table. &lt;/p&gt;       &lt;center&gt;         &lt;img src="http://www.oracle.com/technology/pub/images/haefel_ruby_f3.jpg" height="321" width="640" /&gt;&lt;br /&gt;       &lt;strong&gt;Figure 3:&lt;/strong&gt; The Editing View       &lt;/center&gt;       &lt;p&gt;You can also add new records to the COMICS table by going back to the Listing view and clicking on the “New Comic” link. This will present you with an insertion view similar to the one in figure 3, except the fields will all be blank. &lt;/p&gt;       &lt;span class="parahead1"&gt;Mastering Rails&lt;/span&gt;       &lt;p&gt;While the Product Catalog example showed how easy it is to create a very simple application using Rails, it’s not all that useful except for tracking inventory. You can create much more complicated Web applications with Rails, but that will require that you jump into the code a bit, which would require some study. Rails is an easy framework to work with, but like any technology it takes time to master. At this point, I can only recommend Rails to technically-savvy individuals and development teams who are embarking on “green-field” application development. If you don’t fall into this rough category, I wouldn’t recommend using Rails until the tooling has matured. &lt;/p&gt;       &lt;p&gt;In order to really master Rails, you should read a book, a number of which will be available later this year, but one that is very good and is available now is &lt;em&gt;Agile Web Programming with Ruby on Rails &lt;/em&gt;by David Heninmier Hanson and Dave Thomas (Published by Pragmatic Bookshelf, 2005). Hanson is, of course, the guy who created Rails and Thomas is one of the authors of &lt;em&gt;Programming Ruby: The Pragmatic Programmers' Guide&lt;/em&gt; (Pragmatic Bookshelf; 2nd edition, 2004). &lt;/p&gt;&lt;/blockquote&gt;&lt;pre&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-2803860343044779393?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/2803860343044779393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=2803860343044779393' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2803860343044779393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2803860343044779393'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/05/ruby-on-rails-on-oracle-simple-tutorial.html' title='Ruby on Rails on Oracle: A Simple Tutorial'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-8590677634956897860</id><published>2008-05-28T10:16:00.001+08:00</published><updated>2008-05-28T10:16:46.195+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Oracle: Query DB Cache Advice</title><content type='html'>&lt;blockquote&gt;   select&lt;br /&gt;     size_for_estimate          c1,&lt;br /&gt;     buffers_for_estimate       c2,&lt;br /&gt;    estd_physical_read_factor  c3,&lt;br /&gt;     estd_physical_reads        c4&lt;br /&gt;  from&lt;br /&gt;     v$db_cache_advice&lt;br /&gt;  where&lt;br /&gt;     name = 'DEFAULT'&lt;br /&gt;  and&lt;br /&gt;     block_size  = (SELECT value FROM V$PARAMETER&lt;br /&gt;                     WHERE name = 'db_block_size')&lt;br /&gt;  and&lt;br /&gt;  advice_status = 'ON'&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-8590677634956897860?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/8590677634956897860/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=8590677634956897860' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8590677634956897860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8590677634956897860'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/05/oracle-query-db-cache-advice.html' title='Oracle: Query DB Cache Advice'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-6778621257637400775</id><published>2008-05-28T10:13:00.000+08:00</published><updated>2008-05-28T10:14:18.159+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Oracle: Query Used space in Meg by segment type</title><content type='html'>rem -----------------------------------------------------------------------&lt;br /&gt;rem Filename:   usedsp.sql&lt;br /&gt;rem Purpose:    Used space in Meg by segment type&lt;br /&gt;rem Author:     Frank Naude, Oracle FAQ&lt;br /&gt;rem -----------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;set pagesize 50000&lt;br /&gt;set line 80&lt;br /&gt;&lt;br /&gt;col "Total Used Meg" format 999,999,990&lt;br /&gt;col "Data part" format 999,999,990&lt;br /&gt;col "Index part" format 999,999,990&lt;br /&gt;col "LOB part" format 999,999,990&lt;br /&gt;col "RBS part" format 999,999,990&lt;br /&gt;&lt;br /&gt;tti 'Used space in Meg by segment type'&lt;br /&gt;&lt;br /&gt;select sum(bytes)/1024/1024 "Total Used",&lt;br /&gt;       sum( decode( substr(segment_type,1,5), 'TABLE',     bytes/1024/1024, 0))&lt;br /&gt;                "Data part",&lt;br /&gt;       sum( decode( substr(segment_type,1,5), 'INDEX',     bytes/1024/1024, 0))&lt;br /&gt;                "Index part",&lt;br /&gt;       sum( decode( substr(segment_type,1,3), 'LOB',       bytes/1024/1024, 0))&lt;br /&gt;                "LOB part",&lt;br /&gt;       sum( decode(segment_type,              'ROLLBACK',  bytes/1024/1024, 0))&lt;br /&gt;                "RBS part",&lt;br /&gt;        sum( decode(segment_type,             'TEMPORARY', bytes/1024/1024, 0))&lt;br /&gt;                "TEMP part"&lt;br /&gt;from   sys.dba_segments&lt;br /&gt;/&lt;br /&gt;tti off&lt;br /&gt;&lt;br /&gt;tti "Total database size"&lt;br /&gt;&lt;br /&gt;select sum(bytes)/1024/1024 "Total DB size in Meg"&lt;br /&gt;  from sys.v_$datafile&lt;br /&gt;/&lt;br /&gt;tti off&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-6778621257637400775?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/6778621257637400775/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=6778621257637400775' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6778621257637400775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6778621257637400775'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/05/oracle-query-used-space-in-meg-by.html' title='Oracle: Query Used space in Meg by segment type'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-2150922960448958555</id><published>2008-05-27T12:47:00.002+08:00</published><updated>2008-05-27T12:50:24.574+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Exporting your Printer Configuration in Linux</title><content type='html'>Have you ever encounter when you need to transfer hundreds of printer configuration from one linux box to another, well I have fortunately I have found an article on the web on how to easily you can export those configurations.&lt;br /&gt;&lt;br /&gt; &lt;h1&gt;Saving the Configuration File&lt;/h1&gt;  &lt;p&gt;When you save your printer configuration using &lt;b&gt;Printer Configuration Tool&lt;/b&gt;, it creates its own configuration file that is used to create the &lt;tt&gt;&lt;span style="font-size: 10pt;"&gt;/etc/printcap&lt;/span&gt;&lt;/tt&gt; file that the printer daemon (&lt;tt&gt;&lt;span style="font-size: 10pt;"&gt;lpd&lt;/span&gt;&lt;/tt&gt;) reads. You can use the command line options to save or restore this file. If you save your &lt;tt&gt;&lt;span style="font-size: 10pt;"&gt;/etc/printcap&lt;/span&gt;&lt;/tt&gt; file and overwrite your existing &lt;tt&gt;&lt;span style="font-size: 10pt;"&gt;/etc/printcap&lt;/span&gt;&lt;/tt&gt; file with the saved file, your printer configuration will not be restored. Each time the printer daemon is restarted, it creates a new &lt;tt&gt;&lt;span style="font-size: 10pt;"&gt;/etc/printcap&lt;/span&gt;&lt;/tt&gt; file from the special &lt;b&gt;Printer Configuration Tool&lt;/b&gt; configuration file. If you have configured a backup system for your configuration files, you should use the following method to save your printer configuration. If you added any custom settings in the &lt;tt&gt;&lt;span style="font-size: 10pt;"&gt;/etc/printcap.local&lt;/span&gt;&lt;/tt&gt; file, you should save it as part of your backup system also. &lt;/p&gt;  &lt;p&gt;To save your printer configuration, type this command as root: &lt;/p&gt;  &lt;table class="MsoNormalTable" style="background: rgb(224, 224, 224) none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" border="0" cellpadding="0" width="100%"&gt;  &lt;tbody&gt;&lt;tr style=""&gt;   &lt;td style="padding: 0.75pt;"&gt;&lt;pre&gt;&lt;tt&gt;/usr/sbin/redhat-config-printer-tui --Xexport &gt; settings.xml&lt;/tt&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;Your configuration is saved to the file &lt;tt&gt;&lt;span style="font-size: 10pt;"&gt;settings.xml&lt;/span&gt;&lt;/tt&gt;. &lt;/p&gt;  &lt;p&gt;If you save this file, you can restore your printer settings. This is useful if your printer configuration is deleted, you reinstall Red Hat Linux and do not have your printer configuration file anymore, or you want to use the same printer configuration on multiple systems. To restore the configuration, type this command as root: &lt;/p&gt;  &lt;table class="MsoNormalTable" style="background: rgb(224, 224, 224) none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" border="0" cellpadding="0" width="100%"&gt;  &lt;tbody&gt;&lt;tr style=""&gt;   &lt;td style="padding: 0.75pt;"&gt;&lt;pre&gt;&lt;tt&gt;/usr/sbin/redhat-config-printer-tui --Ximport &lt;&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;If you already have a configuration file (you have configured one or more printers on the system already) and you try to import another configuration file, the existing configuration file will be overwritten. If you want to keep your existing configuration and add the configuration in the saved file, you can merge the files with the following command (as root): &lt;/p&gt;  &lt;table class="MsoNormalTable" style="background: rgb(224, 224, 224) none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" border="0" cellpadding="0" width="100%"&gt;  &lt;tbody&gt;&lt;tr style=""&gt;   &lt;td style="padding: 0.75pt;"&gt;&lt;pre&gt;&lt;tt&gt;/usr/sbin/redhat-config-printer-tui --Ximport --merge &lt;&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;Your printer list will then consist of the printers you configured on the system as well as the printers you imported from the saved configuration file. If the imported configuration file has a print queue with the same name as an existing print queue on the system, the print queue from the imported file will override the existing printer. &lt;/p&gt;  &lt;p&gt;After importing the configuration file (with or without the &lt;tt&gt;&lt;span style="font-size: 10pt;"&gt;merge&lt;/span&gt;&lt;/tt&gt; command), you must restart the printer daemon with the command &lt;tt&gt;&lt;span style="font-size: 10pt;"&gt;/sbin/service lpd restart&lt;/span&gt;&lt;/tt&gt; or by starting &lt;b&gt;Printer Configuration Tool&lt;/b&gt; and clicking &lt;b&gt;Apply&lt;/b&gt;. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-2150922960448958555?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/2150922960448958555/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=2150922960448958555' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2150922960448958555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2150922960448958555'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/05/exporting-your-printer-configuration-in.html' title='Exporting your Printer Configuration in Linux'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-3930160427690370016</id><published>2008-05-27T12:35:00.001+08:00</published><updated>2008-05-27T12:50:45.996+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Setup Oracle Standby Database ( Data Guard )</title><content type='html'>&lt;p class="MsoNormal"&gt;Oracle9i Data Guard is the new name for Oracle8i Standby Server, incorporating a large number of new features. In this article I shall only focus on those relevant to the "Oracle9i Database: New Features For Administrators" OCP exam. For more detailed information read the &lt;a href="http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96653/toc.htm"&gt;Oracle9i Data Guard Concepts and Administration&lt;/a&gt; documentation. &lt;/p&gt;  &lt;h2&gt;Architecture&lt;/h2&gt;  &lt;p class="MsoNormal"&gt;The Oracle9i Data Guard architecture incorporates the following items:&lt;/p&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;Primary Database - A      production database that is used to create standby databases. The archive      logs from the primary database are transfered and applied to standby      databases. Each standby can only be associated with a single primary      database, but a single primary database can be associated with multiple      standby databases. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Standby Database - A replica      of the primary database. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Log Transport Services -      Control the automatic transfer of archive redo log files from the primary      database to one or more standby destinations. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Network Configuration - The      primary database is connected to one or more standby databases using      Oracle Net. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Log Apply Services - Apply      the archived redo logs to the standby database. The Managed Recovery Process      (MRP) actually does the work of maintaining and applying the archived redo      logs. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Role Management Services -      Control the changing of database roles from primary to standby. The      services include switchover, switchback and failover. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Data Guard Broker - Controls      the creation and monitoring of Data Guard. It comes with a GUI and command      line interface. &lt;/li&gt;&lt;/ul&gt;  &lt;p class="MsoNormal"&gt;The services required on the primary database are:&lt;/p&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;Log Writer Process (LGWR) -      Collects redo information and updates the online redo logs. It can also      create local archived redo logs and transmit online redo to standby      databases. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Archiver Process (ARCn) - One      or more archiver processes make copies of online redo logs either locally      or remotely for standby databases. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Fetch Archive Log (FAL)      Server - Services requests for archive redo logs from FAL clients running      on multiple standby databases. Multiple FAL servers can be run on a      primary database, one for each FAL request. . &lt;/li&gt;&lt;/ul&gt;  &lt;p class="MsoNormal"&gt;The services required on the standby database are:&lt;/p&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;Fetch Archive Log (FAL)      Client - Pulls archived redo log files from the primary site. Initiates      transfer of archived redo logs when it detects a gap sequence. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Remote File Server (RFS) -      Receives archived and/or standby redo logs from the primary database. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Archiver (ARCn) Processes -      Archives the standby redo logs applied by the managed recovery process      (MRP). &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Managed Recovery Process      (MRP) - Applies archive redo log information to the standby database. &lt;/li&gt;&lt;/ul&gt;  &lt;h2&gt;Database Synchronization Options&lt;/h2&gt;  &lt;p class="MsoNormal"&gt;Data Guard can be configured to run with varying synchronization modes indicating the potential for data loss:&lt;/p&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;No-Data-Loss mode : This      simply means that the log transport services will not acknowledge      modifications to the primary database until they are available to the      standby database. This doesn't mean that the modifications have been      applied to the standby database, merely that the log information is      available to the log apply services should failover occur. This mode is      implemented using standby redo logs on the standby server. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;No-Data-Divergence mode :      This is an extension of the no-data-loss mode whereby modifications to the      primary database are prevented if conectivity between the primary and at      least one standby database is unavailable. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Minimal-Data-Loss mode : When      the performance requirements of the primary database are the top priority      this mode provides the optimum balance of data protection and performance.      &lt;/li&gt;&lt;/ul&gt;  &lt;h2&gt;Setup No-Data-Divergence&lt;/h2&gt;  &lt;p class="MsoNormal"&gt;To setup no-data-divergence, the most extreme level of data protection, then do the following:&lt;br /&gt;&lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/p&gt;  &lt;h2&gt;Setup Primary Database&lt;/h2&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;Shutdown the database using: &lt;code&gt;&lt;span style="font-size:10;"&gt;SHUTDOWN IMMEDIATE&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Backup all database files.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Add an entry for the standby      server into the tnsnames.ora file:&lt;/li&gt;&lt;/ul&gt;  &lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;stby1=&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;  &lt;/span&gt;(DESCRIPTION =&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;    &lt;/span&gt;(ADDRESS_LIST =&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(ADDRESS = (PROTOCOL = TCP)(HOST = myServerName)(PORT = 1512))&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;    &lt;/span&gt;)&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;    &lt;/span&gt;(CONNECT_DATA =&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(SERVICE_NAME = stby1.world)&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;    &lt;/span&gt;)&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;  &lt;/span&gt;)&lt;/pre&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;Assuming your database in      already in &lt;code&gt;&lt;span style="font-size:10;"&gt;ARCHIVELOG&lt;/span&gt;&lt;/code&gt;      mode one of the archive destinations will be set. Add the other entires:&lt;/li&gt;&lt;/ul&gt;  &lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;CONTROL_FILES=primary.ctl&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;COMPATIBLE=9.0.1.0.0&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;LOG_ARCHIVE_START=true&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;LOG_ARCHIVE_DEST_1='LOCATION=C:\Oracle\Oradata\TSH1\Archive MANDATORY REOPEN=30'&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;LOG_ARCHIVE_DEST_2='SERVICE=stby1 LGWR SYNC AFFIRM'&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;LOG_ARCHIVE_DEST_STATE_1=enable&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;LOG_ARCHIVE_DEST_STATE_2=enable&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;LOG_ARCHIVE_FORMAT=arc%t_%s.arc&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;REMOTE_ARCHIVE_ENABLE=true&lt;/pre&gt;  &lt;p class="MsoNormal"&gt;The &lt;code&gt;&lt;span style="font-size:10;"&gt;LGWR SYNC AFFIRM&lt;/span&gt;&lt;/code&gt; keywords indicate that the Logwriter should synchronously write updates to the online redo logs to this location and wait for confirmation of the write before proceeding. The remote site will process and archive these standby redo logs to keep the databases synchronized. This whole process can impact performance greatly but provides maximum data security.&lt;/p&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;Startup the database using: &lt;code&gt;&lt;span style="font-size:10;"&gt;STARTUP PFILE=C:\Oracle\Admin\TSH1\pfile\init.ora&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Create standby database      controlfile using: &lt;code&gt;&lt;span style="font-size:10;"&gt;ALTER DATABASE      CREATE STANDBY CONTROLFILE AS 'c:\stbycf.f';&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;h2&gt;Setup Standby Database&lt;/h2&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;Copy the production backup      files to the standby server.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Copy the standby controlfile      to the standby server.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Alter the control_files and      archive parameters of the init.ora as follows:&lt;/li&gt;&lt;/ul&gt;  &lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SERVICE_NAMES = stby1&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;CONTROL_FILES=standby.ctl&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;COMPATIBLE=9.0.1.0.0&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;LOG_ARCHIVE_START=true&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;LOCK_NAME_SPACE=stby1&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;FAL_SERVER=prim1&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;FAL_CLIENT=stby1&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;# Uncomment is filename conversion is needed&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;#DB_FILE_NAME_CONVERT=("/primary","/standby")&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;#LOG_FILE_NAME_CONVERT=("/primary","/standby")&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;STANDBY_ARCHIVE_DEST=C:\Oracle\Oradata\TSH1\Archive&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;LOG_ARCHIVE_DEST_1='LOCATION=C:\Oracle\Oradata\TSH1\Archive'&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;LOG_ARCHIVE_TRACE=127&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;LOG_ARCHIVE_FORMAT=arc%t_%s.arc&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;STANDBY_FILE_MANAGEMENT=auto&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;REMOTE_ARCHIVE_ENABLE=true&lt;/pre&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;Add the following entries      into the listener.ora file:&lt;/li&gt;&lt;/ul&gt;  &lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;(ADDRESS_LIST =&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;  &lt;/span&gt;(ADDRESS = (PROTOCOL = TCP)(HOST = myHost)(PORT = 1512))&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;)&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;STANDBY_LISTENER = (ADDRESS_LIST=&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt; (ADDRESS=(PROTOCOL=tcp)(PORT=1512)(HOST=myHost))&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;)&lt;/pre&gt;  &lt;p class="MsoNormal" style="margin-bottom: 12pt;"&gt;The file should resemble the following:&lt;/p&gt;  &lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;# LISTENER.ORA Network Configuration File: C:\Oracle\Ora901\network\admin\listener.ora&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;# Generated by Oracle configuration tools.&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;LISTENER =&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;  &lt;/span&gt;(DESCRIPTION_LIST =&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;    &lt;/span&gt;(DESCRIPTION =&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(ADDRESS_LIST =&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;        &lt;/span&gt;(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;)&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(ADDRESS_LIST =&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;        &lt;/span&gt;(ADDRESS = (PROTOCOL = TCP)(HOST = myHost)(PORT = 1521))&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;)&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(ADDRESS_LIST =&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;        &lt;/span&gt;(ADDRESS = (PROTOCOL = TCP)(HOST = myHost)(PORT = 1512))&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;)&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;    &lt;/span&gt;)&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;    &lt;/span&gt;(DESCRIPTION =&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(PROTOCOL_STACK =&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;        &lt;/span&gt;(PRESENTATION = GIOP)&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;        &lt;/span&gt;(SESSION = RAW)&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;)&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(ADDRESS = (PROTOCOL = TCP)(HOST = myHost)(PORT = 2481))&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;    &lt;/span&gt;)&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;  &lt;/span&gt;)&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;STANDBY_LISTENER = (ADDRESS_LIST=&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt; (ADDRESS=(PROTOCOL=tcp)(PORT=1512)(HOST=myHost))&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;)&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SID_LIST_LISTENER =&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;  &lt;/span&gt;(SID_LIST =&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;    &lt;/span&gt;(SID_DESC = (SID_NAME = PLSExtProc)(ORACLE_HOME = C:\Oracle\Ora901)(PROGRAM = extproc))&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;    &lt;/span&gt;(SID_DESC = (ORACLE_HOME = C:\Oracle\Ora901) (SID_NAME = TSH1)&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;    &lt;/span&gt;)&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;  &lt;/span&gt;)&lt;/pre&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;Reload the listener file      using &lt;code&gt;&lt;span style="font-size:10;"&gt;lsnrctl reload&lt;/span&gt;&lt;/code&gt;      from the command prompt.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Add the following entry into      the tnsnames.ora file:&lt;/li&gt;&lt;/ul&gt;  &lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;stby1=&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;  &lt;/span&gt;(DESCRIPTION =&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;    &lt;/span&gt;(ADDRESS_LIST =&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(ADDRESS = (PROTOCOL = TCP)(HOST = myServerName)(PORT = 1512))&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;    &lt;/span&gt;)&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;    &lt;/span&gt;(CONNECT_DATA =&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;      &lt;/span&gt;(SERVICE_NAME = stby1.world)&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;    &lt;/span&gt;)&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;  &lt;/span&gt;)&lt;/pre&gt;  &lt;p class="MsoNormal"&gt;Create standby redo logs on the standby database to receive online redo information from the Logwriter on the primary database. The minimum number of groups required is an exact match, number and size, of the primary database, but performance may be increased by adding more:&lt;/p&gt;  &lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;ALTER DATABASE ADD STANDBY LOGFILE GROUP 10&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;span style=""&gt;  &lt;/span&gt;('C:\Oracle\Oradata\TSH1\redo1a.log','C:\Oracle\Oradata\TSH1\redo1b.log') SIZE 500K;&lt;/pre&gt;  &lt;h2&gt;Start Managed Standby Recovery&lt;/h2&gt;  &lt;p class="MsoNormal"&gt;During managed recovery the transfer of archivelogs is controlled by the servers without user intervention.&lt;/p&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;Copy all archive logs from      the primary to the standby server. This is the only time you should need      to do this.&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;From sqlplus do the      following:&lt;/li&gt;&lt;/ul&gt;  &lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; CONNECT sys/password AS SYSDBA&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; STARTUP NOMOUNT PFILE=C:\Oracle\Admin\TSH1\pfile\init.ora&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; ALTER DATABASE &lt;st1:place st="on"&gt;&lt;st1:placetype st="on"&gt;MOUNT&lt;/st1:placetype&gt; &lt;st1:placename st="on"&gt;STANDBY&lt;/st1:placename&gt;&lt;/st1:place&gt; DATABASE;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;&lt;/pre&gt;  &lt;h2&gt;Protect Primary Database&lt;/h2&gt;  &lt;p class="MsoNormal"&gt;Now that Data Guard is configured and running the primary database can be prevented from applying updates unless the update has been sent to at least one standby location. Connect to the primary database and execute:&lt;/p&gt;  &lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;ALTER DATABASE SET STANDBY DATABASE PROTECTED;&lt;/pre&gt;  &lt;h2&gt;Cancel Managed Standby Recovery&lt;/h2&gt;  &lt;p class="MsoNormal"&gt;To stop managed standby recovery:&lt;/p&gt;  &lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; -- Cancel protected mode on primary&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; CONNECT sys/password@primary1 AS SYSDBA&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; ALTER DATABASE SET STANDBY DATABASE UNPROTECTED;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; &lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; -- Cancel recovery if necessary&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; CONNECT sys/password@standby1 AS SYSDBA&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; RECOVER MANAGED STANDBY DATABASE CANCEL;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; ALTER DATABASE OPEN READ ONLY;&lt;/pre&gt;  &lt;p class="MsoNormal"&gt;The database can subsequently be switched back to recovery mode as follows:&lt;/p&gt;  &lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; -- Startup managed recovery&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; CONNECT sys/password@standby1 AS SYSDBA&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; SHUTDOWN IMMEDIATE&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; STARTUP NOMOUNT PFILE=C:\Oracle\Admin\TSH1\pfile\init.ora&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; ALTER DATABASE &lt;st1:place st="on"&gt;&lt;st1:placetype st="on"&gt;MOUNT&lt;/st1:placetype&gt; &lt;st1:placename st="on"&gt;STANDBY&lt;/st1:placename&gt;&lt;/st1:place&gt; DATABASE;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; -- Protect primary database&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; CONNECT sys/password@primary1 AS SYSDBA&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; ALTER DATABASE SET STANDBY DATABASE PROTECTED;&lt;/pre&gt;  &lt;h2&gt;Activating A Standby Database&lt;/h2&gt;  &lt;p class="MsoNormal"&gt;If the primary database is not available the standby database can be activated as a primary database using the following statements:&lt;/p&gt;  &lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; -- Cancel recovery if necessary&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; RECOVER MANAGED STANDBY DATABASE CANCEL;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SQL&gt; ALTER DATABASE ACTIVATE STANDBY DATABASE;&lt;/pre&gt;  &lt;p class="MsoNormal"&gt;Since the standby database is now the primary database it should be backed up immediately. The previous primary database can then be configured as a standby.&lt;br /&gt;&lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/p&gt;  &lt;h2&gt;Backup Standby Database&lt;/h2&gt;  &lt;p class="MsoNormal"&gt;Backups of the standby database can only be performed if the database is shut down or in read only mode. Read only mode is best for managed recovery systems as archive logs will still be transfered during the backup process, thus preventing gap sequences. Once the server is in the desired mode simply copy the appropriate database files.&lt;br /&gt;&lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/p&gt;  &lt;h2&gt;Database Switchover&lt;/h2&gt;  &lt;p class="MsoNormal"&gt;A database can be in one of two mutually exclusive modes (primary or standby). These roles can be altered at runtime without loss of data or resetting of redo logs. This process is known as a Switchover and can be performed using the following statements:&lt;/p&gt;  &lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;-- Convert primary database to standby&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;CONNECT sys/change_on_install@prim1 AS SYSDBA&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;ALTER DATABASE COMMIT TO SWITCHOVER TO STANDBY;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;-- Shutdown primary database&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SHUTDOWN IMMEDIATE;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;-- Mount old primary database as standby database&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;STARTUP NOMOUNT PFILE=C:\Oracle\Admin\TSH1\pfile\init.ora&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;ALTER DATABASE &lt;st1:place st="on"&gt;&lt;st1:placetype st="on"&gt;MOUNT&lt;/st1:placetype&gt; &lt;st1:placename st="on"&gt;STANDBY&lt;/st1:placename&gt;&lt;/st1:place&gt; DATABASE;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;ALTER DATABASE RECOVER MANAGED STANDBY DATABASE;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;-- Convert standby database to primary&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;CONNECT sys/change_on_install@stby1 AS SYSDBA&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;-- Shutdown standby database&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;SHUTDOWN IMMEDIATE;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;-- Open old standby database as primary&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;STARTUP PFILE=C:\Oracle\Admin\TSH1\pfile\init.ora&lt;/pre&gt;  &lt;p class="MsoNormal"&gt;This process has no affect on alternative standby locations. The process of converting the instances back to their original roles is known as a Switchback. The switchback is accomplished by performing another switchover.&lt;br /&gt;&lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/p&gt;  &lt;h2&gt;Database Failover&lt;/h2&gt;  &lt;p class="MsoNormal"&gt;Graceful Database Failover occurs when database failover causes a standby database to be converted to a primary database:&lt;/p&gt;  &lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FINISH;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;ALTER DATABASE ACTIVATE STANDBY DATABASE;&lt;/pre&gt;  &lt;p class="MsoNormal"&gt;This process will recovery all or some of the application data using the standby redo logs, therefore avoiding reinstantiation of other standby databases. If completed successfully, only the primary database will need to be reinstatiated as a standby database.&lt;br /&gt;&lt;br /&gt;Forced Database Failover changes one standby database to a primary database. Application data may be lost neccessitating the reinstantiation of the primary and all standby databases.&lt;br /&gt;&lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/p&gt;  &lt;h2&gt;Automatic Archive Gap Detection&lt;/h2&gt;  &lt;p class="MsoNormal"&gt;Gaps in the sequence of archive logs can be created when changes are applied to the primary database while the standby database is unavailable. In Oracle8i the archive redo logs associated with these gaps had to be identified using the &lt;code&gt;&lt;span style="font-size:10;"&gt;V$ARCHIVE_GAP&lt;/span&gt;&lt;/code&gt; view and copied manually to the standby server before managed recovery could be initiated again. In Oracle9i most of these gap sequences can be resolved automatically. The following parameters must be added to the standby init.ora file where the values indicate net services names.&lt;/p&gt;  &lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;FAL_SERVER = 'primary_db1'&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;FAL_CLIENT = 'standby_db1'&lt;/pre&gt;  &lt;p class="MsoNormal"&gt;The FAL server is normally the primary database, but can be another standby database. Once the standby database is placed in managed recovery mode it will automatically check for gap sequences. If it finds any it will request the appropriate files from the primary database via the FAL server. If the gap sequences cannot be resolved the files have to be recovered manually.&lt;br /&gt;&lt;!--[if !supportLineBreakNewLine]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/p&gt;  &lt;h2&gt;Background Managed Recovery&lt;/h2&gt;  &lt;p class="MsoNormal"&gt;In Oracle8i managed recovery caused the user session to hang until the process was stopped by the user. This type of recovery is still available along with a background recovery that spawns a new background process and frees the user session:&lt;/p&gt;  &lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;-- User session hangs&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;ALTER DATABASE RECOVER MANAGED STANDBY DATABASE;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;-- User session released&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;&lt;/pre&gt;  &lt;h2&gt;Delayed Redo Application&lt;/h2&gt;  &lt;p class="MsoNormal"&gt;Application of the archived redo logs to the standby database can be delayed using the &lt;code&gt;&lt;span style="font-size:10;"&gt;DELAY&lt;/span&gt;&lt;/code&gt; keyword. If a rogue statement significantly damages the primary database the DBA can choose to switch to the standby database, which will be in a state prior to this action:&lt;/p&gt;  &lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;-- Delay application of archived redo logs by 30 minutes.&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DELAY 30;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;-- Return to no delay (Default).&lt;/pre&gt;&lt;pre style="margin: 0in 0.5in 0.0001pt;"&gt;ALTER DATABASE RECOVER MANAGED STANDBY DATABASE NODELAY;&lt;/pre&gt;  &lt;p class="MsoNormal"&gt;For further information see:&lt;/p&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;a href="http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96653/toc.htm"&gt;Oracle9i      Data Guard Concepts and Administration&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-3930160427690370016?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/3930160427690370016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=3930160427690370016' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/3930160427690370016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/3930160427690370016'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/05/setup-oracle-standby-database-data.html' title='Setup Oracle Standby Database ( Data Guard )'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-5294931000241031814</id><published>2008-05-27T12:32:00.000+08:00</published><updated>2008-05-27T12:33:36.458+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>CUPS printer commands</title><content type='html'>&lt;p&gt;More information can be found on the CUPS website: &lt;a href="http://www.cups.org/documentation.php"&gt;http://www.cups.org/documentation.php&lt;/a&gt;&lt;/p&gt;  &lt;h3&gt;Basic CUPS commands&lt;/h3&gt;  &lt;p class="MsoNormal"&gt;cancel &lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;Allows you to cancel all jobs, all jobs on a specific printer or individual jobs &lt;/p&gt;  &lt;p class="MsoNormal"&gt;lpq &lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;show printer queue status on specific printer, or all printers &lt;/p&gt;  &lt;p class="MsoNormal"&gt;lpq -P printername &lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;lists all queued jobs on target printer &lt;/p&gt;  &lt;p class="MsoNormal"&gt;accept &lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;accept jobs sent to a destination &lt;/p&gt;  &lt;p class="MsoNormal"&gt;reject &lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;reject jobs sent to a destination &lt;/p&gt;  &lt;p class="MsoNormal"&gt;lp &lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;show printer queue status on specific printer, or all printers &lt;/p&gt;  &lt;p class="MsoNormal"&gt;lpq -P printername &lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;lists all queued jobs on target printer &lt;/p&gt;  &lt;p class="MsoNormal"&gt;lp &lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;submits files for printing or alters a pending job &lt;/p&gt;  &lt;p class="MsoNormal"&gt;lpadmin &lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;configure cups printers and classes &lt;/p&gt;  &lt;p class="MsoNormal"&gt;lpadmin -x printername &lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;deletes target printer &lt;/p&gt;  &lt;p class="MsoNormal"&gt;lpinfo &lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;lists the available devices or drivers known to the CUPS server &lt;/p&gt;  &lt;p class="MsoNormal"&gt;lpmove &lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;moves the specified job or all jobs from source to destination &lt;/p&gt;  &lt;p class="MsoNormal"&gt;lpoptions &lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;display or set printer options and defaults &lt;/p&gt;  &lt;p class="MsoNormal"&gt;lprm &lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;cancels print jobs that have been queued for printing &lt;/p&gt;  &lt;p class="MsoNormal"&gt;lpstat &lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;displays status information about the current classes, jobs, and printers &lt;/p&gt;  &lt;p class="MsoNormal"&gt;lpstat -t &lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;Lists all printers and all status information &lt;/p&gt;  &lt;p class="MsoNormal"&gt;lpstat -a &lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;Lists all printers and accepting state &lt;/p&gt;  &lt;h3&gt;Printer hangs up on a job&lt;/h3&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;Turn off the printer &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;Ssh into the print server &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;lpq -P PrinterName &lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 1in;"&gt;This will list all jobs queued on the hung printer. In most cases, deleting all submitted jobs is safest&lt;/p&gt;  &lt;ol start="4" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;Cancel -a PrinterName &lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 1in;"&gt;Cancels all submitted jobs on target printer&lt;/p&gt;  &lt;ol start="5" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;Restart printer &lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 1in;"&gt;Check that jobs are printing&lt;/p&gt;  &lt;h3&gt;Clearing Boelter Lab print queues daily&lt;/h3&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;cancel -a `lpstat -t | grep      disabled | awk '{print $2}'` &lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 1in;"&gt;This will list all printers that are currently disabled, and cancel queued jobs on those printers&lt;/p&gt;  &lt;ol start="2" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;/usr/bin/enable `lpstat -t |      grep disabled | awk '{print $2}'` &lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 1in;"&gt;This will re-enable the stopped print queues&lt;/p&gt;  &lt;ol start="3" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;lpstat -t | grep disabled |      awk '{print $2}' &lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 1in;"&gt;This checks to see that all printers are re-enabled. Should return nothing.&lt;/p&gt;  &lt;h3&gt;Remove printers from client computer&lt;/h3&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;lpadmin -x `lpstat -a | awk      '{printf $1 " "}'` &lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal" style="margin-left: 1in;"&gt;Lists all printers on client, sorts the printer names into a string, then issues lpadmin -x (removal) command to each printer. Command only deletes a printer at a time right now.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-5294931000241031814?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/5294931000241031814/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=5294931000241031814' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/5294931000241031814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/5294931000241031814'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/05/cups-printer-commands.html' title='CUPS printer commands'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-8555739355832900028</id><published>2008-04-04T13:56:00.002+08:00</published><updated>2008-04-04T14:11:52.870+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='God is Good'/><title type='text'>Glory be to God</title><content type='html'>I was so amazed on how have God blessed me with so many things and that I was unaware that they do exists. I am really thankfull for the mercy,support,comfort and love that our Lord thy God gave me and to my family. I could not express the joy and happiness that I feel right now because the first operation of my new born daughter is a success. She will have another operation to be scheduled next month I know that through prayers coupled with faith nothing is impossible. I would like also to thank the people who fervently prayed for my daughters wellbeing and I will pray to God for your blessing and protection for you and  your family.&lt;br /&gt;&lt;br /&gt;My lovely daughter was diagnosed with cystic hygroma when she is still 5 months in the womb, even though the name of it is very exotic to my vocabulary I was not moved because the name of God is powerfull than any sickness that is in this world. I prayed and asked my friends,families and church members to pray for the health of my child and you know what when she was born the doctors and nurses said that she is a healthy baby even though her cystic hygroma on her neck is bigger than her head she is still healthy and I thank God for her faithfulness in me.&lt;br /&gt;&lt;br /&gt;After she was born the doctor ordered that she take a CT-SCAN test to know how far and how or what is the status of her cystic hygroma. After we have received the results I gave it to our pediatrician and he was alarmed of the result, he was alarmed not because of the cystic hyrgroma but ther is another problem that  they see in my daughter. She has what they call Diaphragmatic Hernia which is a more critical case than cystic hygroma because the cystic hygroma of my daughter is not blocking her trachea and did not reach her brain but the diaphragmatic hernia is making her hard to breathe so we need to admit her and schedule the operation. And again we prayed together with my friends and my family and indeed God is good becuase the operation is a success and she will be ready for her another operation on her cystic hygroma next month.&lt;br /&gt;&lt;br /&gt;To all who prayed and bless my daughter I thank you and I know God is a faithfull God that will give you blessings in return for your kindness. Thanks you and God bless&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-8555739355832900028?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/8555739355832900028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=8555739355832900028' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8555739355832900028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8555739355832900028'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/04/glory-be-to-god.html' title='Glory be to God'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-7092017793322228345</id><published>2008-03-18T15:57:00.001+08:00</published><updated>2008-03-18T16:51:26.187+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Oracle Database 11g</title><content type='html'>&lt;p class="bodycopy"&gt; Oracle Database 11&lt;em&gt;g&lt;/em&gt;, building on Oracle's unique ability to deliver Grid Computing, gives Oracle customers the agility to respond faster to changing business conditions, gain competitive advantage through technology innovation, and reduce costs.&lt;/p&gt;                 &lt;p class="bodycopy"&gt;With Oracle Database 11&lt;em&gt;g&lt;/em&gt; you can:                 &lt;/p&gt;&lt;ul&gt;&lt;li class="bodycopy"&gt;Adopt new technology faster with Real Application Testing&lt;/li&gt;&lt;li class="bodycopy"&gt;Manage more data for less with advanced compression and partitioning&lt;/li&gt;&lt;li class="bodycopy"&gt;Simplify systems by storing all your data in the Oracle Database with Oracle Secure Files&lt;/li&gt;&lt;li class="bodycopy"&gt;Maximize the ROI of disaster recovery resources with Oracle Active Data Guard&lt;/li&gt;&lt;li class="bodycopy"&gt;Free critical personnel for strategic tasks with management automation&lt;/li&gt;&lt;li class="bodycopy"&gt;And much, much more...&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-7092017793322228345?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/7092017793322228345/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=7092017793322228345' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/7092017793322228345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/7092017793322228345'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/03/oracle-database-11g.html' title='Oracle Database 11g'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-4732740678099716430</id><published>2008-02-08T09:06:00.001+08:00</published><updated>2008-02-08T09:06:47.288+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux : How to mount remote windows partition (windows share) under Linux</title><content type='html'>&lt;p&gt;All files accessible in a Linux (and UNIX) system are arranged in one big tree, the file hierarchy, rooted at /. These files can be spread out over several devices. The mount command serves to attach the file system found on some device to the big file tree.&lt;/p&gt; &lt;p&gt;Use the mount command to mount remote windows partition or windows share under Linux as follows:&lt;/p&gt; &lt;h2&gt;Procedure to mount remote windows partition (NAS share)&lt;/h2&gt; &lt;p&gt;1) Make sure you have following information:&lt;br /&gt;==&gt; Windows username and password to access share name&lt;br /&gt;==&gt; Sharename (such as //server/share) or IP address&lt;br /&gt;==&gt; root level access on Linux &lt;/p&gt; &lt;p&gt;2) Login to Linux as a root user (or use su command)&lt;/p&gt; &lt;p&gt;3) Create the required mount point:&lt;br /&gt;&lt;code&gt;# mkdir -p /mnt/ntserver&lt;/code&gt;&lt;br /&gt;4) Use the mount command as follows:&lt;br /&gt;&lt;code&gt;# mount -t cifs //ntserver/download -o username=vivek,password=myPassword /mnt/ntserver&lt;/code&gt;&lt;/p&gt; &lt;p&gt;Use following command if you are using Old version such as RHEL &lt;=4 or Debian &lt;= 3:&lt;br /&gt;&lt;code&gt;# mount -t smbfs -o username=vivek,password=D1W4x9sw //ntserver/download  /mnt/ntserver&lt;/code&gt;&lt;/p&gt; &lt;p&gt;5) Access Windows 2003/2000/NT share using cd and ls command:&lt;br /&gt;&lt;code&gt;# cd /mnt/ntserver; ls -l&lt;/code&gt;&lt;br /&gt;Where,&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;strong&gt;-t smbfs&lt;/strong&gt; : File system type to be mount (outdated, use cifs)&lt;/li&gt;&lt;li&gt;&lt;strong&gt;-t cifs&lt;/strong&gt; : File system type to be mount&lt;/li&gt;&lt;li&gt;&lt;strong&gt;-o&lt;/strong&gt; : are options passed to mount command, in this example I had passed two options. First argument is password (vivek) and second argument is password to connect remote windows box&lt;/li&gt;&lt;li&gt;&lt;strong&gt;//ntserver/download&lt;/strong&gt; : Windows 2000/NT share name&lt;/li&gt;&lt;li&gt;&lt;strong&gt;/mnt/ntserver&lt;/strong&gt; Linux mount point (to access share after mounting)&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-4732740678099716430?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/4732740678099716430/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=4732740678099716430' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4732740678099716430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4732740678099716430'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/02/linux-how-to-mount-remote-windows.html' title='Linux : How to mount remote windows partition (windows share) under Linux'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-2413577552746929364</id><published>2008-02-08T07:53:00.000+08:00</published><updated>2008-02-08T07:56:35.816+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Oracle : Oracle's In-Memory Undo</title><content type='html'>The Oracle database is extremely complex software. Part of the solution to performance optimization is Oracle Corporation itself optimizing the core database kernel code. One such optimization is the introduction of Oracle's patented In-memory undo (IMU). Essentially, instead of maintaining undo in Oracle segments, the undo is managed, as much as possible, in memory using structures optimized for in-memory operations. How Oracle does this is fascinating and foreshadows even greater things to come. But with any piece of code, there is always the possibility of a bottleneck, so this paper covers how to detect IMU performance issues and multiple ways to potentially solve the problem (in addition to just tuning it off).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://rs6.net/tn.jsp?e=001aP-0hFZV5961WJn8nOyFlYOg9DV8eQaHz_NqdLt_HdcArkVx7OXSZFjvyTiBnx8GcplHcMMIjC3MPI_-ILfDlejU0JHIrH2vbYVPVLNyTGSdJ0IbyubS7sELYDyLaHE1EUOy9IL7PECceZqbS76Mpg=="&gt;Click here to download the whitepaper&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-2413577552746929364?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/2413577552746929364/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=2413577552746929364' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2413577552746929364'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2413577552746929364'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/02/oracle-oracles-in-memory-undo.html' title='Oracle : Oracle&apos;s In-Memory Undo'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-4593943590662815580</id><published>2008-02-05T15:09:00.000+08:00</published><updated>2008-02-05T15:37:39.993+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Operating System'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Linux : Unbreakable Linux</title><content type='html'>I have been working as an Oracle Database Administrator for about 2 years now and one thing that really bugs me when installing a new Oracle Enterprise Database is that the configuration and the libraries that will be needed when you try to install one. I have experienced it that I have to scour the internet to find the program or the libraries needed to run this Oracle Enterprise Database in this certain Linux operating system. Thanks to Oracle they have released this Linux that is called&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://www.oracle.com/technology/tech/linux/index.html"&gt;&lt;span style="font-weight: bold;"&gt;UNBREAKABLE LINUX&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.oracle.com/technology/tech/linux/index.html"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 129px; height: 254px;" src="http://static7.userland.com/oracle/images/alisonHolloway/ullogo.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thanks to this Linux Distro (Oracle Enterprise Linux), I can easily setup a new Oracle Database without all the hassle of having to search for libraries that are not included in some Linux Distros. One thing I have notice is that almost all of the Oracle essentials are here in this Linux Distribution. The package installer for ASM, OCFS2 and some other libraries are here so you will not have a hard time in installing or downloading those stuffs. This OEL (Oracle Enterprise Linux) is like a tailored made operating system for Oracle products. It has all the programs and securities that an Oracle product would need.&lt;br /&gt;&lt;br /&gt;If you would like to have more info please visit the link below&lt;br /&gt;&lt;a href="http://www.oracle.com/technology/tech/linux/index.html"&gt;Ubreakable Linux&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-4593943590662815580?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/4593943590662815580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=4593943590662815580' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4593943590662815580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4593943590662815580'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/02/linux-unbreakable-linux.html' title='Linux : Unbreakable Linux'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-8084020267195109065</id><published>2008-02-05T11:11:00.000+08:00</published><updated>2008-02-05T11:19:10.043+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux : chown: Changes the owner of a file and/or the group the file is associated with</title><content type='html'>&lt;pre&gt;&lt;span class="docEmphasis"&gt;chown&lt;/span&gt; &lt;span class="docEmphBoldItalic"&gt;[options] owner file-list&lt;/span&gt;&lt;a name="art01index107"&gt;&lt;/a&gt;&lt;a name="art01index108"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="docEmphasis"&gt;chown&lt;/span&gt; &lt;span class="docEmphBoldItalic"&gt;[options] owner:group file-list&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="docEmphasis"&gt;chown&lt;/span&gt; &lt;span class="docEmphBoldItalic"&gt;[options] owner: file-list&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="docEmphasis"&gt;chown&lt;/span&gt; &lt;span class="docEmphBoldItalic"&gt;[options] :group file-list&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="docEmphasis"&gt;chown&lt;/span&gt; &lt;span class="docEmphBoldItalic"&gt;[options]&lt;/span&gt; &lt;span class="docEmphasis"&gt;––reference=&lt;/span&gt;&lt;span class="docEmphBoldItalic"&gt;rfile file-list&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The &lt;tt&gt;chown&lt;/tt&gt; utility changes the owner of a file and/or  the group the file is associated with. Only &lt;span class="docEmphStrong"&gt;root&lt;/span&gt; can change the owner of a file. Only &lt;span class="docEmphStrong"&gt;root&lt;/span&gt; or the owner of a file who belongs to the new  group can change the group a file is associated with.&lt;/p&gt;&lt;a name="art01lev3sec40"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Arguments&lt;/h5&gt; &lt;p class="docText"&gt;The &lt;span class="docEmphBoldItalic"&gt;owner&lt;/span&gt; is the username  or numeric user ID of the new owner. The &lt;span class="docEmphBoldItalic"&gt;file-list&lt;/span&gt; is a list of the pathnames of the files  whose ownership and/or group association you want to change. The &lt;span class="docEmphBoldItalic"&gt;group&lt;/span&gt; is the group name or numeric group ID of  the new group that the file is associated with. &lt;a class="docLink" href="#art01table29"&gt;Table V-9&lt;/a&gt; shows the ways you can specify the new &lt;span class="docEmphBoldItalic"&gt;owner&lt;/span&gt; and/or &lt;span class="docEmphBoldItalic"&gt;group&lt;/span&gt;.&lt;a name="art01index109"&gt;&lt;/a&gt;&lt;a name="art01index110"&gt;&lt;/a&gt;&lt;a name="art01index111"&gt;&lt;/a&gt;&lt;/p&gt;&lt;a name="art01table29"&gt;&lt;/a&gt; &lt;p&gt; &lt;table cellpadding="4" cellspacing="0" frame="hsides" rules="rows"&gt; &lt;caption&gt; &lt;h5 class="docTableTitle"&gt;Table V-9. Specifying the new owner and/or  group&lt;/h5&gt;&lt;/caption&gt; &lt;colgroup&gt; &lt;col width="88"&gt; &lt;col width="462"&gt;&lt;/colgroup&gt; &lt;thead&gt; &lt;tr&gt; &lt;th class="thead" scope="col" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;Argument&lt;/span&gt;&lt;/p&gt;&lt;/th&gt; &lt;th class="thead" scope="col" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;Meaning&lt;/span&gt;&lt;/p&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;owner&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;The new owner of &lt;span class="docEmphBoldItalic"&gt;file-list&lt;/span&gt;; the group is not changed&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;owner:group&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;The new owner and new group association of &lt;span class="docEmphBoldItalic"&gt;file-list&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;owner:&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;The new owner of &lt;span class="docEmphBoldItalic"&gt;file-list&lt;/span&gt;; the group association is changed to  that of the new owner's login group&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;:group&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;The new group associated with &lt;span class="docEmphBoldItalic"&gt;file-list&lt;/span&gt;; the owner is not  changed&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;a name="art01lev3sec41"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Options&lt;/h5&gt; &lt;p class="docText"&gt;Accepts the &lt;a class="docLink" href="art01lev1sec7.html#art01lev1sec7"&gt;common options&lt;/a&gt; described on page &lt;a class="docLink" href="art01lev1sec7.html#art01lev1sec7"&gt;587&lt;/a&gt;.&lt;/p&gt; &lt;p&gt; &lt;table cellpadding="5" cellspacing="0" frame="void" rules="none"&gt; &lt;colgroup&gt; &lt;col width="125"&gt; &lt;col width="43"&gt; &lt;col width="381"&gt;&lt;/colgroup&gt; &lt;thead&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––changes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–c&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Displays a message for each file whose ownership/group is  changed.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––dereference&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Changes the ownership/group of the files symbolic links point  to, not the symbolic links themselves. The default is &lt;span class="docEmphStrong"&gt;––no-dereference&lt;/span&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––quiet&lt;/span&gt; &lt;span class="docEmphasis"&gt;or&lt;/span&gt; &lt;span class="docEmphStrong"&gt;––silent&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–f&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Prevents &lt;tt&gt;chown&lt;/tt&gt; from displaying error messages when it  is unable to change the ownership/group of a  file.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;a name="art01lev5sec12"&gt;&lt;/a&gt; &lt;h5 class="docSection4Title"&gt;––no-dereference&lt;/h5&gt; &lt;p&gt; &lt;table cellpadding="5" cellspacing="0" frame="void" rules="none"&gt; &lt;colgroup&gt; &lt;col width="125"&gt; &lt;col width="43"&gt; &lt;col width="381"&gt;&lt;/colgroup&gt; &lt;thead&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–h&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Changes the ownership/group of symbolic links, not the files  that the links point to (default).&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––recursive&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–R&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;When you include directories in the &lt;span class="docEmphBoldItalic"&gt;file-list&lt;/span&gt;, this option descends the directory  hierarchy, setting the specified ownership/group for all files  encountered.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;a name="art01lev5sec13"&gt;&lt;/a&gt; &lt;h5 class="docSection4Title"&gt;––reference=&lt;span class="docEmphasis"&gt;rfile&lt;/span&gt;&lt;/h5&gt; &lt;p&gt; &lt;table cellpadding="5" cellspacing="0" frame="void" rules="none"&gt; &lt;colgroup&gt; &lt;col width="125"&gt; &lt;col width="43"&gt; &lt;col width="381"&gt;&lt;/colgroup&gt; &lt;thead&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Changes the ownership and group association of the files in the  &lt;span class="docEmphBoldItalic"&gt;file-list&lt;/span&gt; to that of &lt;span class="docEmphBoldItalic"&gt;rfile&lt;/span&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––verbose&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–v&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Displays for each file a message saying whether its  ownership/group was retained or changed.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;a name="art01lev3sec42"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Notes&lt;/h5&gt; &lt;p class="docText"&gt;The &lt;tt&gt;chown&lt;/tt&gt; utility clears setuid and setgid bits when  it changes the owner of a file.&lt;/p&gt;&lt;a name="art01lev3sec43"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Examples&lt;/h5&gt; &lt;p class="docText"&gt;The following command changes the owner of the &lt;span class="docEmphStrong"&gt;chapter1&lt;/span&gt; file in the &lt;span class="docEmphStrong"&gt;manuals&lt;/span&gt; directory. The new owner is Jenny:&lt;/p&gt;&lt;pre&gt;# &lt;span class="docEmphStrong"&gt;chown jenny manuals/chapter1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The following command makes Alex the owner of, and Alex's login  group the group associated with, all files in the &lt;span class="docEmphStrong"&gt;/home/alex/literature&lt;/span&gt; directory and in all its  subdirectories:&lt;/p&gt;&lt;pre&gt;# &lt;span class="docEmphStrong"&gt;chown --recursive alex: /home/alex/literature&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The next command changes the ownership of the files in &lt;span class="docEmphStrong"&gt;literature&lt;/span&gt; to &lt;span class="docEmphStrong"&gt;alex&lt;/span&gt;  and the group associated with these files to &lt;span class="docEmphStrong"&gt;pubs&lt;/span&gt;:&lt;/p&gt;&lt;pre&gt;# &lt;span class="docEmphStrong"&gt;chown alex:pubs /home/alex/literature/*&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The final example changes the group association of the files in  &lt;span class="docEmphStrong"&gt;manuals&lt;/span&gt; to &lt;span class="docEmphStrong"&gt;pubs&lt;/span&gt; without altering their ownership. The owner of  the files, who is executing this command, must belong to the &lt;span class="docEmphStrong"&gt;pubs&lt;/span&gt; group.&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;chown :pubs manuals/*&lt;/span&gt; &lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-8084020267195109065?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/8084020267195109065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=8084020267195109065' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8084020267195109065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8084020267195109065'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/02/linux-chown-changes-owner-of-file-andor.html' title='Linux : chown: Changes the owner of a file and/or the group the file is associated with'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-665944228115961164</id><published>2008-02-05T11:10:00.000+08:00</published><updated>2008-02-05T11:11:12.167+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux : chmod: Changes the access mode (permissions) of a file</title><content type='html'>&lt;pre&gt;&lt;span class="docEmphasis"&gt;chmod&lt;/span&gt; &lt;span class="docEmphasis"&gt;[&lt;/span&gt;&lt;span class="docEmphBoldItalic"&gt;options&lt;span class="docEmphasis"&gt;]&lt;/span&gt; who operator permission file-list&lt;/span&gt; &lt;span class="docEmphasis"&gt;(symbolic)&lt;/span&gt;&lt;a name="art01index101"&gt;&lt;/a&gt;&lt;a name="art01index102"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="docEmphasis"&gt;chmod&lt;/span&gt; &lt;span class="docEmphasis"&gt;[&lt;/span&gt;&lt;span class="docEmphBoldItalic"&gt;options&lt;span class="docEmphasis"&gt;]&lt;/span&gt; mode file-list&lt;/span&gt; &lt;span class="docEmphasis"&gt;(absolute)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="docEmphasis"&gt;chmod&lt;/span&gt; &lt;span class="docEmphasis"&gt;[&lt;/span&gt;&lt;span class="docEmphBoldItalic"&gt;options&lt;/span&gt;&lt;span class="docEmphasis"&gt;]&lt;/span&gt; &lt;span class="docEmphasis"&gt;––reference=&lt;/span&gt;&lt;span class="docEmphBoldItalic"&gt;rfile file-list&lt;/span&gt; &lt;span class="docEmphasis"&gt;(referential)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The &lt;tt&gt;chmod&lt;/tt&gt; utility changes the ways in which a file can  be accessed by the owner of the file, the group to which the file belongs,  and/or all other users. Only the owner of a file or Superuser can change the  access mode, or permissions, of a file. You can specify the new access mode  absolutely, symbolically, or referentially.&lt;a name="art01index103"&gt;&lt;/a&gt;&lt;/p&gt;&lt;a name="art01lev3sec36"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Arguments&lt;/h5&gt; &lt;p class="docText"&gt;Arguments specify which files are to have their modes changed  in what ways.&lt;/p&gt;&lt;a name="art01lev4sec1"&gt;&lt;/a&gt; &lt;h5 class="docSection4Title"&gt;Symbolic&lt;/h5&gt; &lt;p class="docText"&gt;You can specify multiple sets of symbolic modes (&lt;span class="docEmphBoldItalic"&gt;who operator permission&lt;/span&gt;) by separating each set  from the next with a comma.&lt;/p&gt; &lt;p class="docText"&gt;The &lt;tt&gt;chmod&lt;/tt&gt; utility changes the access permission for  the class of users specified by &lt;span class="docEmphBoldItalic"&gt;who&lt;/span&gt;. The  class of users is designated by one or more of the letters specified in the  &lt;span class="docEmphBoldItalic"&gt;who&lt;/span&gt; column of &lt;a class="docLink" href="#art01table22"&gt;Table V-4&lt;/a&gt;.&lt;/p&gt;&lt;a name="art01table22"&gt;&lt;/a&gt; &lt;p&gt; &lt;table cellpadding="4" cellspacing="0" frame="hsides" rules="rows"&gt; &lt;caption&gt; &lt;h5 class="docTableTitle"&gt;Table V-4. Symbolic mode user class  specification&lt;/h5&gt;&lt;/caption&gt; &lt;colgroup&gt; &lt;col width="44"&gt; &lt;col width="71"&gt; &lt;col width="434"&gt;&lt;/colgroup&gt; &lt;thead&gt; &lt;tr&gt; &lt;th class="thead" scope="col" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphBoldItalic"&gt;who&lt;/span&gt;&lt;/p&gt;&lt;/th&gt; &lt;th class="thead" scope="col" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;User class&lt;/span&gt;&lt;/p&gt;&lt;/th&gt; &lt;th class="thead" scope="col" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;Meaning&lt;/span&gt;&lt;/p&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;u&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;User&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Owner of the file&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;g&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Group&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Group to which the owner belongs&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;o&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Other&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;All other users&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;a&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;All&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Can be used in place of &lt;span class="docEmphStrong"&gt;ugo&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="docText"&gt;&lt;a class="docLink" href="#art01table23"&gt;Table V-5&lt;/a&gt; lists the  symbolic mode &lt;span class="docEmphBoldItalic"&gt;operator&lt;/span&gt;&lt;span class="docEmphasis"&gt;s.&lt;/span&gt;&lt;/p&gt;&lt;a name="art01table23"&gt;&lt;/a&gt; &lt;p&gt; &lt;table cellpadding="4" cellspacing="0" frame="hsides" rules="rows"&gt; &lt;caption&gt; &lt;h5 class="docTableTitle"&gt;Table V-5. Symbolic mode operators&lt;/h5&gt;&lt;/caption&gt; &lt;colgroup&gt; &lt;col width="66"&gt; &lt;col width="484"&gt;&lt;/colgroup&gt; &lt;thead&gt; &lt;tr&gt; &lt;th class="thead" scope="col" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphBoldItalic"&gt;operator&lt;/span&gt;&lt;/p&gt;&lt;/th&gt; &lt;th class="thead" scope="col" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;Meaning&lt;/span&gt;&lt;/p&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;+&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Adds permission for the specified user class&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Removes permission for the specified user class&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;=&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Sets permission for the specified user class—resets all other  permissions for that user class&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="docText"&gt;The access &lt;span class="docEmphBoldItalic"&gt;permission&lt;/span&gt; is  specified by one or more of the letters listed in &lt;a class="docLink" href="#art01table24"&gt;Table V-6&lt;/a&gt;.&lt;/p&gt;&lt;a name="art01table24"&gt;&lt;/a&gt; &lt;p&gt; &lt;table cellpadding="4" cellspacing="0" frame="hsides" rules="rows"&gt; &lt;caption&gt; &lt;h5 class="docTableTitle"&gt;Table V-6. Symbolic mode permissions&lt;/h5&gt;&lt;/caption&gt; &lt;colgroup&gt; &lt;col width="93"&gt; &lt;col width="456"&gt;&lt;/colgroup&gt; &lt;thead&gt; &lt;tr&gt; &lt;th class="thead" scope="col" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphBoldItalic"&gt;permission&lt;/span&gt;&lt;/p&gt;&lt;/th&gt; &lt;th class="thead" scope="col" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;Meaning&lt;/span&gt;&lt;/p&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;r&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Sets read permission&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;w&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Sets write permission&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;x&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Sets execute permission&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;s&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Sets user ID or group ID (depending on the &lt;span class="docEmphBoldItalic"&gt;who&lt;/span&gt; argument) to that of the owner of the file  while the file is being executed (For more information see page &lt;a class="docLink" href="ch04lev1sec4.html#ch04lev2sec15"&gt;94&lt;/a&gt;.)&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;t&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Sets the sticky bit (Only Superuser can set the sticky bit, and  it can be used only with &lt;span class="docEmphStrong"&gt;u&lt;/span&gt;; see page &lt;a class="docLink" href="gloss01.html#gloss01entry469"&gt;903&lt;/a&gt;.)&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;X&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Makes the file executable only if it is a directory or if  another user class has execute permission&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;u&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Sets specified permissions to those of the owner&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;g&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Sets specified permissions to those of the group&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;o&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Sets specified permissions to those of  others&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;a name="art01lev4sec2"&gt;&lt;/a&gt; &lt;h5 class="docSection4Title"&gt;Absolute&lt;/h5&gt; &lt;p class="docText"&gt;You can use an octal number to specify the access mode.  Construct the number by ORing the appropriate values from &lt;a class="docLink" href="#art01table25"&gt;Table V-7&lt;/a&gt;. To OR two octal numbers from this table,  just add them. (Refer to &lt;a class="docLink" href="#art01table26"&gt;Table V-8&lt;/a&gt; for  examples.)&lt;/p&gt;&lt;a name="art01table25"&gt;&lt;/a&gt; &lt;p&gt; &lt;table cellpadding="4" cellspacing="0" frame="hsides" rules="rows"&gt; &lt;caption&gt; &lt;h5 class="docTableTitle"&gt;Table V-7. Absolute mode specifications&lt;/h5&gt;&lt;/caption&gt; &lt;colgroup&gt; &lt;col width="104"&gt; &lt;col width="445"&gt;&lt;/colgroup&gt; &lt;thead&gt; &lt;tr&gt; &lt;th class="thead" scope="col" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphBoldItalic"&gt;mode&lt;/span&gt;&lt;/p&gt;&lt;/th&gt; &lt;th class="thead" scope="col" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;Meaning&lt;/span&gt;&lt;/p&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;4000&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Sets user ID when the program is executed (page &lt;a class="docLink" href="ch04lev1sec4.html#ch04lev2sec14"&gt;94&lt;/a&gt;)&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;2000&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Sets group ID when the program is executed (page &lt;a class="docLink" href="ch04lev1sec4.html#ch04lev2sec14"&gt;94&lt;/a&gt;)&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;1000&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Sticky bit (page &lt;a class="docLink" href="gloss01.html#gloss01entry469"&gt;903&lt;/a&gt;)&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;0400&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Owner can read the file&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;0200&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Owner can write to the file&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;0100&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Owner can execute the file&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;0040&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Group can read the file&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;0020&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Group can write to the file&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;0010&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Group can execute the file&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;0004&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Others can read the file&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;0002&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Others can write to the file&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;0001&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Others can execute the  file&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;a name="art01table26"&gt;&lt;/a&gt; &lt;p&gt; &lt;table cellpadding="4" cellspacing="0" frame="hsides" rules="rows"&gt; &lt;caption&gt; &lt;h5 class="docTableTitle"&gt;Table V-8. Examples of absolute mode  specifications&lt;/h5&gt;&lt;/caption&gt; &lt;colgroup&gt; &lt;col width="104"&gt; &lt;col width="445"&gt;&lt;/colgroup&gt; &lt;thead&gt; &lt;tr&gt; &lt;th class="thead" scope="col" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;Mode&lt;/span&gt;&lt;/p&gt;&lt;/th&gt; &lt;th class="thead" scope="col" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;Meaning&lt;/span&gt;&lt;/p&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;0777&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Owner, group, and others can read, write, and execute  file&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;0755&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Owner can read, write, and execute file; group and others can  read and execute file&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;0711&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Owner can read, write, and execute file; group and others can  execute file&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;0644&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Owner can read and write file; group and others can read  file&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;0640&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Owner can read and write file, group can read file, and others  cannot access file&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="docText"&gt;&lt;a class="docLink" href="#art01table26"&gt;Table V-8&lt;/a&gt; lists some  typical modes.&lt;/p&gt;&lt;a name="art01lev3sec37"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Options&lt;/h5&gt; &lt;p&gt; &lt;table cellpadding="5" cellspacing="0" frame="void" rules="none"&gt; &lt;colgroup&gt; &lt;col width="125"&gt; &lt;col width="43"&gt; &lt;col width="381"&gt;&lt;/colgroup&gt; &lt;thead&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––changes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–c&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Displays a message giving the new permissions for each file  whose mode is changed.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––quiet&lt;/span&gt; &lt;span class="docEmphasis"&gt;or&lt;/span&gt; &lt;span class="docEmphStrong"&gt;––silent&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–f&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Prevents the display of warning messages about files whose  permissions prevent &lt;tt&gt;chmod&lt;/tt&gt; from changing the permissions of the  file.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––recursive&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–R&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Recursively descends a directory specified in &lt;span class="docEmphBoldItalic"&gt;file-list&lt;/span&gt; and changes the permissions on all  files in the directory hierarchy.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;a name="art01lev5sec11"&gt;&lt;/a&gt; &lt;h5 class="docSection4Title"&gt;––reference=&lt;span class="docEmphasis"&gt;rfile&lt;/span&gt;&lt;/h5&gt; &lt;p&gt; &lt;table cellpadding="5" cellspacing="0" frame="void" rules="none"&gt; &lt;colgroup&gt; &lt;col width="125"&gt; &lt;col width="43"&gt; &lt;col width="381"&gt;&lt;/colgroup&gt; &lt;thead&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Changes the permissions of the files in &lt;span class="docEmphBoldItalic"&gt;file-list&lt;/span&gt; to that of &lt;span class="docEmphBoldItalic"&gt;rfile&lt;/span&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––verbose&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–v&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Displays for each file a message saying that its permissions  were changed (even if they were not changed) and specifying the permissions. Use  &lt;span class="docEmphStrong"&gt;––changes&lt;/span&gt; to display messages only when  permissions are actually changed.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;a name="art01lev3sec38"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Notes&lt;/h5&gt; &lt;p class="docText"&gt;When you are using symbolic arguments, you can omit the &lt;span class="docEmphBoldItalic"&gt;permission&lt;/span&gt; from the command line only when the  &lt;span class="docEmphBoldItalic"&gt;operator&lt;/span&gt; is &lt;span class="docEmphStrong"&gt;=&lt;/span&gt;. This omission takes away all permissions. See the  second example in the next section.&lt;/p&gt;&lt;a name="art01lev3sec39"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Examples&lt;/h5&gt; &lt;p class="docText"&gt;The following examples show how to use the &lt;tt&gt;chmod&lt;/tt&gt;  utility to change the permissions of the file named &lt;span class="docEmphStrong"&gt;temp&lt;/span&gt;. The initial access mode of &lt;span class="docEmphStrong"&gt;temp&lt;/span&gt; is shown by &lt;tt&gt;ls&lt;/tt&gt; (see "&lt;a class="docLink" href="#art01lev3sec53"&gt;Discussion&lt;/a&gt;" on page &lt;a class="docLink" href="#art01lev3sec53"&gt;710&lt;/a&gt; for information about the &lt;tt&gt;ls&lt;/tt&gt;  display):&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;ls -l temp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;-rw-rw-r-- 1 alex pubs 57 Jul 12 16:47 temp&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;When you do not follow an equal sign with a permission,  &lt;tt&gt;chmod&lt;/tt&gt; removes all permissions for the specified user class. The  following command removes all access permissions for the group and all other  users so that only the owner has access to the file:&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;chmod go= temp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$ &lt;span class="docEmphStrong"&gt;ls -l temp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;-rw------- 1 alex pubs 57 Jul 12 16:47 temp&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The next command changes the access modes for all users (owner,  group, and others) to read and write. Now anyone can read from or write to the  file.&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;chmod a=rw temp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$ &lt;span class="docEmphStrong"&gt;ls -l temp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;-rw-rw-rw- 1 alex pubs 57 Jul 12 16:47 temp&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;Using an absolute argument, &lt;span class="docEmphStrong"&gt;a=rw&lt;/span&gt; becomes &lt;span class="docEmphStrong"&gt;666&lt;/span&gt;.  The next command performs the same function as the previous one:&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;chmod 666 temp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The next command removes write access permission for other  users. As a result members of the &lt;span class="docEmphStrong"&gt;pubs&lt;/span&gt; group  can still read from and write to the file, but other users can only read from  the file:&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;chmod o-w temp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$ &lt;span class="docEmphStrong"&gt;ls -l temp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;-rw-rw-r-- 1 alex pubs 57 Jul 12 16:47 temp&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The following command yields the same result, using an absolute  argument:&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;chmod 664 temp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The next command adds execute access permission for all  users:&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;chmod a+x temp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$ &lt;span class="docEmphStrong"&gt;ls -l temp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;-rwxrwxr-x 1 alex pubs 57 Jul 12 16:47 temp&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;If &lt;span class="docEmphStrong"&gt;temp&lt;/span&gt; is a shell script or  other executable file, all users can now execute it. (You need read and execute  access to execute a shell script but only execute access to execute a binary  file.) The absolute command that yields the same result is&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;chmod 775 temp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The final command uses symbolic arguments to achieve the same  result as the preceding one. It sets permissions to read, write, and execute for  the owner, and to read and write for the group and other users. A comma  separates the sets of symbolic modes.&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;chmod u=rwx,go=rw temp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-665944228115961164?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/665944228115961164/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=665944228115961164' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/665944228115961164'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/665944228115961164'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/02/linux-chmod-changes-access-mode.html' title='Linux : chmod: Changes the access mode (permissions) of a file'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-4571205229449142368</id><published>2008-02-05T11:09:00.000+08:00</published><updated>2008-02-05T11:10:02.872+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux : chgrp: Changes the group associated with a file</title><content type='html'>&lt;pre&gt;&lt;span class="docEmphasis"&gt;chgrp&lt;/span&gt; &lt;span class="docEmphasis"&gt;[&lt;/span&gt;&lt;span class="docEmphBoldItalic"&gt;options&lt;span class="docEmphasis"&gt;]&lt;/span&gt; group file-list&lt;/span&gt;&lt;a name="art01index95"&gt;&lt;/a&gt;&lt;a name="art01index96"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="docEmphasis"&gt;chgrp&lt;/span&gt; &lt;span class="docEmphasis"&gt;[&lt;/span&gt;&lt;span class="docEmphBoldItalic"&gt;options&lt;span class="docEmphasis"&gt;]&lt;/span&gt;&lt;/span&gt; &lt;span class="docEmphasis"&gt;––reference=&lt;/span&gt;&lt;span class="docEmphBoldItalic"&gt;rfile file-list&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The &lt;tt&gt;chgrp&lt;/tt&gt; utility changes the group associated with  one or more files.&lt;a name="art01index97"&gt;&lt;/a&gt;&lt;/p&gt;&lt;a name="art01lev3sec32"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Arguments&lt;/h5&gt; &lt;p class="docText"&gt;The &lt;span class="docEmphBoldItalic"&gt;group&lt;/span&gt; is the name or  numeric group ID of the new group. The &lt;span class="docEmphBoldItalic"&gt;file-list&lt;/span&gt; is a list of the pathnames of the files  whose group association is to be changed. The &lt;span class="docEmphBoldItalic"&gt;rfile&lt;/span&gt; is the pathname of a file whose group is to  become the new group associated with &lt;span class="docEmphBoldItalic"&gt;file-list&lt;/span&gt;.&lt;a name="art01index98"&gt;&lt;/a&gt;&lt;/p&gt;&lt;a name="art01lev3sec33"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Options&lt;/h5&gt; &lt;p&gt; &lt;table cellpadding="5" cellspacing="0" frame="void" rules="none"&gt; &lt;colgroup&gt; &lt;col width="126"&gt; &lt;col width="44"&gt; &lt;col width="379"&gt;&lt;/colgroup&gt; &lt;thead&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––changes&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–c&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Displays a message for each file whose group is  changed.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––dereference&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Changes the group IDs of the files symbolic links point to, not  the symbolic links themselves. The default is &lt;span class="docEmphStrong"&gt;––no-dereference&lt;/span&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––quiet&lt;/span&gt; &lt;span class="docEmphasis"&gt;or&lt;/span&gt; &lt;span class="docEmphStrong"&gt;––silent&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–f&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Prevents the display of warning messages about files whose  permissions prevent you from changing their group  IDs.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;a name="art01lev5sec9"&gt;&lt;/a&gt; &lt;h5 class="docSection4Title"&gt;––no-dereference&lt;/h5&gt; &lt;p&gt; &lt;table cellpadding="5" cellspacing="0" frame="void" rules="none"&gt; &lt;colgroup&gt; &lt;col width="126"&gt; &lt;col width="44"&gt; &lt;col width="379"&gt;&lt;/colgroup&gt; &lt;thead&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–h&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Changes the group IDs of symbolic links, not the files that the  links point to (default).&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––recursive&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–R&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Recursively descends a directory specified in &lt;span class="docEmphBoldItalic"&gt;file-list&lt;/span&gt; and changes the group ID on all files  in the directory hierarchy.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;a name="art01lev5sec10"&gt;&lt;/a&gt; &lt;h5 class="docSection4Title"&gt;––reference=&lt;span class="docEmphasis"&gt;rfile&lt;/span&gt;&lt;/h5&gt; &lt;p&gt; &lt;table cellpadding="5" cellspacing="0" frame="void" rules="none"&gt; &lt;colgroup&gt; &lt;col width="126"&gt; &lt;col width="44"&gt; &lt;col width="379"&gt;&lt;/colgroup&gt; &lt;thead&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Changes the group of the files in &lt;span class="docEmphBoldItalic"&gt;file-list&lt;/span&gt; to that of &lt;span class="docEmphBoldItalic"&gt;rfile&lt;/span&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––verbose&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–v&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Displays for each file a message saying whether its group was  retained or changed.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;a name="art01lev3sec34"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Notes&lt;/h5&gt; &lt;p class="docText"&gt;Only the owner of a file or &lt;span class="docEmphStrong"&gt;root&lt;/span&gt; can change the group association of a file.  Also, unless you are &lt;span class="docEmphStrong"&gt;root&lt;/span&gt;, you must belong to  the specified &lt;span class="docEmphBoldItalic"&gt;group&lt;/span&gt; to change the group ID  of a file to that &lt;span class="docEmphBoldItalic"&gt;group&lt;/span&gt;.&lt;/p&gt; &lt;a name="art01lev3sec35"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Examples&lt;/h5&gt; &lt;p class="docText"&gt;The following command changes the group that the &lt;span class="docEmphStrong"&gt;manuals&lt;/span&gt; file is associated with; the new group is  &lt;span class="docEmphStrong"&gt;pubs&lt;/span&gt;.&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;chgrp pubs manuals&lt;/span&gt; &lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-4571205229449142368?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/4571205229449142368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=4571205229449142368' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4571205229449142368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4571205229449142368'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/02/linux-chgrp-changes-group-associated.html' title='Linux : chgrp: Changes the group associated with a file'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-3454857063178137698</id><published>2008-02-05T11:03:00.000+08:00</published><updated>2008-02-05T11:05:09.732+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux : cd: Changes to another working directory</title><content type='html'>&lt;pre&gt;&lt;span class="docEmphasis"&gt;cd&lt;/span&gt; &lt;span class="docEmphasis"&gt;[&lt;/span&gt;&lt;span class="docEmphBoldItalic"&gt;options&lt;span class="docEmphasis"&gt;]&lt;/span&gt; &lt;span class="docEmphasis"&gt;[&lt;/span&gt;directory&lt;span class="docEmphasis"&gt;]&lt;/span&gt;&lt;/span&gt;&lt;a name="art01index87"&gt;&lt;/a&gt;&lt;a name="art01index88"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The &lt;tt&gt;cd&lt;/tt&gt; builtin makes &lt;span class="docEmphBoldItalic"&gt;directory&lt;/span&gt; the working directory.&lt;/p&gt;&lt;a name="art01lev3sec29"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Arguments&lt;/h5&gt; &lt;p class="docText"&gt;The &lt;span class="docEmphBoldItalic"&gt;directory&lt;/span&gt; is the  pathname of the directory you want to be the new working directory. Without an  argument, &lt;tt&gt;cd&lt;/tt&gt; makes your home directory the working directory. Using a  hyphen in place of &lt;span class="docEmphBoldItalic"&gt;directory&lt;/span&gt; changes to the  previous working directory.&lt;/p&gt;&lt;a name="art01lev3sec30"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Notes&lt;/h5&gt; &lt;p class="docText"&gt;The &lt;tt&gt;cd&lt;/tt&gt; command is a &lt;tt&gt;bash&lt;/tt&gt; and &lt;tt&gt;tcsh&lt;/tt&gt;  builtin.&lt;/p&gt; &lt;p class="docText"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p class="docText"&gt;Without an argument, &lt;tt&gt;cd&lt;/tt&gt; makes your home directory the  working directory; it uses the value of the &lt;span class="docEmphStrong"&gt;HOME&lt;/span&gt; (&lt;tt&gt;bash&lt;/tt&gt;;) or &lt;span class="docEmphStrong"&gt;home&lt;/span&gt; (&lt;tt&gt;tcsh&lt;/tt&gt;) variable for this purpose.&lt;/p&gt; &lt;p class="docText"&gt;With an argument of a hyphen, &lt;tt&gt;cd&lt;/tt&gt; makes the previous  working directory the working directory. It uses the value of the &lt;span class="docEmphStrong"&gt;OLDPWD&lt;/span&gt; (&lt;tt&gt;bash&lt;/tt&gt;) or &lt;span class="docEmphStrong"&gt;owd&lt;/span&gt; (&lt;tt&gt;tcsh&lt;/tt&gt;) variable for this purpose.&lt;/p&gt; &lt;p class="docText"&gt;The &lt;span class="docEmphStrong"&gt;CDPATH&lt;/span&gt; (&lt;tt&gt;bash&lt;/tt&gt;;&lt;a class="docLink" href="ch08lev1sec3.html#ch08lev3sec30"&gt;&lt;/a&gt;) or &lt;span class="docEmphStrong"&gt;cdpath&lt;/span&gt; (&lt;tt&gt;tcsh&lt;/tt&gt;; ) variable contains a colon-separated  list of directories that &lt;tt&gt;cd&lt;/tt&gt; searches. Within the list a null directory  name (&lt;span class="docEmphStrong"&gt;::&lt;/span&gt;) or a period (&lt;span class="docEmphStrong"&gt;:.:&lt;/span&gt;) represents the working directory. If &lt;span class="docEmphStrong"&gt;CDPATH&lt;/span&gt; or &lt;span class="docEmphStrong"&gt;cdpath&lt;/span&gt; is  not set, &lt;tt&gt;cd&lt;/tt&gt; searches only the working directory for &lt;span class="docEmphBoldItalic"&gt;directory&lt;/span&gt;. If this variable is set and &lt;span class="docEmphBoldItalic"&gt;directory&lt;/span&gt; is not an absolute pathname (does not  begin with a slash), &lt;tt&gt;cd&lt;/tt&gt; searches the directories in the list; if the  search fails, &lt;tt&gt;cd&lt;/tt&gt; searches the working directory. &lt;a name="art01index89"&gt;&lt;/a&gt;&lt;a name="art01index90"&gt;&lt;/a&gt;&lt;a name="art01index91"&gt;&lt;/a&gt;&lt;a name="art01index92"&gt;&lt;/a&gt;&lt;/p&gt;&lt;a name="art01lev3sec31"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Examples&lt;/h5&gt; &lt;p class="docText"&gt;The following &lt;span class="docEmphStrong"&gt;cd&lt;/span&gt; command makes  Alex's home directory his working directory. The &lt;tt&gt;pwd&lt;/tt&gt; builtin verifies  the change:&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;pwd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;/home/alex/literature&lt;br /&gt;&lt;br /&gt;$ &lt;span class="docEmphStrong"&gt;cd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$ &lt;span class="docEmphStrong"&gt;pwd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;/home/alex&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The next command makes the &lt;span class="docEmphStrong"&gt;/home/alex/literature&lt;/span&gt; directory the working  directory:&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;cd /home/alex/literature&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$ &lt;span class="docEmphStrong"&gt;pwd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;/home/alex/literature&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;Next the &lt;tt&gt;cd&lt;/tt&gt; utility makes a subdirectory of the  working directory the new working directory:&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;cd memos&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$ &lt;span class="docEmphStrong"&gt;pwd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;/home/alex/literature/memos&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;Finally &lt;tt&gt;cd&lt;/tt&gt; uses the &lt;span class="docEmphStrong"&gt;.  .&lt;/span&gt; reference to the parent of the working directory to make the parent the  new working directory:&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;cd ..&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$ &lt;span class="docEmphStrong"&gt;pwd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;/home/alex/literature&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-3454857063178137698?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/3454857063178137698/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=3454857063178137698' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/3454857063178137698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/3454857063178137698'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/02/linux-cd-changes-to-another-working.html' title='Linux : cd: Changes to another working directory'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-8373692318041643139</id><published>2008-02-05T11:01:00.000+08:00</published><updated>2008-02-05T11:02:49.822+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux : cat: Joins and displays files</title><content type='html'>&lt;pre&gt;&lt;span class="docEmphasis"&gt;cat&lt;/span&gt; &lt;span class="docEmphasis"&gt;[&lt;/span&gt;&lt;span class="docEmphBoldItalic"&gt;options&lt;span class="docEmphasis"&gt;]&lt;/span&gt; &lt;span class="docEmphasis"&gt;[&lt;/span&gt;file-list&lt;span class="docEmphasis"&gt;]&lt;/span&gt;&lt;/span&gt;&lt;a name="art01index77"&gt;&lt;/a&gt;&lt;a name="art01index78"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The &lt;tt&gt;cat&lt;/tt&gt; utility copies files to standard output. You  can use &lt;tt&gt;cat&lt;/tt&gt; to display the contents of one or more text files on the  screen.&lt;/p&gt;&lt;a name="art01lev3sec25"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Arguments&lt;/h5&gt; &lt;p class="docText"&gt;The &lt;span class="docEmphBoldItalic"&gt;file-list&lt;/span&gt; is a list of  the pathnames of one or more files that &lt;tt&gt;cat&lt;/tt&gt; processes. If you do not  specify an argument or if you specify a hyphen (&lt;span class="docEmphStrong"&gt;–&lt;/span&gt;) in place of a filename, &lt;tt&gt;cat&lt;/tt&gt; reads from  standard input.&lt;/p&gt;&lt;a name="art01lev3sec26"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Options&lt;/h5&gt; &lt;p class="docText"&gt;Accepts the &lt;a class="docLink" href="art01lev1sec7.html#art01lev1sec7"&gt;common options&lt;/a&gt; described on page &lt;a class="docLink" href="art01lev1sec7.html#art01lev1sec7"&gt;587&lt;/a&gt;.&lt;/p&gt; &lt;p&gt; &lt;table cellpadding="5" cellspacing="0" frame="void" rules="none"&gt; &lt;colgroup&gt; &lt;col width="119"&gt; &lt;col width="38"&gt; &lt;col width="392"&gt;&lt;/colgroup&gt; &lt;thead&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––show-all&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–A&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Same as –&lt;span class="docEmphStrong"&gt;vET.&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;a name="art01lev5sec7"&gt;&lt;/a&gt; &lt;h5 class="docSection4Title"&gt;––number-nonblank&lt;/h5&gt; &lt;p&gt; &lt;table cellpadding="5" cellspacing="0" frame="void" rules="none"&gt; &lt;colgroup&gt; &lt;col width="119"&gt; &lt;col width="38"&gt; &lt;col width="392"&gt;&lt;/colgroup&gt; &lt;thead&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–b&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Numbers all lines that are not blank as they are written to  standard output.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–e&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphRoman"&gt;(&lt;/span&gt;&lt;span class="docEmphStrong"&gt;end&lt;/span&gt;&lt;span class="docEmphRoman"&gt;)&lt;/span&gt; Same as &lt;span class="docEmphStrong"&gt;–vE&lt;/span&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––show-ends&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–E&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Marks the ends of lines with dollar signs.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––number&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–n&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphRoman"&gt;(&lt;/span&gt;&lt;span class="docEmphStrong"&gt;number&lt;/span&gt;&lt;span class="docEmphRoman"&gt;)&lt;/span&gt; Numbers all  lines as they are written to standard output.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––squeeze-blank&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–s&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Removes extra blank lines so there are never two or more blank  lines in a row.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–t&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphRoman"&gt;(&lt;/span&gt;&lt;span class="docEmphStrong"&gt;tab&lt;/span&gt;&lt;span class="docEmphRoman"&gt;)&lt;/span&gt; Same as &lt;span class="docEmphStrong"&gt;–vT&lt;/span&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––show-tabs&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–T&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Marks each TAB with &lt;span class="docEmphStrong"&gt;^I&lt;/span&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;a name="art01lev5sec8"&gt;&lt;/a&gt; &lt;h5 class="docSection4Title"&gt;––show-nonprinting&lt;/h5&gt; &lt;p&gt; &lt;table cellpadding="5" cellspacing="0" frame="void" rules="none"&gt; &lt;colgroup&gt; &lt;col width="44"&gt; &lt;col width="506"&gt;&lt;/colgroup&gt; &lt;thead&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–v&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Displays CONTROL characters with the caret notation (&lt;span class="docEmphStrong"&gt;^M&lt;/span&gt;) and displays characters that have the high bit  set (META characters) with the &lt;span class="docEmphStrong"&gt;M-&lt;/span&gt; notation.  This option does not convert TABs and LINEFEEDs. Use &lt;span class="docEmphStrong"&gt;––show-tabs&lt;/span&gt; if you want to display TABs as &lt;span class="docEmphStrong"&gt;^I&lt;/span&gt;. LINEFEEDs cannot be displayed as anything but  themselves; otherwise, the line would be too  long.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;a name="art01lev3sec27"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Notes&lt;/h5&gt; &lt;p class="docText"&gt;See page &lt;a class="docLink" href="ch05lev1sec2.html#ch05lev5sec9"&gt;115&lt;/a&gt; for a discussion of &lt;a class="docLink" href="ch05lev1sec2.html#ch05lev5sec9"&gt;&lt;tt&gt;cat&lt;/tt&gt;&lt;/a&gt;, standard  input, and standard output.&lt;/p&gt; &lt;p class="docText"&gt;Use the &lt;a class="docLink" href="#art01lev2sec49"&gt;&lt;tt&gt;od&lt;/tt&gt;&lt;/a&gt;  utility (page &lt;a class="docLink" href="#art01lev2sec49"&gt;737&lt;/a&gt;) to display the  contents of a file that does not contain text (for example, an executable  program file).&lt;/p&gt; &lt;p class="docText"&gt;Use the &lt;tt&gt;tac&lt;/tt&gt; utility to display lines of a text file in  reverse order. See the &lt;tt&gt;tac info&lt;/tt&gt; page for more information.&lt;a name="art01index79"&gt;&lt;/a&gt;&lt;a name="art01index80"&gt;&lt;/a&gt;&lt;a name="art01index81"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p class="docText"&gt;The name &lt;tt&gt;cat&lt;/tt&gt; is derived from one of the functions of  this utility, &lt;span class="docEmphasis"&gt;catenate,&lt;/span&gt; which means to join  together sequentially, or end to end.&lt;a name="art01index82"&gt;&lt;/a&gt;&lt;/p&gt;&lt;a name="art01note03"&gt;&lt;/a&gt; &lt;div class="docNote"&gt; &lt;p class="docNoteTitle"&gt;caution: Set noclobber to avoid overwriting a file&lt;/p&gt; &lt;p class="docText"&gt;Despite &lt;tt&gt;cat&lt;/tt&gt;'s warning message, the shell destroys the  input file (&lt;span class="docEmphStrong"&gt;letter&lt;/span&gt;) before invoking  &lt;tt&gt;cat&lt;/tt&gt; in the following example:&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;cat memo letter &gt; letter&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;cat: letter: input file is output file&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;You can prevent overwriting a file in this situation by setting  the &lt;span class="docEmphStrong"&gt;&lt;a class="docLink" href="ch05lev1sec2.html#ch05lev3sec5"&gt;noclobber&lt;/a&gt;&lt;/span&gt; variable (pages &lt;a class="docLink" href="ch05lev1sec2.html#ch05lev3sec5"&gt;119&lt;/a&gt; and &lt;a class="docLink" href="ch09lev5sec1.html#ch09table12"&gt;367&lt;/a&gt;).&lt;a name="art01index83"&gt;&lt;/a&gt;&lt;a name="art01index84"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;br /&gt;&lt;a name="art01lev3sec28"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Examples&lt;/h5&gt; &lt;p class="docText"&gt;The following command displays the contents of the &lt;span class="docEmphStrong"&gt;memo&lt;/span&gt; text file on the terminal:&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;cat memo&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The next example catenates three text files and redirects the  output to the &lt;span class="docEmphStrong"&gt;all&lt;/span&gt; file:&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;cat page1 letter memo &gt; all&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;You can use &lt;tt&gt;cat&lt;/tt&gt; to create short text files without  using an editor. Enter the following command line, type (or paste) the text you  want in the file, and press CONTROL-D on a line by itself:&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;cat &gt; new_file&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;&lt;span class="docEmphasis"&gt;(text)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;&lt;span class="docEmphStrong"&gt;CONTROL-D&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;In this case &lt;tt&gt;cat&lt;/tt&gt; takes input from standard input (the  keyboard) and the shell redirects standard output (a copy of the input) to the  file you specify. The CONTROL-D signals the EOF (end of file) and causes  &lt;tt&gt;cat&lt;/tt&gt; to return control to the shell &lt;/p&gt; &lt;p class="docText"&gt;In the next example, a pipe sends the output from &lt;tt&gt;who&lt;/tt&gt;  to standard input of &lt;tt&gt;cat&lt;/tt&gt;. The shell redirects &lt;tt&gt;cat&lt;/tt&gt;'s output to  the file named &lt;span class="docEmphStrong"&gt;output&lt;/span&gt; that, after the commands  have finished executing, contains the contents of the &lt;span class="docEmphStrong"&gt;header&lt;/span&gt; file, the output of &lt;tt&gt;who&lt;/tt&gt;, and &lt;span class="docEmphStrong"&gt;footer&lt;/span&gt;. The hyphen on the command line causes  &lt;tt&gt;cat&lt;/tt&gt; to read standard input after reading &lt;span class="docEmphStrong"&gt;header&lt;/span&gt; and before reading &lt;span class="docEmphStrong"&gt;footer&lt;/span&gt;.&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;who | cat header - footer &gt; output&lt;/span&gt; &lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-8373692318041643139?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/8373692318041643139/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=8373692318041643139' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8373692318041643139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8373692318041643139'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/02/linux-cat-joins-and-displays-files.html' title='Linux : cat: Joins and displays files'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-8564216790043148316</id><published>2008-02-05T11:00:00.000+08:00</published><updated>2008-02-05T11:01:18.615+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux : Checks a file for spelling errors</title><content type='html'>&lt;pre&gt;&lt;span class="docEmphasis"&gt;aspell&lt;/span&gt; &lt;span class="docEmphBoldItalic"&gt;check&lt;/span&gt; &lt;span class="docEmphasis"&gt;[&lt;/span&gt;&lt;span class="docEmphBoldItalic"&gt;options&lt;/span&gt;&lt;span class="docEmphasis"&gt;]&lt;/span&gt;&lt;span class="docEmphBoldItalic"&gt;filename&lt;/span&gt;&lt;a name="art01index07"&gt;&lt;/a&gt;&lt;a name="art01index08"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="docEmphasis"&gt;aspell&lt;/span&gt; &lt;span class="docEmphBoldItalic"&gt;list&lt;/span&gt; &lt;span class="docEmphasis"&gt;[&lt;/span&gt;&lt;span class="docEmphBoldItalic"&gt;options&lt;/span&gt;&lt;span class="docEmphasis"&gt;]&lt;/span&gt; &lt;span class="docEmphasis"&gt;&lt;&lt;/span&gt; &lt;span class="docEmphBoldItalic"&gt;filename&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="docEmphasis"&gt;aspell&lt;/span&gt; &lt;span class="docEmphBoldItalic"&gt;config&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="docEmphasis"&gt;aspell&lt;/span&gt; &lt;span class="docEmphBoldItalic"&gt;help&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The &lt;tt&gt;aspell&lt;/tt&gt; utility checks the spelling of words in a  document against a standard dictionary. You can use &lt;tt&gt;aspell&lt;/tt&gt;  interactively: It displays each misspelled word in context, together with a menu  that gives you the choice of accepting the word as is, choosing one of  &lt;tt&gt;aspell&lt;/tt&gt;'s suggested replacements for the word, inserting the word into  your personal dictionary, or replacing the word with one you enter. You can also  use &lt;tt&gt;aspell&lt;/tt&gt; in batch mode so that it reads from standard input and  writes to standard output.&lt;a name="art01index09"&gt;&lt;/a&gt;&lt;a name="art01index10"&gt;&lt;/a&gt;&lt;a name="art01index11"&gt;&lt;/a&gt;&lt;/p&gt;&lt;a name="art01note01"&gt;&lt;/a&gt; &lt;div class="docNote"&gt; &lt;p class="docNoteTitle"&gt;tip: &lt;tt&gt;aspell&lt;/tt&gt; is not like other utilities regarding  its input&lt;/p&gt; &lt;p class="docText"&gt;Unlike many other utilities, &lt;tt&gt;aspell&lt;/tt&gt; does not accept  input from standard input when you do not specify a filename on the command  line. Instead, the &lt;span class="docEmphBoldItalic"&gt;action&lt;/span&gt; specifies where  &lt;tt&gt;aspell&lt;/tt&gt; gets its input.&lt;/p&gt;&lt;/div&gt;&lt;br /&gt;&lt;a name="art01lev3sec6"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Action&lt;/h5&gt; &lt;p class="docText"&gt;You must choose one and only one &lt;span class="docEmphBoldItalic"&gt;action&lt;/span&gt; when you run &lt;tt&gt;aspell&lt;/tt&gt;.&lt;/p&gt; &lt;p&gt; &lt;table cellpadding="5" cellspacing="0" frame="void" rules="none"&gt; &lt;colgroup&gt; &lt;col width="82"&gt; &lt;col width="82"&gt; &lt;col width="385"&gt;&lt;/colgroup&gt; &lt;thead&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;check&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–c&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Runs &lt;tt&gt;aspell&lt;/tt&gt; as an interactive spelling checker. Input  comes from a single file named on the command line. Refer to "&lt;a class="docLink" href="#art01lev3sec9"&gt;Discussion&lt;/a&gt;" on page &lt;a class="docLink" href="#art01lev3sec9"&gt;590&lt;/a&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;config&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Displays &lt;tt&gt;aspell&lt;/tt&gt;'s configuration, both default and  current values. Send the output through a pipe to &lt;tt&gt;less&lt;/tt&gt; for easier  viewing, or use &lt;tt&gt;grep&lt;/tt&gt; to find the option you are looking for (for  example, &lt;span class="docEmphStrong"&gt;aspell config | grep  backup&lt;/span&gt;).&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;help&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–?&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Displays an extensive page of help. Send the output through a  pipe to &lt;tt&gt;less&lt;/tt&gt; for easier viewing.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;list&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–l&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Runs &lt;tt&gt;aspell&lt;/tt&gt; in batch mode (noninteractively) with  input coming from standard input and output going to standard  output.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;a name="art01lev3sec7"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Arguments&lt;/h5&gt; &lt;p class="docText"&gt;The &lt;span class="docEmphBoldItalic"&gt;filename&lt;/span&gt; is the name  of the file you want to check. The &lt;tt&gt;aspell&lt;/tt&gt; utility accepts this argument  only when you use the &lt;span class="docEmphStrong"&gt;check&lt;/span&gt; (&lt;span class="docEmphStrong"&gt;–c&lt;/span&gt;) &lt;span class="docEmphBoldItalic"&gt;action&lt;/span&gt;. With  the &lt;span class="docEmphStrong"&gt;list&lt;/span&gt; (&lt;span class="docEmphStrong"&gt;–l&lt;/span&gt;)  &lt;span class="docEmphBoldItalic"&gt;action&lt;/span&gt;, input must come from standard  input.&lt;/p&gt;&lt;a name="art01lev3sec8"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Options&lt;/h5&gt; &lt;p class="docText"&gt;The &lt;tt&gt;aspell&lt;/tt&gt; utility has many options. A few of the more  commonly used ones are listed in this section; see the manual for a complete  list. Default values of many options are determined when &lt;tt&gt;aspell&lt;/tt&gt; is  compiled (see the &lt;span class="docEmphStrong"&gt;config&lt;/span&gt; &lt;span class="docEmphBoldItalic"&gt;action&lt;/span&gt;).&lt;/p&gt; &lt;p class="docText"&gt;You can specify options on the command line, in value of the  &lt;span class="docEmphStrong"&gt;ASPELL_CONF&lt;/span&gt; shell variable, or in your personal  configuration file (&lt;span class="docEmphStrong"&gt;~/.aspell.conf&lt;/span&gt;). Superuser  can create a global configuration file (&lt;span class="docEmphStrong"&gt;/etc/aspell.conf&lt;/span&gt;). Put one option per line in a  configuration file; separate options with a semicolon (;) in &lt;span class="docEmphStrong"&gt;ASPELL_CONF&lt;/span&gt;. Options on the command line override  those in &lt;span class="docEmphStrong"&gt;ASPELL_CONF&lt;/span&gt;, which override those in  your personal configuration file, which override those in the global  configuration file.&lt;a name="art01index12"&gt;&lt;/a&gt;&lt;a name="art01index13"&gt;&lt;/a&gt;&lt;a name="art01index14"&gt;&lt;/a&gt;&lt;a name="art01index15"&gt;&lt;/a&gt;&lt;a name="art01index16"&gt;&lt;/a&gt;&lt;a name="art01index17"&gt;&lt;/a&gt;&lt;a name="art01index18"&gt;&lt;/a&gt;&lt;a name="art01index19"&gt;&lt;/a&gt;&lt;a name="art01index20"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p class="docText"&gt;There are two types of options in the following list: Boolean  and value. The Boolean options turn a feature on (enable the feature) or off  (disable the feature). Precede a Boolean option with &lt;span class="docEmphStrong"&gt;dont&lt;/span&gt;– to turn it off. For example, &lt;span class="docEmphStrong"&gt;––ignore-case&lt;/span&gt; turns the &lt;span class="docEmphStrong"&gt;ignore-case&lt;/span&gt; feature on and &lt;span class="docEmphStrong"&gt;––dont-ignore-case&lt;/span&gt; turns it off.&lt;/p&gt; &lt;p class="docText"&gt;Value options assign a value to a feature. Follow the option  with an equal sign and a value—for example, &lt;span class="docEmphStrong"&gt;––ignore=4&lt;/span&gt;.&lt;/p&gt; &lt;p class="docText"&gt;For all options in a configuration file or in the &lt;span class="docEmphStrong"&gt;ASPELL_CONF&lt;/span&gt; variable, drop the leading hyphens (&lt;span class="docEmphStrong"&gt;ignore-case&lt;/span&gt; or &lt;span class="docEmphStrong"&gt;dont-ignore-case&lt;/span&gt;).&lt;/p&gt;&lt;a name="art01note02"&gt;&lt;/a&gt; &lt;div class="docNote"&gt; &lt;p class="docNoteTitle"&gt;caution: &lt;tt&gt;aspell&lt;/tt&gt; options and leading hyphens&lt;/p&gt; &lt;p class="docText"&gt;The way you specify options differs depending on whether you  are specifying them on the command line, using the &lt;span class="docEmphStrong"&gt;ASPELL_CONF&lt;/span&gt; shell variable, or in a configuration  file.&lt;/p&gt; &lt;p class="docText"&gt;On the command line prefix long options with two hyphens (for  example, &lt;span class="docEmphStrong"&gt;––ignore-case&lt;/span&gt; or &lt;span class="docEmphStrong"&gt;––dont-ignore-case&lt;/span&gt;). In &lt;span class="docEmphStrong"&gt;ASPELL_CONF&lt;/span&gt; and configuration files, drop the leading  hyphens (for example, &lt;span class="docEmphStrong"&gt;ignore-case&lt;/span&gt; or &lt;span class="docEmphStrong"&gt;dont-ignore-case&lt;/span&gt;).&lt;/p&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt; &lt;table cellpadding="5" cellspacing="0" frame="void" rules="none"&gt; &lt;colgroup&gt; &lt;col width="132"&gt; &lt;col width="418"&gt;&lt;/colgroup&gt; &lt;thead&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––dont-backup&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Does not create a backup file named &lt;span class="docEmphBoldItalic"&gt;filename&lt;/span&gt;&lt;span class="docEmphStrong"&gt;.bak&lt;/span&gt;  (default is &lt;span class="docEmphStrong"&gt;––backup&lt;/span&gt; when &lt;span class="docEmphBoldItalic"&gt;action&lt;/span&gt; is &lt;span class="docEmphStrong"&gt;check&lt;/span&gt;).&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––ignore=&lt;/span&gt;&lt;span class="docEmphBoldItalic"&gt;n&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Ignores words with &lt;span class="docEmphBoldItalic"&gt;n&lt;/span&gt; or  fewer characters (default is 1).&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––ignore-case&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Ignores the case of letters in words being checked (default is  &lt;span class="docEmphStrong"&gt;––dont-ignore-case&lt;/span&gt;).&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––lang=&lt;/span&gt;&lt;span class="docEmphBoldItalic"&gt;cc&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Specifies the two-letter language code (&lt;span class="docEmphBoldItalic"&gt;cc&lt;/span&gt;). The language code defaults to the value of  &lt;span class="docEmphStrong"&gt;LC_MESSAGES&lt;/span&gt; (page &lt;a class="docLink" href="ch08lev1sec3.html#ch08lev2sec11"&gt;291&lt;/a&gt;).&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––mode=&lt;/span&gt;&lt;span class="docEmphBoldItalic"&gt;mod&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Specifies a filter to use. Select &lt;span class="docEmphBoldItalic"&gt;mod&lt;/span&gt; from &lt;span class="docEmphStrong"&gt;url&lt;/span&gt;  (default), &lt;span class="docEmphStrong"&gt;none, sgml&lt;/span&gt;, and others. The modes  work as follows: &lt;span class="docEmphStrong"&gt;url&lt;/span&gt;: skips URLs, hostnames,  and email addresses; &lt;span class="docEmphStrong"&gt;none&lt;/span&gt;: turns off all  filters; &lt;span class="docEmphStrong"&gt;sgml&lt;/span&gt;: skips SGML, HTML, XHTML, and XML  commands.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––strip-accents&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Removes accent marks from all the words in the dictionary  before checking words (default is &lt;span class="docEmphStrong"&gt;––dont-strip-accents&lt;/span&gt;).&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;a name="art01lev3sec9"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Discussion&lt;/h5&gt; &lt;p class="docText"&gt;The &lt;tt&gt;aspell&lt;/tt&gt; utility has two basic modes of operation:  batch and interactive. You specify batch mode by using the &lt;span class="docEmphStrong"&gt;list&lt;/span&gt; or &lt;span class="docEmphStrong"&gt;–l&lt;/span&gt; &lt;span class="docEmphBoldItalic"&gt;action&lt;/span&gt;. In batch mode &lt;tt&gt;aspell&lt;/tt&gt; takes the  document you want to check for spelling errors as standard input and sends the  list of potentially misspelled words to standard output.&lt;/p&gt; &lt;p class="docText"&gt;You specify interactive mode by using the &lt;span class="docEmphStrong"&gt;check&lt;/span&gt; or &lt;span class="docEmphStrong"&gt;–c&lt;/span&gt; &lt;span class="docEmphBoldItalic"&gt;action&lt;/span&gt;. In interactive mode &lt;tt&gt;aspell&lt;/tt&gt;  displays a screen with the potentially misspelled word in context highlighted in  the middle and a menu of choices at the bottom. See "&lt;a class="docLink" href="#art01lev3sec11"&gt;Examples&lt;/a&gt;" for an illustation. The menu includes  various commands (&lt;a class="docLink" href="#art01table12"&gt;Table V-3&lt;/a&gt;) as well  as some suggestions of similar, correctly spelled words. You either enter one of  the numbers from the menu to select a suggested word to replace the word in  question or enter a letter to give a command.&lt;/p&gt;&lt;a name="art01table12"&gt;&lt;/a&gt; &lt;p&gt; &lt;table cellpadding="4" cellspacing="0" frame="hsides" rules="rows"&gt; &lt;caption&gt; &lt;h5 class="docTableTitle"&gt;Table V-3. Commands&lt;/h5&gt;&lt;/caption&gt; &lt;colgroup&gt; &lt;col width="137"&gt; &lt;col width="412"&gt;&lt;/colgroup&gt; &lt;thead&gt; &lt;tr&gt; &lt;th class="thead" scope="col" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;Command&lt;/span&gt;&lt;/p&gt;&lt;/th&gt; &lt;th class="thead" scope="col" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;Action&lt;/span&gt;&lt;/p&gt;&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;SPACE&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Takes no action and goes on to next the misspelled  word.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphBoldItalic"&gt;n&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Replaces the misspelled word with suggested word number &lt;span class="docEmphBoldItalic"&gt;n&lt;/span&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;a&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Adds the "misspelled" word to your personal  dictionary.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;b&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Aborts &lt;tt&gt;aspell&lt;/tt&gt;; does not save changes.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;i&lt;/span&gt; &lt;span class="docEmphasis"&gt;or&lt;/span&gt; &lt;span class="docEmphStrong"&gt;I&lt;/span&gt; (letter  "i")&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Ignores the misspelled word. &lt;span class="docEmphStrong"&gt;I&lt;/span&gt;  (uppercase "I") ignores all occurrences of this word; &lt;span class="docEmphStrong"&gt;i&lt;/span&gt; ignores this occurrence only and is the same as  SPACE.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;l&lt;/span&gt; (lowercase "l")&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Shifts the "misspelled" word to lowercase and adds it to your  personal dictionary.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;r&lt;/span&gt; &lt;span class="docEmphasis"&gt;or&lt;/span&gt; &lt;span class="docEmphStrong"&gt;R&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Replaces the misspelled word with the word that you enter at  the bottom of the screen. &lt;span class="docEmphStrong"&gt;R&lt;/span&gt; replaces all  occurrences of this word; &lt;span class="docEmphStrong"&gt;r&lt;/span&gt; replaces this  occurrence only.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;x&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Saves the file as corrected so far and exits from  &lt;tt&gt;aspell&lt;/tt&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;a name="art01lev3sec10"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Notes&lt;/h5&gt; &lt;p class="docText"&gt;For more information refer to the &lt;span class="docEmphStrong"&gt;/usr/share/doc/aspell&lt;/span&gt; directory with manuals in the  &lt;span class="docEmphStrong"&gt;man&lt;/span&gt;-&lt;span class="docEmphStrong"&gt;html&lt;/span&gt; and  &lt;span class="docEmphStrong"&gt;man-text&lt;/span&gt; subdirectories and to the  &lt;tt&gt;aspell&lt;/tt&gt; home page located at &lt;a class="docLink" href="http://aspell.sourceforge.net/" target="_blank"&gt;aspell.sourceforge.net&lt;/a&gt;.&lt;a name="art01index22"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p class="docText"&gt;The &lt;tt&gt;aspell&lt;/tt&gt; utility is not a foolproof way of finding  spelling errors. It also does not check for misused, properly spelled words  (such as &lt;span class="docEmphasis"&gt;red&lt;/span&gt; instead of &lt;span class="docEmphasis"&gt;read&lt;/span&gt;).&lt;/p&gt;&lt;a name="art01lev5sec2"&gt;&lt;/a&gt; &lt;h5 class="docSection4Title"&gt;Spelling from &lt;tt&gt;emacs&lt;/tt&gt;&lt;/h5&gt;&lt;a name="art01index23"&gt;&lt;/a&gt;&lt;a name="art01index24"&gt;&lt;/a&gt; &lt;p class="docText"&gt;You can make it easy to use &lt;tt&gt;aspell&lt;/tt&gt; from &lt;tt&gt;emacs&lt;/tt&gt;  by adding the following line to your &lt;span class="docEmphStrong"&gt;~/.emacs&lt;/span&gt;  file. This line causes &lt;tt&gt;emacs&lt;/tt&gt;' &lt;tt&gt;ispell&lt;/tt&gt; functions to call  &lt;tt&gt;aspell&lt;/tt&gt;:&lt;/p&gt;&lt;pre&gt;(setq-default ispell-program-name "aspell")&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;a name="art01lev5sec3"&gt;&lt;/a&gt; &lt;h5 class="docSection4Title"&gt;Spelling from &lt;tt&gt;vim&lt;/tt&gt;&lt;/h5&gt;&lt;a name="art01index25"&gt;&lt;/a&gt;&lt;a name="art01index26"&gt;&lt;/a&gt; &lt;p class="docText"&gt;Similarly, you can make it easy to use &lt;tt&gt;aspell&lt;/tt&gt; from  &lt;tt&gt;vim&lt;/tt&gt; by adding the following line to your &lt;span class="docEmphStrong"&gt;~/.vimrc&lt;/span&gt; file:&lt;/p&gt;&lt;pre&gt;map ^T :w!&lt;cr&gt;:!aspell check %&lt;cr&gt;:e! %&lt;cr&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;When you enter this line in &lt;span class="docEmphStrong"&gt;~/.vimrc&lt;/span&gt; using &lt;tt&gt;vim&lt;/tt&gt;, enter the &lt;span class="docEmphStrong"&gt;^T&lt;/span&gt; as CONTROL-V CONTROL-T (page &lt;a class="docLink" href="ch06lev1sec6.html#ch06lev2sec24"&gt;159&lt;/a&gt;). With this line in &lt;span class="docEmphStrong"&gt;~/.vimrc&lt;/span&gt;, CONTROL-T brings up &lt;tt&gt;aspell&lt;/tt&gt; to  spell check the file you are editing with &lt;tt&gt;vim&lt;/tt&gt;.&lt;/p&gt;&lt;a name="art01lev3sec11"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Examples&lt;/h5&gt; &lt;p class="docText"&gt;The following examples use &lt;tt&gt;aspell&lt;/tt&gt; to correct the  spelling in the &lt;span class="docEmphStrong"&gt;memo.txt&lt;/span&gt; file:&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;cat memo.txt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here's a document for teh aspell utilitey&lt;br /&gt;&lt;br /&gt;to check. It obviosly needs proofing&lt;br /&gt;&lt;br /&gt;quiet badly.&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The first example uses &lt;tt&gt;aspell&lt;/tt&gt; with the &lt;span class="docEmphStrong"&gt;check&lt;/span&gt; &lt;span class="docEmphBoldItalic"&gt;action&lt;/span&gt; and  no options. The appearance of the screen for the first misspelled word, &lt;span class="docEmphStrong"&gt;teh&lt;/span&gt;, is shown. At the bottom of the screen is the  menu of commands and suggested words. The numbered words each differ slightly  from the misspelled word:&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;aspell check memo.txt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here's a document for &lt;span class="docEmphStrong"&gt;teh&lt;/span&gt; aspell utilitey&lt;br /&gt;&lt;br /&gt;to check. It obviosly needs proofing&lt;br /&gt;&lt;br /&gt;quiet badly.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;============================================================&lt;br /&gt;&lt;br /&gt;1) the                                  6) th&lt;br /&gt;&lt;br /&gt;2) Te                                   7) tea&lt;br /&gt;&lt;br /&gt;3) tech                                 8) tee&lt;br /&gt;&lt;br /&gt;4) Th                                   9) Ted&lt;br /&gt;&lt;br /&gt;5) eh                                   0) tel&lt;br /&gt;&lt;br /&gt;i) Ignore                               I) Ignore all&lt;br /&gt;&lt;br /&gt;r) Replace                              R) Replace all&lt;br /&gt;&lt;br /&gt;a) Add                                  l) Add Lower&lt;br /&gt;&lt;br /&gt;b) Abort                                x) Exit&lt;br /&gt;&lt;br /&gt;============================================================&lt;br /&gt;&lt;br /&gt;?&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;Enter one of the menu choices in response to the preceding  display; &lt;tt&gt;aspell&lt;/tt&gt; will do your bidding and move the highlight to the next  misspelled word (unless you choose to abort or exit).&lt;/p&gt; &lt;p class="docText"&gt;The next example uses the &lt;span class="docEmphStrong"&gt;list&lt;/span&gt;  &lt;span class="docEmphBoldItalic"&gt;action&lt;/span&gt; to display a list of misspelled  words. The word &lt;span class="docEmphStrong"&gt;quiet&lt;/span&gt; is not in the list—it is  not properly used but is properly spelled.&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;aspell list &lt;&gt;&lt;br /&gt;&lt;br /&gt;teh&lt;br /&gt;&lt;br /&gt;aspell&lt;br /&gt;&lt;br /&gt;utilitey&lt;br /&gt;&lt;br /&gt;obviosly&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The last example also uses the uses the &lt;span class="docEmphStrong"&gt;list&lt;/span&gt; &lt;span class="docEmphBoldItalic"&gt;action&lt;/span&gt;. It  shows a quick way to check the spelling of a word or two with a single command.  The user gives the &lt;span class="docEmphStrong"&gt;aspell list&lt;/span&gt; command and then  enters &lt;span class="docEmphStrong"&gt;seperate temperature&lt;/span&gt; into  &lt;tt&gt;aspell&lt;/tt&gt;'s standard input (the keyboard). After the user enters RETURN  and CONTROL-D (to mark the end of file), &lt;tt&gt;aspell&lt;/tt&gt; writes the misspelled  word to standard output (the screen):&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;aspell list&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="docEmphStrong"&gt;seperate temperatureRETURN&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="docEmphStrong"&gt;CONTROL-D&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;seperate&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-8564216790043148316?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/8564216790043148316/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=8564216790043148316' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8564216790043148316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8564216790043148316'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/02/linux-checks-file-for-spelling-errors.html' title='Linux : Checks a file for spelling errors'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-5922333702512295546</id><published>2008-02-05T10:55:00.000+08:00</published><updated>2008-02-05T10:59:56.601+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux : Very brief description of what the utility does</title><content type='html'>&lt;pre&gt;&lt;span class="docEmphasis"&gt;sample [&lt;/span&gt;&lt;span class="docEmphBoldItalic"&gt;options&lt;/span&gt;&lt;span class="docEmphasis"&gt;]&lt;/span&gt; &lt;span class="docEmphBoldItalic"&gt;arguments&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;Following the syntax line is a description of the utility. The  syntax line shows how to run the utility from the command line. Options and  arguments enclosed in brackets ( &lt;span class="docEmphasis"&gt;[ ]&lt;/span&gt; ) are not  required. Type words that appear in &lt;span class="docEmphasis"&gt;this italic  typeface&lt;/span&gt; as is. Words that you must substitute when you type appear in  &lt;span class="docEmphBoldItalic"&gt;this bold italic typeface&lt;/span&gt;. Words listed as  arguments to a command identify single arguments (for example, &lt;span class="docEmphBoldItalic"&gt;source-file&lt;/span&gt;) or groups of similar arguments (for  example, &lt;span class="docEmphBoldItalic"&gt;directory&lt;/span&gt;-&lt;span class="docEmphBoldItalic"&gt;list&lt;/span&gt; ).&lt;/p&gt;&lt;a name="art01lev3sec1"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Arguments&lt;/h5&gt; &lt;p class="docText"&gt;This section describes the arguments that you can use when you  run the utility. The argument itself, as shown in the preceding syntax line, is  printed in &lt;span class="docEmphBoldItalic"&gt;this bold italic typeface&lt;/span&gt;.&lt;/p&gt;&lt;a name="art01lev3sec2"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Options&lt;/h5&gt; &lt;p class="docText"&gt;This section lists some of the options you can use with the  command. Unless otherwise specified, you must precede options with one or two  hyphens. Most commands accept a single hyphen before multiple &lt;a class="docLink" href="ch05lev1sec1.html#ch05lev4sec1"&gt;options&lt;/a&gt; (page &lt;a class="docLink" href="ch05lev1sec1.html#ch05lev4sec1"&gt;109&lt;/a&gt;). Options in this section are  ordered alphabetically by short (single-hyphen) options. If an option has only a  long version (two hyphens), it is ordered by its long option. Following are some  sample options:&lt;/p&gt; &lt;p&gt; &lt;table cellpadding="5" cellspacing="0" frame="void" rules="none"&gt; &lt;colgroup&gt; &lt;col width="157"&gt; &lt;col width="43"&gt; &lt;col width="348"&gt;&lt;/colgroup&gt; &lt;thead&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––make-dirs&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–d&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;This option has a long and a short version. You can use either  option; they are equivalent.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;a name="art01lev5sec1"&gt;&lt;/a&gt; &lt;h5 class="docSection4Title"&gt;––delimiter=&lt;span class="docEmphasis"&gt;dchar&lt;/span&gt;&lt;/h5&gt; &lt;p&gt; &lt;table cellpadding="5" cellspacing="0" frame="void" rules="none"&gt; &lt;colgroup&gt; &lt;col width="60"&gt; &lt;col width="489"&gt;&lt;/colgroup&gt; &lt;thead&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" colspan="2" align="left" valign="bottom"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–d&lt;/span&gt; &lt;span class="docEmphBoldItalic"&gt;dchar&lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;This option includes an argument. The argument is set in a  &lt;span class="docEmphBoldItalic"&gt;bold italic typeface&lt;/span&gt; in both the heading  and the description. You substitute another word (filename, string of  characters, or other value) for any arguments you see in &lt;span class="docEmphBoldItalic"&gt;this typeface&lt;/span&gt;. Type characters that are in &lt;span class="docEmphStrong"&gt;bold type&lt;/span&gt; (such as the &lt;span class="docEmphStrong"&gt;––delimiter&lt;/span&gt; and &lt;span class="docEmphStrong"&gt;–d&lt;/span&gt;)  as is, letter for letter.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–t&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphRoman"&gt;(&lt;/span&gt;&lt;span class="docEmphStrong"&gt;table of contents&lt;/span&gt;&lt;span class="docEmphRoman"&gt;)&lt;/span&gt;  This is an example of a simple option preceded by a single hyphen and not  followed with any arguments. It has no long version. The &lt;span class="docEmphStrong"&gt;table of contents&lt;/span&gt; appearing in parentheses at the  beginning of the description is a cue, suggestive of what the option letter  stands for.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;a name="art01lev3sec3"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Discussion&lt;/h5&gt; &lt;p class="docText"&gt;This optional section contains a discussion about how to use  the utility and any quirks it may have.&lt;/p&gt;&lt;a name="art01lev3sec4"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Notes&lt;/h5&gt; &lt;p class="docText"&gt;This section contains miscellaneous notes—some important and  others merely interesting.&lt;/p&gt;&lt;a name="art01lev3sec5"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Examples&lt;/h5&gt; &lt;p class="docText"&gt;This section contains examples of how to use the utility. This  section is tutorial and is more casual than the preceding sections of the  description.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-5922333702512295546?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/5922333702512295546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=5922333702512295546' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/5922333702512295546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/5922333702512295546'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/02/linux-very-brief-description-of-what.html' title='Linux : Very brief description of what the utility does'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-1496021795843441167</id><published>2008-02-05T10:54:00.000+08:00</published><updated>2008-02-05T10:55:25.333+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux : Displays Calendar</title><content type='html'>&lt;pre&gt;&lt;span class="docEmphasis"&gt;cal&lt;/span&gt; &lt;span class="docEmphasis"&gt;[&lt;/span&gt;&lt;span class="docEmphBoldItalic"&gt;options&lt;span class="docEmphasis"&gt;]&lt;/span&gt; &lt;span class="docEmphasis"&gt;[[&lt;/span&gt;month&lt;span class="docEmphasis"&gt;]&lt;/span&gt; year&lt;span class="docEmphasis"&gt;]&lt;/span&gt;&lt;/span&gt;&lt;a name="art01index72"&gt;&lt;/a&gt;&lt;a name="art01index73"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The &lt;tt&gt;cal&lt;/tt&gt; utility displays a calendar for a month or a  year.&lt;/p&gt;&lt;a name="art01lev3sec21"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Arguments&lt;/h5&gt; &lt;p class="docText"&gt;The arguments specify the month and year for which &lt;tt&gt;cal&lt;/tt&gt;  displays a calendar. The &lt;span class="docEmphBoldItalic"&gt;month&lt;/span&gt; is a decimal  integer from 1 to 12 and the &lt;span class="docEmphBoldItalic"&gt;year&lt;/span&gt; is a  decimal integer. Without any arguments, &lt;tt&gt;cal&lt;/tt&gt; displays a calendar for the  current month. When you specify a single argument, it is taken to be the  year.&lt;/p&gt;&lt;a name="art01lev3sec22"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Options&lt;/h5&gt; &lt;p&gt; &lt;table cellpadding="5" cellspacing="0" frame="void" rules="none"&gt; &lt;colgroup&gt; &lt;col width="77"&gt; &lt;col width="473"&gt;&lt;/colgroup&gt; &lt;thead&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–j&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphRoman"&gt;(&lt;/span&gt;&lt;span class="docEmphStrong"&gt;Julian&lt;/span&gt;&lt;span class="docEmphRoman"&gt;)&lt;/span&gt; Displays a  Julian calendar—a calendar that numbers the days consecutively from January 1  (1) through December 31 (365 or 366).&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–m&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphRoman"&gt;(&lt;/span&gt;&lt;span class="docEmphStrong"&gt;Monday&lt;/span&gt;&lt;span class="docEmphRoman"&gt;)&lt;/span&gt; Makes Monday  the first day of the week. Without this option, Sunday is the first day of the  week.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–y&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphRoman"&gt;(&lt;/span&gt;&lt;span class="docEmphStrong"&gt;year&lt;/span&gt;&lt;span class="docEmphRoman"&gt;)&lt;/span&gt; Displays a  calendar for the current year.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–3&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphRoman"&gt;(&lt;/span&gt;&lt;span class="docEmphStrong"&gt;three months&lt;/span&gt;&lt;span class="docEmphRoman"&gt;)&lt;/span&gt;  Displays the previous, current, and next  months.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;a name="art01lev3sec23"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Notes&lt;/h5&gt; &lt;p class="docText"&gt;Do not abbreviate the year. The year &lt;span class="docEmphStrong"&gt;05&lt;/span&gt; is not the same as &lt;span class="docEmphStrong"&gt;2005&lt;/span&gt;.&lt;/p&gt;&lt;a name="art01lev3sec24"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Examples&lt;/h5&gt; &lt;p class="docText"&gt;The following command displays a calendar for August 2007:&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;cal 8 2007&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    August 2007&lt;br /&gt;&lt;br /&gt;Su Mo Tu We Th Fr Sa&lt;br /&gt;&lt;br /&gt;         1  2  3  4&lt;br /&gt;&lt;br /&gt;5  6  7  8  9 10 11&lt;br /&gt;&lt;br /&gt;12 13 14 15 16 17 18&lt;br /&gt;&lt;br /&gt;19 20 21 22 23 24 25&lt;br /&gt;&lt;br /&gt;26 27 28 29 30 31&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;Next is a Julian calendar for 1949 with Monday as the first day  of the week:&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;cal -jm 1949&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;                          1949&lt;br /&gt;&lt;br /&gt;         January                       February&lt;br /&gt;&lt;br /&gt;Mon Tue Wed Thu Fri Sat Sun   Mon Tue Wed Thu Fri Sat Sun&lt;br /&gt;&lt;br /&gt;                     1   2        32  33  34  35  36  37&lt;br /&gt;&lt;br /&gt; 3   4   5   6   7   8   9    38  39  40  41  42  43  44&lt;br /&gt;&lt;br /&gt;10  11  12  13  14  15  16    45  46  47  48  49  50  51&lt;br /&gt;&lt;br /&gt;17  18  19  20  21  22  23    52  53  54  55  56  57  58&lt;br /&gt;&lt;br /&gt;24  25  26  27  28  29  30    59&lt;br /&gt;&lt;br /&gt;31 ...&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-1496021795843441167?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/1496021795843441167/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=1496021795843441167' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/1496021795843441167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/1496021795843441167'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/02/linux-displays-calendar.html' title='Linux : Displays Calendar'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-3130351748287610581</id><published>2008-02-05T10:41:00.000+08:00</published><updated>2008-02-05T10:42:24.410+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux : Compresses or decompresses files</title><content type='html'>&lt;pre&gt;&lt;span class="docEmphasis"&gt;bzip2&lt;/span&gt; &lt;span class="docEmphasis"&gt;[&lt;/span&gt;&lt;span class="docEmphBoldItalic"&gt;options&lt;span class="docEmphasis"&gt;]&lt;/span&gt; &lt;span class="docEmphasis"&gt;[&lt;/span&gt;file-list&lt;span class="docEmphasis"&gt;]&lt;/span&gt;&lt;/span&gt;&lt;a name="art01index57"&gt;&lt;/a&gt;&lt;a name="art01index58"&gt;&lt;/a&gt;&lt;a name="art01index59"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="docEmphasis"&gt;bunzip2&lt;/span&gt; &lt;span class="docEmphasis"&gt;[&lt;/span&gt;&lt;span class="docEmphBoldItalic"&gt;options&lt;span class="docEmphasis"&gt;]&lt;/span&gt; &lt;span class="docEmphasis"&gt;[&lt;/span&gt;file-list&lt;span class="docEmphasis"&gt;]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="docEmphasis"&gt;bzcat&lt;/span&gt; &lt;span class="docEmphasis"&gt;[&lt;/span&gt;&lt;span class="docEmphBoldItalic"&gt;options&lt;span class="docEmphasis"&gt;]&lt;/span&gt; &lt;span class="docEmphasis"&gt;[&lt;/span&gt;file-list&lt;span class="docEmphasis"&gt;]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="docEmphasis"&gt;bzip2recover&lt;/span&gt; &lt;span class="docEmphasis"&gt;[&lt;/span&gt;&lt;span class="docEmphBoldItalic"&gt;file&lt;span class="docEmphasis"&gt;]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The &lt;tt&gt;bzip2&lt;/tt&gt; utility compresses files; &lt;tt&gt;bunzip2&lt;/tt&gt;  restores files compressed with &lt;tt&gt;bzip2&lt;/tt&gt;; &lt;tt&gt;bzcat&lt;/tt&gt; displays files  compressed with &lt;tt&gt;bzip2&lt;/tt&gt;.&lt;/p&gt;&lt;a name="art01lev3sec16"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Arguments&lt;/h5&gt; &lt;p class="docText"&gt;The &lt;span class="docEmphBoldItalic"&gt;file-list&lt;/span&gt; is a list of  one or more files (no directories) that are to be compressed or decompressed. If  &lt;span class="docEmphBoldItalic"&gt;file-list&lt;/span&gt; is empty or if the special option  &lt;span class="docEmphStrong"&gt;–&lt;/span&gt; is present, &lt;tt&gt;bzip2&lt;/tt&gt; reads from  standard input. The &lt;span class="docEmphStrong"&gt;––stdout&lt;/span&gt; option causes  &lt;tt&gt;bzip2&lt;/tt&gt; to write to standard output.&lt;/p&gt;&lt;a name="art01lev3sec17"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Options&lt;/h5&gt; &lt;p class="docText"&gt;Accepts the &lt;a class="docLink" href="art01lev1sec7.html#art01lev1sec7"&gt;common options&lt;/a&gt; described on page &lt;a class="docLink" href="art01lev1sec7.html#art01lev1sec7"&gt;587&lt;/a&gt;.&lt;/p&gt; &lt;p&gt; &lt;table cellpadding="5" cellspacing="0" frame="void" rules="none"&gt; &lt;colgroup&gt; &lt;col width="104"&gt; &lt;col width="38"&gt; &lt;col width="407"&gt;&lt;/colgroup&gt; &lt;thead&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––stdout&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–c&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Writes the results of compression or decompression to standard  output.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––decompress&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–d&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Decompresses a file compressed with &lt;tt&gt;bzip2&lt;/tt&gt;. This option  with &lt;tt&gt;bzip2&lt;/tt&gt; is equivalent to the &lt;tt&gt;bunzip2&lt;/tt&gt; command.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––fast&lt;/span&gt; &lt;span class="docEmphasis"&gt;or&lt;/span&gt; &lt;span class="docEmphStrong"&gt;––best&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–&lt;/span&gt;&lt;span class="docEmphBoldItalic"&gt;n&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Sets the block size when compressing a file. The &lt;span class="docEmphBoldItalic"&gt;n&lt;/span&gt; is a digit from 1 to 9, where 1 (&lt;span class="docEmphStrong"&gt;––fast&lt;/span&gt;) generates a block size of 100 kilobytes and 9  (&lt;span class="docEmphStrong"&gt;––best&lt;/span&gt;) generates a block size of 900  kilobytes. The default level is 9. The options &lt;span class="docEmphStrong"&gt;––fast&lt;/span&gt; and &lt;span class="docEmphStrong"&gt;––best&lt;/span&gt;  are provided for compatibility with &lt;tt&gt;gzip&lt;/tt&gt; and do not necessarily yield  the fastest or best compression.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––force&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–f&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Forces compression even if a file already exists, has multiple  links, or comes directly from a terminal. The option has a similar effect with  &lt;tt&gt;bunzip2&lt;/tt&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––keep&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–k&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Does not delete input files while compressing or decompressing  them.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––quiet&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–q&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Suppresses warning messages; does display critical  messages.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––test&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–t&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;Verifies the integrity of a compressed file. Displays nothing  if the file is OK.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;––verbose&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–v&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;For each file being compressed displays the name of the file,  the compression ratio, the percentage of space saved, and the sizes of the  decompressed and compressed files.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;a name="art01lev3sec18"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Discussion&lt;/h5&gt; &lt;p class="docText"&gt;The &lt;tt&gt;bzip2&lt;/tt&gt; and &lt;tt&gt;bunzip2&lt;/tt&gt; utilities work  similarly to &lt;tt&gt;gzip&lt;/tt&gt; and &lt;tt&gt;gunzip&lt;/tt&gt;; see the discussion of &lt;a class="docLink" href="#art01lev2sec33"&gt;&lt;tt&gt;gzip&lt;/tt&gt;&lt;/a&gt; (page &lt;a class="docLink" href="#art01lev2sec33"&gt;689&lt;/a&gt;) for more information. Normally &lt;tt&gt;bzip2&lt;/tt&gt;  does not overwrite a file; you must use &lt;span class="docEmphStrong"&gt;––force&lt;/span&gt;  to overwrite a file during compression or decompression.&lt;/p&gt;&lt;a name="art01lev3sec19"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Notes&lt;/h5&gt; &lt;p class="docText"&gt;The &lt;tt&gt;bzip2&lt;/tt&gt; home page is &lt;a class="docLink" href="http://sources.redhat.com/bzip2" target="_blank"&gt;sources.redhat.com/bzip2&lt;/a&gt;.&lt;a name="art01index60"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p class="docText"&gt;The &lt;tt&gt;bzip2&lt;/tt&gt; utility does a better job of compressing  files than &lt;tt&gt;gzip&lt;/tt&gt;.&lt;/p&gt; &lt;p class="docText"&gt;Use the &lt;span class="docEmphStrong"&gt;––bzip2&lt;/span&gt; modifier with  &lt;a class="docLink" href="#art01lev2sec66"&gt;&lt;tt&gt;tar&lt;/tt&gt;&lt;/a&gt; (page &lt;a class="docLink" href="#art01lev2sec66"&gt;788&lt;/a&gt;) to compress archive files with  &lt;tt&gt;bzip2&lt;/tt&gt;.&lt;/p&gt;&lt;a name="art01lev5sec5"&gt;&lt;/a&gt; &lt;h5 class="docSection4Title"&gt;bzcat &lt;span class="docEmphasis"&gt;file-list&lt;/span&gt;&lt;/h5&gt;&lt;a name="art01index61"&gt;&lt;/a&gt;&lt;a name="art01index62"&gt;&lt;/a&gt;&lt;a name="art01index63"&gt;&lt;/a&gt; &lt;p class="docText"&gt;Works like &lt;tt&gt;cat&lt;/tt&gt; except that it uses &lt;tt&gt;bunzip2&lt;/tt&gt; to  decompress &lt;span class="docEmphBoldItalic"&gt;file-list&lt;/span&gt; as it copies files to  standard output.&lt;/p&gt;&lt;a name="art01lev5sec6"&gt;&lt;/a&gt; &lt;h5 class="docSection4Title"&gt;bzip2recover&lt;/h5&gt;&lt;a name="art01index64"&gt;&lt;/a&gt;&lt;a name="art01index65"&gt;&lt;/a&gt;&lt;a name="art01index66"&gt;&lt;/a&gt; &lt;p class="docText"&gt;Attempts to recover a damaged file that was compressed with  &lt;tt&gt;bzip2&lt;/tt&gt;.&lt;/p&gt;&lt;a name="art01lev3sec20"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Examples&lt;/h5&gt; &lt;p class="docText"&gt;In the following example, &lt;tt&gt;bzip2&lt;/tt&gt; compresses a file and  gives the resulting file the same name with a .&lt;span class="docEmphStrong"&gt;bz2&lt;/span&gt; filename extension. The &lt;span class="docEmphStrong"&gt;–v&lt;/span&gt; option displays statistics about the  compression.&lt;a name="art01index67"&gt;&lt;/a&gt;&lt;a name="art01index68"&gt;&lt;/a&gt;&lt;a name="art01index69"&gt;&lt;/a&gt;&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;ls -l&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;total 728&lt;br /&gt;&lt;br /&gt;-rw-r--r--  1 sam sam 737414 Feb 20 19:05 bigfile&lt;br /&gt;&lt;br /&gt;$ &lt;span class="docEmphStrong"&gt;bzip2 -v bigfile&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; bigfile: 3.926:1, 2.037 bits/byte, 74.53% saved, 737414 in, 187806 out&lt;br /&gt;&lt;br /&gt;$ &lt;span class="docEmphStrong"&gt;ls -l&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;total 188&lt;br /&gt;&lt;br /&gt;-rw-r--r--  1 sam sam 187806 Feb 20 19:05 bigfile.bz2&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;Next &lt;tt&gt;touch&lt;/tt&gt; creates a file with the same name as the  original file; &lt;tt&gt;bunzip2&lt;/tt&gt; refuses to overwrite the file in the process of  decompressing &lt;span class="docEmphStrong"&gt;bigfile.bz2&lt;/span&gt;. The &lt;span class="docEmphStrong"&gt;––force&lt;/span&gt; option enables &lt;tt&gt;bunzip2&lt;/tt&gt; to overwrite  the file.&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;touch bigfile&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$ &lt;span class="docEmphStrong"&gt;bunzip2 bigfile.bz2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;bunzip2: Output file bigfile already exists.&lt;br /&gt;&lt;br /&gt;$ &lt;span class="docEmphStrong"&gt;bunzip2 --force bigfile.bz2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$ ls -l&lt;br /&gt;&lt;br /&gt;total 728&lt;br /&gt;&lt;br /&gt;-rw-r--r--  1 sam sam 737414 Feb 20 19:05 bigfile&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-3130351748287610581?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/3130351748287610581/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=3130351748287610581' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/3130351748287610581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/3130351748287610581'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/02/linux-compresses-or-decompresses-files.html' title='Linux : Compresses or decompresses files'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-2585347928589672566</id><published>2008-02-05T10:26:00.000+08:00</published><updated>2008-02-05T10:37:51.459+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux : Executes commands at a specified time</title><content type='html'>&lt;pre&gt;&lt;span class="docEmphasis"&gt;at&lt;/span&gt; &lt;span class="docEmphBoldItalic"&gt;[options] time [date | +increment]&lt;/span&gt;&lt;a name="art01index29"&gt;&lt;/a&gt;&lt;a name="art01index30"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="docEmphasis"&gt;atq&lt;/span&gt;&lt;a name="art01index31"&gt;&lt;/a&gt;&lt;a name="art01index32"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="docEmphasis"&gt;atrm&lt;/span&gt; &lt;span class="docEmphBoldItalic"&gt;job-list&lt;/span&gt;&lt;a name="art01index33"&gt;&lt;/a&gt;&lt;a name="art01index34"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="docEmphasis"&gt;batch&lt;/span&gt; &lt;span class="docEmphBoldItalic"&gt;[options] [time]&lt;/span&gt;&lt;a name="art01index35"&gt;&lt;/a&gt;&lt;a name="art01index36"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The &lt;tt&gt;at&lt;/tt&gt; and &lt;tt&gt;batch&lt;/tt&gt; utilities execute commands  at a specified time. They accept commands from standard input or, with the &lt;span class="docEmphStrong"&gt;–f&lt;/span&gt; option, from a file. Commands are executed in the  same environment as the &lt;tt&gt;at&lt;/tt&gt; or &lt;tt&gt;batch&lt;/tt&gt; command. Unless  redirected, standard output and standard error from commands are emailed to the  user who ran &lt;tt&gt;at&lt;/tt&gt; or &lt;tt&gt;batch&lt;/tt&gt;. A &lt;span class="docEmphasis"&gt;job&lt;/span&gt;  is the group of commands that is executed by one call to &lt;tt&gt;at&lt;/tt&gt;. The  &lt;tt&gt;batch&lt;/tt&gt; utility differs from &lt;tt&gt;at&lt;/tt&gt; in that it schedules jobs so  that they run when the CPU load on the system is low.&lt;/p&gt; &lt;p class="docText"&gt;The &lt;tt&gt;atq&lt;/tt&gt; utility displays a list of &lt;tt&gt;at&lt;/tt&gt; jobs  you have queued; &lt;tt&gt;atrm&lt;/tt&gt; cancels pending &lt;tt&gt;at&lt;/tt&gt; jobs.&lt;/p&gt;&lt;a name="art01lev3sec12"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Arguments&lt;/h5&gt; &lt;p class="docText"&gt;The &lt;span class="docEmphBoldItalic"&gt;time&lt;/span&gt; is the time of  day that &lt;tt&gt;at&lt;/tt&gt; runs the job. You can specify the &lt;span class="docEmphBoldItalic"&gt;time&lt;/span&gt; as a one-, two-, or four-digit number. One-  and two-digit numbers specify an hour, and four-digit numbers specify an hour  and minute. You can also give the time in the form &lt;span class="docEmphStrong"&gt;hh:mm&lt;/span&gt;. The &lt;tt&gt;at&lt;/tt&gt; utility assumes a 24-hour  clock unless you place &lt;span class="docEmphStrong"&gt;am&lt;/span&gt; or &lt;span class="docEmphStrong"&gt;pm&lt;/span&gt; immediately after the number, in which case it  uses a 12-hour clock. You can also specify &lt;span class="docEmphBoldItalic"&gt;time&lt;/span&gt; as &lt;span class="docEmphStrong"&gt;now, midnight,  noon&lt;/span&gt;, or &lt;span class="docEmphStrong"&gt;teatime&lt;/span&gt; (4:00 PM).&lt;/p&gt; &lt;p class="docText"&gt;The &lt;span class="docEmphBoldItalic"&gt;date&lt;/span&gt; is the day of the  week or day of the month on which you want &lt;tt&gt;at&lt;/tt&gt; to execute the job. When  you do not specify a day, &lt;tt&gt;at&lt;/tt&gt; executes the job today if the hour you  specify in &lt;span class="docEmphBoldItalic"&gt;time&lt;/span&gt; is greater than the current  hour. If the hour is less than the current hour, &lt;tt&gt;at&lt;/tt&gt; executes the job  tomorrow.&lt;/p&gt; &lt;p class="docText"&gt;You specify a day of the week by spelling it out or  abbreviating it to three letters. You can also use the words &lt;span class="docEmphStrong"&gt;today&lt;/span&gt; and &lt;span class="docEmphStrong"&gt;tomorrow&lt;/span&gt;.  Use the name of a month followed by the number of the day in the month to  specify a date. You can follow the month and day number with a year.&lt;/p&gt; &lt;p class="docText"&gt;The &lt;span class="docEmphBoldItalic"&gt;increment&lt;/span&gt; is a number  followed by one of the following (plural or singular is allowed): &lt;span class="docEmphStrong"&gt;minutes, hours, days&lt;/span&gt;, or &lt;span class="docEmphStrong"&gt;weeks&lt;/span&gt;. The &lt;tt&gt;at&lt;/tt&gt; utility adds the &lt;span class="docEmphBoldItalic"&gt;increment&lt;/span&gt; to &lt;span class="docEmphBoldItalic"&gt;time&lt;/span&gt;. You cannot specify an increment for a  date.&lt;/p&gt; &lt;p class="docText"&gt;When using &lt;tt&gt;atrm&lt;/tt&gt;, &lt;span class="docEmphBoldItalic"&gt;job-list&lt;/span&gt; is a list of one or more &lt;tt&gt;at&lt;/tt&gt; job  numbers. You can list job numbers by running &lt;tt&gt;at&lt;/tt&gt; with the &lt;span class="docEmphStrong"&gt;–l&lt;/span&gt; option or by using &lt;tt&gt;atq&lt;/tt&gt;.&lt;/p&gt;&lt;a name="art01lev3sec13"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Options&lt;/h5&gt; &lt;p class="docText"&gt;The &lt;span class="docEmphStrong"&gt;–l&lt;/span&gt; and &lt;span class="docEmphStrong"&gt;–d&lt;/span&gt; options are not for use when you initiate a job  with &lt;tt&gt;at&lt;/tt&gt;. You can use them only to determine the status of a job or to  cancel a job.&lt;/p&gt; &lt;p&gt; &lt;table cellpadding="5" cellspacing="0" frame="void" rules="none"&gt; &lt;colgroup&gt; &lt;col width="110"&gt; &lt;col width="440"&gt;&lt;/colgroup&gt; &lt;thead&gt;&lt;/thead&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–c&lt;/span&gt; &lt;span class="docEmphBoldItalic"&gt;job-list&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphRoman"&gt;(&lt;/span&gt;&lt;span class="docEmphStrong"&gt;cat&lt;/span&gt;&lt;span class="docEmphRoman"&gt;)&lt;/span&gt; Displays the  environment and &lt;span class="docEmphBoldItalic"&gt;commands&lt;/span&gt; specified by &lt;span class="docEmphBoldItalic"&gt;job-list&lt;/span&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–d&lt;/span&gt; &lt;span class="docEmphBoldItalic"&gt;job-list&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphRoman"&gt;(&lt;/span&gt;&lt;span class="docEmphStrong"&gt;delete&lt;/span&gt;&lt;span class="docEmphRoman"&gt;)&lt;/span&gt; Cancels jobs  that you previously submitted with &lt;tt&gt;at&lt;/tt&gt;. The &lt;span class="docEmphBoldItalic"&gt;job-list&lt;/span&gt; argument is a list of one or more  &lt;tt&gt;at&lt;/tt&gt; job numbers to cancel. If you do not remember the job number, use  the &lt;span class="docEmphStrong"&gt;–l&lt;/span&gt; option or run &lt;tt&gt;atq&lt;/tt&gt; to list your  jobs and their numbers. Using this option with &lt;tt&gt;at&lt;/tt&gt; is the same as  running &lt;tt&gt;atrm&lt;/tt&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–f&lt;/span&gt; &lt;span class="docEmphBoldItalic"&gt;file&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphRoman"&gt;(&lt;/span&gt;&lt;span class="docEmphStrong"&gt;file&lt;/span&gt;&lt;span class="docEmphRoman"&gt;)&lt;/span&gt; Specifies that  &lt;span class="docEmphBoldItalic"&gt;commands&lt;/span&gt; come from &lt;span class="docEmphBoldItalic"&gt;file&lt;/span&gt; instead of standard input. This option is  useful for long lists of &lt;span class="docEmphBoldItalic"&gt;commands&lt;/span&gt; or &lt;span class="docEmphBoldItalic"&gt;commands&lt;/span&gt; that are executed  repeatedly.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–l&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphRoman"&gt;(&lt;/span&gt;&lt;span class="docEmphStrong"&gt;list&lt;/span&gt;&lt;span class="docEmphRoman"&gt;)&lt;/span&gt; Displays a list  of your &lt;tt&gt;at&lt;/tt&gt; jobs. Using this option with &lt;tt&gt;at&lt;/tt&gt; is the same as  running &lt;tt&gt;atq&lt;/tt&gt;.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td class="docTableCell" align="right" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphStrong"&gt;–m&lt;/span&gt;&lt;/p&gt;&lt;/td&gt; &lt;td class="docTableCell" align="left" valign="top"&gt; &lt;p class="docText"&gt;&lt;span class="docEmphRoman"&gt;(&lt;/span&gt;&lt;span class="docEmphStrong"&gt;mail&lt;/span&gt;&lt;span class="docEmphRoman"&gt;)&lt;/span&gt; Sends you email  after a job is run, even when nothing is sent to standard output or standard  error. When a job generates output, &lt;tt&gt;at&lt;/tt&gt; always emails it to you,  regardless of this option.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;br /&gt;&lt;a name="art01lev3sec14"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Notes&lt;/h5&gt; &lt;p class="docText"&gt;The shell saves the environment variables and the working  directory at the time you submit an &lt;tt&gt;at&lt;/tt&gt; job so that they are available  when &lt;tt&gt;at&lt;/tt&gt; executes &lt;span class="docEmphBoldItalic"&gt;commands&lt;/span&gt;.&lt;/p&gt;&lt;a name="art01lev5sec4"&gt;&lt;/a&gt; &lt;h5 class="docSection4Title"&gt;/etc/at.allow &lt;span class="docEmphasis"&gt;and&lt;/span&gt;  /etc/at.deny&lt;/h5&gt;&lt;a name="art01index37"&gt;&lt;/a&gt;&lt;a name="art01index38"&gt;&lt;/a&gt;&lt;a name="art01index39"&gt;&lt;/a&gt;&lt;a name="art01index40"&gt;&lt;/a&gt;&lt;a name="art01index41"&gt;&lt;/a&gt;&lt;a name="art01index42"&gt;&lt;/a&gt;&lt;a name="art01index43"&gt;&lt;/a&gt;&lt;a name="art01index44"&gt;&lt;/a&gt; &lt;p class="docText"&gt;The &lt;span class="docEmphStrong"&gt;root&lt;/span&gt; user can always use  &lt;tt&gt;at&lt;/tt&gt;. The &lt;span class="docEmphStrong"&gt;/etc/at.allow&lt;/span&gt; and &lt;span class="docEmphStrong"&gt;/etc/at.deny&lt;/span&gt; files, which should be read0able and  writable by &lt;span class="docEmphStrong"&gt;root&lt;/span&gt; only (mode 600), control which  ordinary, local users can use &lt;tt&gt;at&lt;/tt&gt;. When &lt;span class="docEmphStrong"&gt;/etc/at.deny&lt;/span&gt; exists and is empty, all users can use  &lt;tt&gt;at&lt;/tt&gt;. When &lt;span class="docEmphStrong"&gt;/etc/at.deny&lt;/span&gt; does not exist,  only users listed in &lt;span class="docEmphStrong"&gt;/etc/at.allow&lt;/span&gt; can use  &lt;tt&gt;at&lt;/tt&gt;. Users listed in &lt;span class="docEmphStrong"&gt;/etc/at.deny&lt;/span&gt;  cannot use &lt;tt&gt;at&lt;/tt&gt; unless they are also listed in &lt;span class="docEmphStrong"&gt;/etc/at.allow&lt;/span&gt;.&lt;/p&gt; &lt;p class="docText"&gt;Jobs you submit using &lt;tt&gt;at&lt;/tt&gt; are run by the &lt;tt&gt;at&lt;/tt&gt;  daemon (&lt;span class="docEmphStrong"&gt;atd&lt;/span&gt;). This daemon stores jobs in &lt;span class="docEmphStrong"&gt;/var/spool/at&lt;/span&gt; and output in &lt;span class="docEmphStrong"&gt;/var/spool/at/spool&lt;/span&gt;, both of which should be set to  mode 700 and owned by the user named &lt;span class="docEmphStrong"&gt;daemon&lt;/span&gt;.&lt;a name="art01index45"&gt;&lt;/a&gt;&lt;a name="art01index46"&gt;&lt;/a&gt;&lt;a name="art01index47"&gt;&lt;/a&gt;&lt;a name="art01index48"&gt;&lt;/a&gt;&lt;a name="art01index49"&gt;&lt;/a&gt;&lt;a name="art01index50"&gt;&lt;/a&gt;&lt;a name="art01index51"&gt;&lt;/a&gt;&lt;a name="art01index52"&gt;&lt;/a&gt;&lt;a name="art01index53"&gt;&lt;/a&gt;&lt;a name="art01index54"&gt;&lt;/a&gt;&lt;/p&gt;&lt;a name="art01lev3sec15"&gt;&lt;/a&gt; &lt;h5 class="docSection3Title"&gt;Examples&lt;/h5&gt; &lt;p class="docText"&gt;You can use any of the following techniques to paginate and  print &lt;span class="docEmphStrong"&gt;long_file&lt;/span&gt; tomorrow at 2:00 AM. The first  example executes the command directly from the command line; the last two  examples use the &lt;span class="docEmphStrong"&gt;pr_tonight&lt;/span&gt; file, which  contains the necessary command, and execute it using &lt;tt&gt;at&lt;/tt&gt;.&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;at 2am&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;at&gt; &lt;span class="docEmphStrong"&gt;pr long_file | lpr&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;at&gt;&lt;span class="docEmphStrong"&gt;CONTROL-D&lt;/span&gt;&lt;eot&gt;&lt;br /&gt;&lt;br /&gt;job 8 at 2005-08-17 02:00&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;$ &lt;span class="docEmphStrong"&gt;cat pr_tonight&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;&lt;br /&gt;pr long_file | lpr&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;$ &lt;span class="docEmphStrong"&gt;at -f pr_tonight 2am&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;job 9 at 2005-08-17 02:00&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;$ &lt;span class="docEmphStrong"&gt;at 2am &lt;&gt;&lt;br /&gt;&lt;br /&gt;job 10 at 2005-08-17 02:00&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;If you execute commands directly from the command line, you  must signal the end of the commands by pressing CONTROL-D at the beginning of a  line. After you press CONTROL-D, &lt;tt&gt;at&lt;/tt&gt; displays a line that begins with  &lt;span class="docEmphStrong"&gt;job&lt;/span&gt; followed by the job number and the time  &lt;tt&gt;at&lt;/tt&gt; will execute the job.&lt;/p&gt; &lt;p class="docText"&gt;If you run &lt;tt&gt;atq&lt;/tt&gt; after the preceding commands, it  displays a list of jobs in its queue:&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;atq&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;8       2005-08-17 02:00 a&lt;br /&gt;&lt;br /&gt;9       2005-08-17 02:00 a&lt;br /&gt;&lt;br /&gt;10      2005-08-17 02:00 a&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The following command removes job number 9 from the queue:&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;atrm 9&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$ &lt;span class="docEmphStrong"&gt;atq&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;8       2005-08-17 02:00 a&lt;br /&gt;&lt;br /&gt;10      2005-08-17 02:00 a&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The next example executes &lt;span class="docEmphStrong"&gt;cmdfile&lt;/span&gt; at 3:30 PM (1530 hours) one week from  today:&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;at -f cmdfile 1530 +1 week&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;job 12 at 2005-08-23 15:30&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;Next &lt;tt&gt;at&lt;/tt&gt; executes a job at 7 PM on Thursday. This job  uses &lt;tt&gt;find&lt;/tt&gt; to create an intermediate file, redirects the output sent to  standard error, and prints the file.&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;at 7pm Thursday&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;at&gt; &lt;span class="docEmphStrong"&gt;find / -name "core" -print &gt;report.out 2&gt;report.err&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;at&gt; &lt;span class="docEmphStrong"&gt;lpr report.out&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;at&gt;&lt;span class="docEmphStrong"&gt;CONTROL-D&lt;/span&gt;&lt;eot&gt;&lt;br /&gt;&lt;br /&gt;job 13 at 2005-08-18 19:00&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p class="docText"&gt;The final example shows some of the output generated by the  &lt;span class="docEmphStrong"&gt;–c&lt;/span&gt; option when &lt;tt&gt;at&lt;/tt&gt; is queried about the  preceding job. Most of the lines show the environment; only the last few lines  execute the &lt;span class="docEmphBoldItalic"&gt;commands&lt;/span&gt;:&lt;/p&gt;&lt;pre&gt;$ &lt;span class="docEmphStrong"&gt;at -c 13&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;#!/bin/sh&lt;br /&gt;&lt;br /&gt;# atrun uid=500 gid=500&lt;br /&gt;&lt;br /&gt;# mail     mark 0&lt;br /&gt;&lt;br /&gt;umask 2&lt;br /&gt;&lt;br /&gt;PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:.;&lt;br /&gt;&lt;br /&gt;export PATH&lt;br /&gt;&lt;br /&gt;PWD=/home/mark/book.examples/99/cp; export PWD&lt;br /&gt;&lt;br /&gt;EXINIT=set\ ai\ aw; export EXINIT&lt;br /&gt;&lt;br /&gt;LANG=C; export LANG&lt;br /&gt;&lt;br /&gt;PS1=\\\$\ ; export PS1&lt;br /&gt;&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;cd /home/mark/book\.examples/99/cp || {&lt;br /&gt;&lt;br /&gt;        echo 'Execution directory inaccessible' &gt;&amp;amp;2&lt;br /&gt;&lt;br /&gt;        exit 1&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;find / -name "core" -print &gt;report.out 2&gt;report.err&lt;br /&gt;&lt;br /&gt;lpr report.out&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-2585347928589672566?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/2585347928589672566/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=2585347928589672566' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2585347928589672566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2585347928589672566'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/02/linux-executes-commands-at-specified.html' title='Linux : Executes commands at a specified time'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-158975315419417950</id><published>2008-01-30T12:20:00.000+08:00</published><updated>2008-12-13T11:49:51.317+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Oracle : What Is Real Application Clusters?</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;br /&gt;The Oracle Real Application Clusters (RAC) option was first released in a blaze of publicity as part of Oracle 9.0.1 in the summer of 2001. It is considered by many within the Oracle community to be the most significant feature introduced in Oracle 9i.&lt;br /&gt;Although RAC has been marketed as an entirely new feature, much of the technology was&lt;br /&gt;inherited from Oracle Parallel Server (OPS), which was introduced in Oracle 6.0 and developed&lt;br /&gt;steadily over the next decade.&lt;br /&gt;&lt;br /&gt;A cluster consists of multiple interconnected servers that appear to end users and applications as if they are one single server. A RAC database allows multiple instances residing on different servers in the cluster to access a common database residing on shared storage. The combined processing power of the multiple servers in the cluster can provide greater throughput and scalability than is available from a single server. A basic RAC setup is depicted in Figure 1-1.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_oWJ9bpXGJiA/R5_8PXSM1XI/AAAAAAAAAZU/LlN711cWdSc/s1600-h/rac.JPG"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_oWJ9bpXGJiA/R5_8PXSM1XI/AAAAAAAAAZU/LlN711cWdSc/s400/rac.JPG" alt="" id="BLOGGER_PHOTO_ID_5161121038868469106" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Oracle defines the database as being the structures that reside in files permanently on disk, including the datafiles, the control files, and the online redo logs. In the case of a RAC cluster, the database must be located on shared physical disk storage that all servers in the cluster must be able to access equally. The servers communicate with the shared storage via a storage network. The instance is defined as the structures that are created in memory within the operating system running on a server, including the Shared Global Area (SGA) and the associated background processes. An instance must be started before a database can be created. All persistent data is stored in the database files and will remain on disk when the instance or the operating system is shut down.&lt;br /&gt;&lt;br /&gt;An instance can only mount and open a single database. In a single instance environment, as the name suggests, there is a one-to-one mapping between an instance and a database. A database, however, may be mounted by one or more instances on separate servers. The database may be accessed as long as at least one instance is started and has mounted it.&lt;br /&gt;&lt;br /&gt;The servers in the cluster are bound together using cluster management software called Oracle&lt;br /&gt;Clusterware, which enables the servers to appear as though they are a single server. Servers in the cluster communicate with each other using a dedicated private network known as the cluster&lt;br /&gt;interconnect. In a RAC cluster, each instance can execute transactions concurrently because database access is coordinated to ensure data consistency and integrity. Instances exchange messages with each other across the interconnect to manage the state of individual Oracle data blocks and locks. Each server is also connected to a public network that allows the cluster to communicate with the outside world, including clients and application servers.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/moz-screenshot.jpg" alt="" /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-158975315419417950?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/158975315419417950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=158975315419417950' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/158975315419417950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/158975315419417950'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/01/oracle-what-is-real-application.html' title='Oracle : What Is Real Application Clusters?'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_oWJ9bpXGJiA/R5_8PXSM1XI/AAAAAAAAAZU/LlN711cWdSc/s72-c/rac.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-4777853967299650836</id><published>2008-01-30T10:51:00.000+08:00</published><updated>2008-02-05T10:43:08.696+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><category scheme='http://www.blogger.com/atom/ns#' term='Internet'/><title type='text'>Internet Security : Identity Theft and Fraud</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.idtheftreviews.com/"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 96px; height: 71px;" src="http://tbn0.google.com/images?q=tbn:gtcw28Kta0ka6M:http://www.opp.ca/Intranetdev/groups/public/documents/images/opp_000522.png" alt="" border="0" /&gt;&lt;/a&gt;Identity theft has been an issue not onlyto those big and powerful companies but including us normal people.&lt;br /&gt;Since we are now in the internet age where one information could be access and shared in an instant.&lt;br /&gt;This may be a good news for us because it brings us ease of accessing our information in a breeze.&lt;br /&gt;It also means that it will expedite the time our information will be processed. But this leap of technology is a double edge sword, because it will also mean that our private information is easily or can be easily accessed and stolen.&lt;br /&gt;This was proven by some many hackers, more particularly by Kevin Mitnick and many more. Banks and multinational companies bend on their knees by this kind of attacks because as what those hackers say, the weakest link in IT Security are people.&lt;br /&gt;We are on a paradigm shift in securing our identity and defense against fraud.&lt;br /&gt;&lt;br /&gt;There are may kind of Identity Theft and Fraud attacks and according to&lt;br /&gt;&lt;a href="http://www.idtheftcenter.org/" class="external text" title="http://www.idtheftcenter.org" rel="nofollow"&gt;Identity Theft Resource Center&lt;/a&gt; dentity theft is sub-divided into four categories: &lt;/div&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;Financial Identity Theft (using another's identity to obtain goods and services)&lt;/li&gt;&lt;li&gt;Criminal Identity Theft (posing as another when apprehended for a crime)&lt;/li&gt;&lt;li&gt;Identity Cloning (using another's information to assume his or her identity in daily life)&lt;/li&gt;&lt;li&gt;Business/Commercial Identity Theft (using another's business name to obtain credit)&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: justify;"&gt;Nowadays its a must and a necessity that we should safeguard our identity and privacy and there are many companies that would do this for you.&lt;br /&gt;And I have one that I see is a good way to invest in our Identity security.&lt;br /&gt;Its &lt;a href="http://www.idtheftreviews.com/"&gt;LoudSiren&lt;/a&gt; this is a  Place and Manage Fraud Alerts. It protects your phone number from theft and warns you of possible attacks. You can have your peace of mind that you are secured because this is powered by &lt;a href="http://www.idtheftreviews.com/"&gt;Debix &lt;/a&gt;which was selected by several States as sole ID Theft solution.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-4777853967299650836?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/4777853967299650836/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=4777853967299650836' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4777853967299650836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4777853967299650836'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/01/internet-security-identity-theft-and.html' title='Internet Security : Identity Theft and Fraud'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-1193815520206515648</id><published>2008-01-30T10:50:00.001+08:00</published><updated>2008-02-05T10:43:58.292+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Operating System'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Internet'/><title type='text'>Site Operating System and Server by Candidate</title><content type='html'>Site Operating System and Server by Candidate&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Joe Biden (Democrat) - Linux, Zope by Interlix&lt;/li&gt;&lt;li&gt;Hillary Clinton (Democrat) - Windows Server 2003, Microsoft-IIS/6.0 by Paul Holcomb&lt;/li&gt;&lt;li&gt;Christopher Dodd (Democrat) - FreeBSD, Apache by pair Networks&lt;/li&gt;&lt;li&gt;John Edwards (Democrat) - Linux, Apache by Plus Three&lt;/li&gt;&lt;li&gt;Mike Gravel (Democrat) - Linux, Apache by Voxel Dot Net, Inc.&lt;/li&gt;&lt;li&gt;Dennis Kucinich (Democrat) - Linux, Apache by New Age Consulting&lt;/li&gt;&lt;li&gt;Barack Obama (Democrat) - FreeBSD, Apache by pair Networks&lt;/li&gt;&lt;li&gt;Bill Richardson (Democrat) - Linux, Zope by Interlix&lt;/li&gt;&lt;li&gt;Wesley Clark (Democrat) - Linux, Apache by Voxel Dot Net, Inc.&lt;/li&gt;&lt;li&gt;Al Gore (Democrat) - Linux, Apache by Rackspace&lt;/li&gt;&lt;li&gt;Sam Brownback (Republican) - Windows Server 2003, Microsoft-IIS/6.0 by RackForce Hosting, Inc.&lt;/li&gt;&lt;li&gt;Jim Gilmore (Republican) - Linux, Apache by 1&amp;amp;1 Internet, Inc.&lt;/li&gt;&lt;li&gt;Rudy Giuliani (Republican) - Linux, Apache by RackSpace&lt;/li&gt;&lt;li&gt;Mike Huckabee (Republican) - Windows Server 2003, Microsoft-IIS/6.0 by LNH Inc.&lt;/li&gt;&lt;li&gt;Duncun Hunter (Republican) - Windows Server 2003, Microsoft-IIS/6.0 by Individual&lt;/li&gt;&lt;li&gt;John McCain (Republican) - Windows Server 2003, Microsoft-IIS/6.0 by Smartech Corporation&lt;/li&gt;&lt;li&gt;Ron Paul (Republican) - Linux, Apache by Rackspace&lt;/li&gt;&lt;li&gt;Mitt Romney (Republican) - Linux, Apache by Rackspace&lt;/li&gt;&lt;li&gt;Tom Tancredo (Republican) - Windows Server 2003, Microsoft-IIS/6.0 by Interland&lt;/li&gt;&lt;li&gt;Fred Thompson (Republican) - Windows Server 2003, Microsoft-IIS/6.0 by LNH Inc.&lt;/li&gt;&lt;li&gt;Tommy Thompson (Republican) - Windows Server 2003, Microsoft-IIS/6.0 by Time Warner Telecom, Inc.&lt;/li&gt;&lt;li&gt;Chuck Hagel (Republican) - Windows Server 2003, Microsoft-IIS/6.0 by Individual&lt;/li&gt;&lt;li&gt;Newt Gingrich (Republican) - Windows Server 2003, Microsoft-IIS/6.0 by Smartech Corporation&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;It’s fascinating to me that the Dems are predominantly Open Source… except for Hillary Clinton and the Republicans are predominantly Microsoft with the exception of Ron Paul, Jim Gilmore, Rudy Giuliani and Mitt Romney.&lt;br /&gt;&lt;br /&gt;I predict FreeBSD will win the election ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-1193815520206515648?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/1193815520206515648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=1193815520206515648' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/1193815520206515648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/1193815520206515648'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/01/site-operating-system-and-server-by.html' title='Site Operating System and Server by Candidate'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-6005403673204913987</id><published>2008-01-18T09:09:00.001+08:00</published><updated>2008-02-05T10:46:32.305+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Oracle : Allocated, Used &amp; Free space within datafiles</title><content type='html'>&lt;blockquote&gt;REM ------------------------------------------------------------------------------&lt;br /&gt;REM Filename:   dffree.sql&lt;br /&gt;REM Purpose:    Shows current size, used &amp;amp; freespace within the datafiles.&lt;br /&gt;REM Author:     Kam Muhamad Sirajdin [mdsirajdin@yahoo.com]&lt;br /&gt;REM ------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;TTI "Allocated, Used &amp;amp; Free space within datafiles"&lt;br /&gt;&lt;br /&gt;COLUMN free_space_mb format 999999.90&lt;br /&gt;COLUMN allocated_mb format 999999.90&lt;br /&gt;COLUMN used_mb format 999999.90&lt;br /&gt;&lt;br /&gt;SELECT   SUBSTR (df.NAME, 1, 40) file_name, df.bytes / 1024 / 1024 allocated_mb,&lt;br /&gt;       ((df.bytes / 1024 / 1024) - NVL (SUM (dfs.bytes) / 1024 / 1024, 0))&lt;br /&gt;             used_mb,&lt;br /&gt;       NVL (SUM (dfs.bytes) / 1024 / 1024, 0) free_space_mb&lt;br /&gt;  FROM v$datafile df, dba_free_space dfs&lt;br /&gt; WHERE df.file# = dfs.file_id(+)&lt;br /&gt;GROUP BY dfs.file_id, df.NAME, df.file#, df.bytes&lt;br /&gt;ORDER BY file_name;&lt;br /&gt;&lt;br /&gt;TTI off&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-6005403673204913987?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/6005403673204913987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=6005403673204913987' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6005403673204913987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6005403673204913987'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/01/oracle-allocated-used-free-space-within.html' title='Oracle : Allocated, Used &amp; Free space within datafiles'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-3831893922181105605</id><published>2008-01-18T09:04:00.000+08:00</published><updated>2008-02-05T10:47:04.124+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>How to set-up SSH and not requiring a password every time it logs into a remote machine?</title><content type='html'>How to set-up SSH and not requiring a password every time it logs into a remote machine?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It is important to note that, since the SSH protocol is a highly secure one, it does not accept just the traditional .rhosts on the users login for accepting a remote connection without password verification.&lt;br /&gt;&lt;br /&gt;The implementation of SSH1 and SS2 are slightly different, and from OpenSSH to SSH2  vary too. Since most of the Linux machines are running OpenSSH2, we will describe here how to make the "trick" for avoiding a password every time when running openssh2 on both client and server.&lt;br /&gt;For detailed information about the class of key verification and encryption that ssh uses, see the ssh and related man pages or online documentation at http://www.openssh.com/manual.html&lt;br /&gt;&lt;br /&gt;The basic idea is, however, that in the cryptosystem that ssh uses (RSA or/and DSA)  the encryption and  description are done using different keys&lt;br /&gt;Basically, what the user (client) needs is to generate a public/private key pair. The server will know the public key, but only the client will know the private key.&lt;br /&gt;When the client connects to the server, it  tells its own public key. If this key is allowed (if it is between the know public keys list on the server), the server will send a random number to the client. This encrypted number can only be decrypted if the appropriate decryption key is used, and this decryption key is the client's private one. The client then uses then its own private key and decrypt the number. If this is done correctly, the server will grant the access with no more questions. As you can see the system is safe, because the client never tells anybody about its private key; and this key cannot be inferred using the public one.&lt;br /&gt;&lt;br /&gt;What must be done, then , is to generate a public/private key pair, and copy the public part into the appropriate place on the server side.&lt;br /&gt;For doing this, on the user's home directory, on the client machine, type&lt;br /&gt;&lt;br /&gt;local&gt; ssh-keygen -t dsa -f .ssh/id_dsa&lt;br /&gt;&lt;br /&gt;-t tells the type of encryption&lt;br /&gt;-f tells where to store the public/private key pairs. In this case, the .ssh directory on home is being used&lt;br /&gt;&lt;br /&gt;A password will be asked; leave this part blank, just pressing &lt;enter&gt;&lt;br /&gt;Now, go the .ssh directory, and you will find two new files: id_dsa and id_dsa.pub. The last one is the public part. Now, copy the public key to the server machine&lt;br /&gt;&lt;br /&gt;local&gt; cd .ssh&lt;br /&gt;local&gt; scp id_dsa.pub user@remote:~/.ssh/id_dsa.pub&lt;br /&gt;&lt;br /&gt;Of course, this time you will need to enter the password.&lt;br /&gt;Now, login into the server machine and go to the .ssh directory on the server side&lt;br /&gt;&lt;br /&gt;local&gt; ssh user@remote&lt;br /&gt;remote&gt; cd .ssh&lt;br /&gt;&lt;br /&gt;Now, add the client's public key to the know public keys on the server&lt;br /&gt;&lt;br /&gt;remote&gt; cat id_dsa.pub &gt;&gt; authorized_keys2&lt;br /&gt;remote&gt; chmod 640 authorized_keys2&lt;br /&gt;remote&gt; rm id_dsa.pub&lt;br /&gt;remote&gt; exit&lt;br /&gt;&lt;br /&gt;and that's all.&lt;br /&gt;Next time you log into the remote server, no password will be asked.&lt;br /&gt;Note that this system will work while none of the machines change its IP address and for the specific user, so it is still safe.&lt;/enter&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-3831893922181105605?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/3831893922181105605/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=3831893922181105605' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/3831893922181105605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/3831893922181105605'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/01/how-to-set-up-ssh-and-not-requiring.html' title='How to set-up SSH and not requiring a password every time it logs into a remote machine?'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-3326211127566401219</id><published>2008-01-18T09:00:00.000+08:00</published><updated>2008-02-05T10:47:23.837+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Oracle : How to query a holding lock in your oracle database</title><content type='html'>ever wonder why can't you compile your procedure,function or package and if you look at the database for locks you could not find one, well maybe there is a holding lock in your object that you are trying to compile or edit. One way to know this is by issuing the sql statement below, you will see who is waiting(session) for that object and who is holding(session)  for that object.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;select /*+ ordered */ w1.sid  waiting_session,&lt;br /&gt;h1.sid  holding_session,&lt;br /&gt;w.kgllktype lock_or_pin,&lt;br /&gt;      w.kgllkhdl address,&lt;br /&gt;decode(h.kgllkmod,  0, 'None', 1, 'Null', 2, 'Share', 3, 'Exclusive',&lt;br /&gt;  'Unknown') mode_held,&lt;br /&gt;decode(w.kgllkreq,  0, 'None', 1, 'Null', 2, 'Share', 3, 'Exclusive',&lt;br /&gt;  'Unknown') mode_requested&lt;br /&gt;from dba_kgllock w, dba_kgllock h, v$session w1, v$session h1&lt;br /&gt;where&lt;br /&gt;(((h.kgllkmod != 0) and (h.kgllkmod != 1)&lt;br /&gt;   and ((h.kgllkreq = 0) or (h.kgllkreq = 1)))&lt;br /&gt; and&lt;br /&gt;   (((w.kgllkmod = 0) or (w.kgllkmod= 1))&lt;br /&gt;   and ((w.kgllkreq != 0) and (w.kgllkreq != 1))))&lt;br /&gt;and  w.kgllktype  =  h.kgllktype&lt;br /&gt;and  w.kgllkhdl  =  h.kgllkhdl&lt;br /&gt;and  w.kgllkuse     =   w1.saddr&lt;br /&gt;and  h.kgllkuse     =   h1.saddr;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;if this query returned some rows then it is up to you to identify which SID to kill&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-3326211127566401219?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/3326211127566401219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=3326211127566401219' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/3326211127566401219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/3326211127566401219'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/01/oracle-how-to-query-holding-lock-in.html' title='Oracle : How to query a holding lock in your oracle database'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-2696271478286526978</id><published>2008-01-18T08:18:00.000+08:00</published><updated>2008-02-05T10:47:45.501+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Oracle : How to Check  free memory in your SGA</title><content type='html'>&lt;blockquote&gt;rem -----------------------------------------------------------------------&lt;br /&gt;rem Filename:   sga_free.sql&lt;br /&gt;rem Purpose:    Reports free memory available in the SGA&lt;br /&gt;rem Date:       09-Jun-1998&lt;br /&gt;rem Author:     Frank Naude, Oracle FAQ&lt;br /&gt;rem -----------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;select f.inst_id,pool,name,&lt;br /&gt;    sgasize/1024/1024 "Allocated (M)",&lt;br /&gt;    bytes/1024 "Free (K)",&lt;br /&gt;    round(bytes/sgasize*100, 2) "% Free"&lt;br /&gt;from   (select sum(bytes) sgasize from sys.gv_$sgastat) s, sys.gv_$sgastat f&lt;br /&gt;where  f.name = 'free memory'&lt;br /&gt;/&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-2696271478286526978?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/2696271478286526978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=2696271478286526978' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2696271478286526978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2696271478286526978'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/01/oracle-how-to-check-you-free-memory-in.html' title='Oracle : How to Check  free memory in your SGA'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-5806120587649563140</id><published>2008-01-17T19:02:00.000+08:00</published><updated>2008-02-05T10:48:03.136+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Oracle : How to query row locking in oracle database</title><content type='html'>issue this sql command to see there are locking rows or object in your oracle database&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;set lines 160&lt;br /&gt;col object_name for a20&lt;br /&gt;col terminal for a20&lt;br /&gt;col username for a20&lt;br /&gt;col sid_serial for a20 justify left&lt;br /&gt;select /* + rule */ a.inst_id, b.object_name, '''' || c.sid || ',' || c.serial# || '''' sid_serial, c.username,c.terminal, c.sql_hash_value, c.last_call_et,&lt;br /&gt;    decode(a.locked_mode,&lt;br /&gt;           0,'None',&lt;br /&gt;           1,'Null',&lt;br /&gt;           2,'Row Share',&lt;br /&gt;           3,'Row Excl.',&lt;br /&gt;           4,'Share',&lt;br /&gt;           5,'S/Row Excl.',&lt;br /&gt;           6,'Exclusive') lock_mode&lt;br /&gt;from gv$locked_object a,&lt;br /&gt;   dba_objects b,&lt;br /&gt;   gv$session c&lt;br /&gt;where a.object_id = b.object_id&lt;br /&gt;and   a.session_id = c.sid&lt;br /&gt;and   a.inst_id = c.inst_id&lt;br /&gt;order by 7 desc&lt;br /&gt;/&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-5806120587649563140?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/5806120587649563140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=5806120587649563140' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/5806120587649563140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/5806120587649563140'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/01/oracle-how-to-query-row-locking-in.html' title='Oracle : How to query row locking in oracle database'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-6451722027369844684</id><published>2008-01-17T18:56:00.000+08:00</published><updated>2008-02-05T10:48:33.505+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Oracle : How to check your undo segment</title><content type='html'>can't drop the undo then maybe one of its segment is&lt;br /&gt;still being used issue this command to see the undo segments&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;SELECT RN.NAME,RS.STATUS&lt;br /&gt;  FROM V$ROLLNAME RN,V$ROLLSTAT RS&lt;br /&gt;  WHERE RN.NAME IN&lt;br /&gt;  (SELECT SEGMENT_NAME FROM DBA_SEGMENTS&lt;br /&gt;  WHERE TABLESPACE_NAME = 'NAME OF YOU UNDO')&lt;br /&gt;  AND RN.USN=RS.USN;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-6451722027369844684?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/6451722027369844684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=6451722027369844684' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6451722027369844684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6451722027369844684'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/01/oracle-how-to-check-your-undo-segment.html' title='Oracle : How to check your undo segment'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-6442717876634517345</id><published>2008-01-17T18:54:00.001+08:00</published><updated>2008-02-05T10:49:18.310+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Oracle: How to multiply a column in oracle</title><content type='html'>do you want to multiply a column in your table one way to do it is by this&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;SELECT   EXP (SUM (LN (ABS (x))))&lt;br /&gt;     * DECODE (MOD (COUNT (DECODE (SIGN (x), -1, 1, NULL)), 2), 1, -1, 1) *&lt;br /&gt;             nvl(max(decode(x,0,0,null)),1) prod&lt;br /&gt;FROM t&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-6442717876634517345?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/6442717876634517345/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=6442717876634517345' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6442717876634517345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6442717876634517345'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/01/oracle-how-to-multiply-column-in-oracle.html' title='Oracle: How to multiply a column in oracle'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-8305205114533256989</id><published>2008-01-17T18:46:00.000+08:00</published><updated>2008-02-05T10:50:09.249+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Oracle : A way to optimize your statistics in oracle</title><content type='html'>Adding Index and optimizing your query is not enough if you have a very bad statistics in your database, so one way to do it is to have a statistics of your database,schema and tables and oracle is kind enough to give us a tool to use it its called DBMS_STATS. an example here is how to gather stats of a table&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;SQL&gt;BEGIN&lt;br /&gt;DBMS_STATS.GATHER_TABLE_STATS&lt;br /&gt;( OWNNAME                        =&gt; 'SCOTT',&lt;br /&gt;TABNAME                        =&gt; 'EMP',&lt;br /&gt;ESTIMATE_PERCENT               =&gt; 99,&lt;br /&gt;METHOD_OPT                     =&gt; 'FOR ALL INDEXED COLUMNS SIZE AUTO',&lt;br /&gt;CASCADE                        =&gt; TRUE&lt;br /&gt;);&lt;br /&gt;END;&lt;br /&gt;/&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-8305205114533256989?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/8305205114533256989/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=8305205114533256989' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8305205114533256989'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/8305205114533256989'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/01/oracle-way-to-optimize-your-statistics.html' title='Oracle : A way to optimize your statistics in oracle'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-789234322579737688</id><published>2008-01-17T18:42:00.000+08:00</published><updated>2008-02-05T10:50:09.250+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Oracle: A simple way to query and copy grants from one instance to another</title><content type='html'>suppose you want to copy all the grant of an object in a database to another database the way to do it is to create a recursive query to generate an SQL grant command:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sql&gt; select 'grant ' || privilege || ' on ' || owner||'.'||table_name || ' to ' || grantee from dba_tab_privs where grantee = "GRANTEE YOU WANT TO COPY"&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-789234322579737688?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/789234322579737688/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=789234322579737688' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/789234322579737688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/789234322579737688'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/01/oracle-simple-way-to-query-and-copy.html' title='Oracle: A simple way to query and copy grants from one instance to another'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-6771316845576799369</id><published>2008-01-17T18:37:00.000+08:00</published><updated>2008-02-05T10:50:09.250+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Oracle: How to kill an oracle process in an Linux Operating System</title><content type='html'>The first thing you should do is to identify the process that you will kill by issuing a sql command like this&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt; col program for a50&lt;br /&gt;set lines 1000&lt;br /&gt;SELECT s.inst_id,&lt;br /&gt;   s.sid,&lt;br /&gt;       p.spid,&lt;br /&gt;       s.osuser,&lt;br /&gt;       s.program,&lt;br /&gt;   p.inst_id,&lt;br /&gt;       p.addr , s.paddr&lt;br /&gt;FROM   gv$process p,&lt;br /&gt;       gv$session s&lt;br /&gt;WHERE  p.addr = s.paddr&lt;br /&gt;       and s.inst_id = p.inst_id&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;after issuing it will somewhat look like this&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;   INST_ID        SID SPID      &lt;br /&gt;---------- ---------- ------------&lt;br /&gt;        1                  298 26066     &lt;br /&gt;        1                  299 26070     &lt;br /&gt;        3                  303 5854      &lt;br /&gt;        1                  304 26078     &lt;br /&gt;        1                  303 26082     &lt;br /&gt;        3                  125 6025      &lt;br /&gt;        1                  306 26084     &lt;br /&gt;        3                  304 6029       &lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;(please use v$ and not gv$ if you are not using a RAC configured DB and omit the column INST_ID in your query)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;so choose the spid(for example you choose spid 6029) you want and go to the linux console and issue&lt;br /&gt;&lt;br /&gt;$&gt; kill -9 6029&lt;br /&gt;&lt;br /&gt;that's it you have killed an oracle process through a linux command line&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-6771316845576799369?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/6771316845576799369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=6771316845576799369' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6771316845576799369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6771316845576799369'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/01/oracle-how-to-kill-oracle-process-in.html' title='Oracle: How to kill an oracle process in an Linux Operating System'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-723231230170915911</id><published>2008-01-17T18:34:00.000+08:00</published><updated>2008-02-05T10:50:09.251+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBA'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><title type='text'>Oracle: How to watch parallel session in a RAC configured Database</title><content type='html'>This is the sql statement that you will issue to see your session if it did use&lt;br /&gt;a parallel slaves&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sql&gt;select a.insT_id,a.sid,a.program,b.start_time,b.used_ublk,b.xidusn||'.'||b.xidslot||'.'||b.xidsqn trans_id from gv$session a, gv$transaction b where a.taddr = b.addr and a.inst_id = b.inst_id and (a.sid,a.inst_id) in (select z.sid,z.inst_id from gv$px_session z where z.qcsid = &amp;amp;sid) order by sid&lt;br /&gt;/&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;please omit the &lt;span style="font-weight: bold;"&gt;sql&gt;&lt;/span&gt; prompt when copying&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-723231230170915911?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/723231230170915911/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=723231230170915911' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/723231230170915911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/723231230170915911'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/01/oracle-how-to-watch-parallel-session-in.html' title='Oracle: How to watch parallel session in a RAC configured Database'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-1371630407059651552</id><published>2008-01-17T15:39:00.000+08:00</published><updated>2008-01-17T15:40:35.174+08:00</updated><title type='text'>iTunes movie rentals vs. Netflix: It’s Apples (Jobs variety) and oranges</title><content type='html'>&lt;p&gt;Apple makes a big plunge into the movie rental business and almost instinctively folks dust off the “Netflix is screwed” line. However, you may want to hold of&lt;a href="http://content.zdnet.com/2346-11408_22-183373.html"&gt;&lt;img src="http://i.zdnet.com/gallery/183594-475-470.jpg" align="right" width="300" /&gt;&lt;/a&gt;f on that Netflix obituary (again).&lt;/p&gt; &lt;p&gt;Now it’s entirely possible that Apple’s movie rental service (&lt;a href="http://content.zdnet.com/2346-11408_22-183373.html"&gt;gallery&lt;/a&gt;, &lt;a href="http://blogs.zdnet.com/topic/Macworld.html"&gt;blog focus&lt;/a&gt;, &lt;a href="http://news.zdnet.com/2422-13568_22-183705.html"&gt;video&lt;/a&gt;) will be a hit for the iPod carrying masses. And I’m sure I’ll rent a movie when I travel. But Apple’s movie rental service doesn’t spell the demise of Netflix for a bevy of reasons. Here are a few:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;Apple’s movie rental service is confined to the PC and the iPod/iPhone unless consumers buy Apple TV, a device that promises to be better the second time around but still is another box in an already cluttered living room.&lt;/li&gt;&lt;li&gt;Apple’s rental service is the same pay per view model everyone is used to, but Netflix’s model is subscription based. Some consumers will be fine with a rental that self destructs 24 hours once a movie is initiated. Other people–heavy movie watchers–appreciate the all-you-can eat approach of Netflix. They are two different audiences that can coexist. One audience cares that Netflix has a catalogue of 90,000 titles compared to Apple’s 1,000 titles. The other audience could care less.&lt;/li&gt;&lt;li&gt;iTunes movie rentals are designed to sell iPods. That’s a big distinction there. Apple’s biggest goal with its movie rental launch was to get all the studios on board so you’ll buy its devices. To do that Apple basically agreed to the same model cable companies go with. You pay $2.99 to $3.99 to view a movie for 24 hours. Netflix’s model is designed to deliver a recurring subscription revenue stream. Simply put, Apple isn’t wasting its time trying to put Netflix out of business.&lt;/li&gt;&lt;li&gt;The game is to get into set-top boxes. Apple wants you to buy a new box for movie rentals in a couple weeks. &lt;a href="http://blogs.zdnet.com/BTL/?p=7467"&gt;Netflix will be embedded in LG set-top boxes&lt;/a&gt; in the second half of the year. In the long run Netflix’s plan may make more sense, but good luck ousting the incumbent providers.&lt;/li&gt;&lt;li&gt;Netflix’s real worry is Blockbuster not Apple. Apple’s service will take time to gain mass adoption. Blockbuster has much more potential to give Netflix a headache with pricing pressure and its replica mail delivery model.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-1371630407059651552?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/1371630407059651552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=1371630407059651552' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/1371630407059651552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/1371630407059651552'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/01/itunes-movie-rentals-vs-netflix-its.html' title='iTunes movie rentals vs. Netflix: It’s Apples (Jobs variety) and oranges'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-4654850977031801614</id><published>2008-01-17T14:59:00.000+08:00</published><updated>2008-01-17T15:37:35.614+08:00</updated><title type='text'>Intel Science Talent Search Semifinalists Announced</title><content type='html'>&lt;span class="myst.item.description"&gt;&lt;p id="firstpara"&gt;SANTA CLARA, Calif., Jan. 16, 2008 – At 194 high schools across the country today, 300 seniors were named semifinalists of the Intel® Science Talent Search (Intel STS) 2008. America's oldest and most prestigious science competition, the Intel Science Talent Search – often called the "junior Nobel Prize" – brings together the best and brightest young scientific minds in America to compete for $1.25 million in scholarships. Each of the 300 Intel STS semifinalists receives $1,000 with an additional $1,000 to their respective school, resulting in $600,000 in total awards.&lt;/p&gt; &lt;/span&gt;  &lt;p&gt;This year's semifinalists were selected from 1,602 entrants hailing from 45 states, Puerto Rico and the Virgin Islands. Male and female entrants were represented equally and their research projects cover all disciplines of science including biochemistry, chemistry, physics, mathematics, engineering, behavioral science and medicine and health.&lt;/p&gt; &lt;p&gt;Over the past 66 years, the STS has produced winners of the world's most prestigious academic honors. Six former finalists have gone on to win the Nobel Prize. STS finalists have also been awarded the Fields Medal, the National Medal of Science and MacArthur Foundation Fellowships.&lt;/p&gt; &lt;p&gt;"This year marks Intel's 10th year of sponsorship of this historic competition, and we are honored to be a part of a program that is fostering the talent of America's brightest young minds," said Intel Foundation President and Director of Education Brenda Musilli. "These students are solving difficult problems that will have a real impact on generations to come."&lt;/p&gt; &lt;p&gt;On Jan. 30, 40 of the 300 semifinalists will be named as finalists and will receive an all-expense paid trip to Washington, D.C. for a week-long event in March. A total of $530,000 in scholarships will be provided by the Intel Foundation with each finalist receiving at least $5,000 and a new laptop run with the Intel® Core™2 Duo processor. Of these finalists, 10 students will be chosen for top honors with the grand prize winner receiving a $100,000 scholarship. These top winners will be selected based on rigorous judging sessions while in Washington, D.C. and announced at a black-tie banquet on March 11.&lt;/p&gt; &lt;p&gt;Society for Science &amp;amp; the Public (formerly Science Service), a nonprofit organization dedicated to the public engagement in scientific research and education, owns and has administered the STS since its inception in 1942. Elizabeth Marincola, president of Society for Science &amp;amp; the Public, said, "With their dedication and achievement in disciplines ranging from environmental science to bioengineering, the 300 Intel STS 2008 semifinalists have distinguished themselves as the nation's top young researchers. Focused on solutions to the pressing issues of our time, their work reaffirms the vision of Society for Science &amp;amp; the Public to inform, educate, and inspire the world around us."&lt;/p&gt; &lt;p&gt;Intel added sponsorship of the Science Talent Search to the extensive Intel Education Initiative portfolio in 1998 to spotlight the need to improve math and science education in the United States. Since then, Intel has increased the total annual awards and scholarships from $207,000 to $1.25 million and reinvigorated the competition by adding awards for the schools and introducing technology to the experience, through program elements such as laptop awards for all 40 finalists.&lt;/p&gt; &lt;p&gt;Intel's commitment to education extends far beyond Intel STS: from local schools to global universities, Intel works to help improve the quality of education around the world. Over the past decade alone, Intel has invested more than $1 billion in cash and in-kind contributions to help teachers teach, students learn and universities innovate – particularly in the areas of math, science and technology.&lt;/p&gt; &lt;p&gt;To learn more about Intel's commitment to education around the world, visit &lt;a href="http://www.intel.com/education"&gt;www.intel.com/education&lt;/a&gt;. To learn more about Society for Science &amp;amp; the Public, visit &lt;a href="http://www.societyforscience.org/" target="new"&gt;www.societyforscience.org&lt;/a&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-4654850977031801614?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/4654850977031801614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=4654850977031801614' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4654850977031801614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4654850977031801614'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/01/intel-science-talent-search.html' title='Intel Science Talent Search Semifinalists Announced'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-4638931800710818682</id><published>2008-01-16T12:31:00.000+08:00</published><updated>2008-01-16T12:53:59.224+08:00</updated><title type='text'>Internet 'heroes and villains' vie for ISPA awards</title><content type='html'>&lt;b&gt;The Internet Service Providers' Association has published the nomination lists for the "hero and villain" categories at its annual awards. &lt;/b&gt;&lt;p&gt;  Every year, ISPA praises a "hero" and slams a "villain" at its U.K. Internet Industry Awards ceremony. Last year's hero was &lt;cnet:blog id="9821505"&gt;Vodafone&lt;/cnet:blog&gt; Content Standards Manager Annie Mullins--for helping in the fight to make the Internet safer for children--while the European Commission was named top villain based on its domain registration rules for businesses. &lt;/p&gt;&lt;p&gt;   The hero nominations this year include &lt;cnet:blog id="9846624"&gt;Facebook (for retracting its controversial Beacon tracking system&lt;/cnet:blog&gt;), the Financial Services Authority ("for keeping a keen eye on the promotional Web sites of financial services and warning that they are not fair or clear enough"), and Stephen Timms, the U.K's minister of state for pensions reform (for pushing for faster broadband speeds through a nationwide fiber rollout). Also nominated as heroes are Peter Robbins, chief executive of the Internet Watch Foundation, and Derek Wyatt, member of Parliament, who has chaired the All Party Parliamentary Internet Group since 1997. &lt;/p&gt;&lt;p&gt; Much of the villain nomination list is devoted to those individuals and organizations who are trying to put limitations on Internet use. The British Phonographic Industry association is named "for its heavy-handed approach against consumers rather than engaging in constructive dialogue with the Internet industry when dealing with file-sharing," while Conservative leader David Cameron gets a mention "for buddying up with the music industry and trying to appeal to a younger audience." French President Nicolas Sarkozy also gets a drubbing for trying to tax Internet access and mobile phone use, and &lt;a href="http://www.news.com/U.K.-governments-lost-data-worth-billions-to-criminals/2100-1029_3-6220725.html"&gt;HM Revenue &amp;amp; Customs gets a mention for losing 25 million U.K. citizens' personal data&lt;/a&gt;. &lt;/p&gt;&lt;!-- STORY TEASE --&gt; &lt;newselement&gt; &lt;!-- missing include --&gt; &lt;/newselement&gt; &lt;!-- END STORY TEASE --&gt; &lt;p&gt;   &lt;a href="http://www.news.com/BT-picks-partners-for-network-upgrade/2100-1037_3-5688447.html"&gt;BT Wholesale&lt;/a&gt; is also on the villains' list "for changing the whole engineering plan for 21CN only six months before the launch date." 21CN is the new fiber-based spine of the U.K.'s Internet connectivity, currently being rolled out to replace the old copper-based infrastructure, and ISPA's nomination is a reference to a change BT implemented in the way customers were supposed to be migrated from the old network to the new. &lt;/p&gt;&lt;p&gt; BT responded quickly to its nomination, claiming in a statement that BT "changed the plan in response to specific requests from industry." &lt;/p&gt;&lt;p&gt;"There is now a one-step, customer demand-led approach to migration, which is what industry wanted us to deliver," read Tuesday's statement. "We regret that we were not able to provide communications providers with more notice, but engineering the world's most ambitious next-generation network and the services they support is no small feat. The aim of the entire industry is to deliver next-generation broadband to as many end users as possible, and that is what we are doing." &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-4638931800710818682?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/4638931800710818682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=4638931800710818682' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4638931800710818682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/4638931800710818682'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/01/internet-heroes-and-villains-vie-for.html' title='Internet &apos;heroes and villains&apos; vie for ISPA awards'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-6446941068844237988</id><published>2008-01-16T08:13:00.000+08:00</published><updated>2008-12-13T11:49:52.504+08:00</updated><title type='text'>Apple MacBook Air Is World's Thinnest Notebook, Looks Absolutely Amazing</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_oWJ9bpXGJiA/R41QFGlAcnI/AAAAAAAAAUs/H8y4SBrXX5E/s1600-h/macbookair2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_oWJ9bpXGJiA/R41QFGlAcnI/AAAAAAAAAUs/H8y4SBrXX5E/s400/macbookair2.jpg" alt="" id="BLOGGER_PHOTO_ID_5155865197004485234" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It's real. The fabled &lt;a href="http://gizmodo.com/344813/is-this-the-macbook-air-most-plausible-yet"&gt;MacBook Air&lt;/a&gt; actually exists. It's ultra-thin, can have a normal hard drive or a solid state one and, except for a couple ports, it's all about wireless connectivity. It's a stunning .16 inches thick at the bottom and .76 inches on the top. The black keyboard (reminds me of &lt;a href="http://gizmodo.com/343641/1960s-braun-products-hold-the-secrets-to-apples-future/"&gt;some of those black-over-aluminum Braun designs&lt;/a&gt;) is LED backlit, sightly recessed MacBook-style, with rounded edges all around. The latch is magnetic and has a gorgeous 13.3-inch screen with ambient-light sensor and, get this, multitouch trackpad.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_oWJ9bpXGJiA/R41Po2lAcmI/AAAAAAAAAUk/z6NQYD8ZPU4/s1600-h/macbookair1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_oWJ9bpXGJiA/R41Po2lAcmI/AAAAAAAAAUk/z6NQYD8ZPU4/s400/macbookair1.jpg" alt="" id="BLOGGER_PHOTO_ID_5155864711673180770" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The &lt;a href="http://gizmodo.com/gadgets/hurrah%21/breaking-steve-jobs-confirms-led-backlighting-in-lcds-very-soon-257149.php"&gt;MacBook Air is all "green"&lt;/a&gt;: bromide and PVR free, packaging is 56% smaller and mercury and arsenic-free glass. Looks like Al Gore will be getting one to fly in his private jet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-6446941068844237988?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/6446941068844237988/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=6446941068844237988' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6446941068844237988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/6446941068844237988'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/01/apple-macbook-air-is-worlds-thinnest.html' title='Apple MacBook Air Is World&apos;s Thinnest Notebook, Looks Absolutely Amazing'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_oWJ9bpXGJiA/R41QFGlAcnI/AAAAAAAAAUs/H8y4SBrXX5E/s72-c/macbookair2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-2499722634368056524</id><published>2008-01-15T12:37:00.000+08:00</published><updated>2008-01-15T12:39:11.148+08:00</updated><title type='text'>HD DVD fires back, slashes hardware &amp; software prices</title><content type='html'>HD DVD's response to being unceremoniously &lt;a href="http://www.engadgethd.com/2008/01/04/warner-goes-blu-ray-exclusive/"&gt;jilted by Warner&lt;/a&gt; going into CES was ... nothing. A &lt;a href="http://www.engadget.com/2008/01/04/hd-dvd-group-cancels-ces-press-conference-in-wake-of-warner-anno/"&gt;canceled&lt;/a&gt; press conference, downtrodden &lt;a href="http://www.engadget.com/2008/01/06/live-from-the-toshiba-ces-press-conference/"&gt;Toshiba press conference&lt;/a&gt; and &lt;a href="http://www.engadgethd.com/2008/01/10/universal-current-plan-is-to-continue-to-support-the-hd-dvd-fo/"&gt;rumors of further losses&lt;/a&gt; left great doubt that red had anything left in 2008, but now HD DVD is firing back. Leveraging its "approximately 50% market share in 2007" -- we're not sure where that number comes from either, we've contacted Toshiba for clarification -- indisputable lead in the notebook market and 100% compatibility with internet-enabled &lt;a href="http://www.engadget.com/2008/01/12/hands-on-with-imagion-ags-dynamichd-hd-dvd-and-blu-ray-technology/"&gt;HDi features&lt;/a&gt;, Toshiba has announced it is not laying down yet. Effective yesterday, the &lt;a href="http://www.engadgethd.com/tag/hd-a3"&gt;HD-A3&lt;/a&gt; MSRP has dropped to $149.99, the 1080p-capable HD-A30 to $199.99, and the top of the line HD-A35 to $299.99. Combined with an extended "&lt;a href="http://www.engadgethd.com/2007/07/18/toshiba-extends-5-free-hd-dvd-offr-until-september-30/"&gt;perfect offer&lt;/a&gt;" of 5 free HD DVDs with every purchase, Toshiba's &lt;a href="http://www.engadgethd.com/2008/01/07/toshibas-ces-press-release-reveals-hd-dvd-concierge/"&gt;HD DVD Concierge&lt;/a&gt; service, and a sudden 50% off sale on Amazon, it seems this format will not go quietly into the dark. Fire sale to clear suddenly obsolete inventory or real chance to hang onto its remaining supporters? This could be the best -- or worst -- time to pick a side in the HD &lt;a href="http://www.engadgethd.com/tag/formatwar"&gt;war&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Update&lt;/strong&gt;: Amazon is also having a &lt;a href="http://www.amazon.com/gp/feature.html/ref=amb_link_6096172_1?ie=UTF8&amp;amp;docId=1000183011&amp;amp;pf_rd_m=ATVPDKIKX0DER&amp;amp;pf_rd_s=right-2&amp;amp;pf_rd_r=1KGES3EWQRX0FVMJ7P67&amp;amp;pf_rd_t=101&amp;amp;pf_rd_p=343114401&amp;amp;pf_rd_i=130"&gt;50% off Blu-ray sale&lt;/a&gt;, so whatever your format of choice, pick up some discs and let the movie studios know who you rep.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-2499722634368056524?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/2499722634368056524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=2499722634368056524' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2499722634368056524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/2499722634368056524'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/01/hd-dvd-fires-back-slashes-hardware.html' title='HD DVD fires back, slashes hardware &amp; software prices'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-5442680593679448413</id><published>2008-01-15T12:30:00.000+08:00</published><updated>2008-12-13T11:49:53.003+08:00</updated><title type='text'>BenQ's emaciated 8 megapixel DSC X800: just barely three-dimensional</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_oWJ9bpXGJiA/R4w4VWlAckI/AAAAAAAAAUU/OWnduwsbqL0/s1600-h/dcx800top.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_oWJ9bpXGJiA/R4w4VWlAckI/AAAAAAAAAUU/OWnduwsbqL0/s400/dcx800top.jpg" alt="" id="BLOGGER_PHOTO_ID_5155557612921582146" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_oWJ9bpXGJiA/R4w302lAcjI/AAAAAAAAAUM/PqM9xDApG3w/s1600-h/dcx800top.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_oWJ9bpXGJiA/R4w302lAcjI/AAAAAAAAAUM/PqM9xDApG3w/s400/dcx800top.jpg" alt="" id="BLOGGER_PHOTO_ID_5155557054575833650" border="0" /&gt;&lt;/a&gt;It may not be the biggest name in consumer electronics, but when it comes to stuffing megapixels into ridiculously-skinny packages, there aren't many out there who do it better than BenQ. Case in point is the new eight megapixel DSC X800, which, at just 9.8 millimeters at its thinnest point (14mm at its fattest), is not only slimmer than the recently-announced &lt;a href="http://www.engadget.com/2007/12/17/benqs-dc-x835-sneaky-8-megapixel-anti-shaker/"&gt;DC X835&lt;/a&gt;, it even gives the company's trimmest seven megapixel shooter, the 12.5-millimeter &lt;a href="http://www.engadget.com/2007/04/18/benqs-dc-x725-cam-too-skinny-for-the-megapixels/"&gt;DC X725&lt;/a&gt;, a run for its money.Besides its pocketability, however, this model doesn't offer much in the way of high-end features: 3x optical zoom, 3-inch LCD, digital image stabilization, VGA movie mode, and a rather non-standard microSD slot are par for the course here.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://benq.com/press/news.cfm?id=2115&amp;amp;cat=0&amp;amp;year=2008"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://benq.com/press/news.cfm?id=2115&amp;amp;cat=0&amp;amp;year=2008" alt="" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8865329-5442680593679448413?l=eminus-sleepus.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eminus-sleepus.blogspot.com/feeds/5442680593679448413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8865329&amp;postID=5442680593679448413' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/5442680593679448413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8865329/posts/default/5442680593679448413'/><link rel='alternate' type='text/html' href='http://eminus-sleepus.blogspot.com/2008/01/benqs-emaciated-8-megapixel-dsc-x800.html' title='BenQ&apos;s emaciated 8 megapixel DSC X800: just barely three-dimensional'/><author><name>Eminus Sleepus</name><uri>http://www.blogger.com/profile/10462942446814687713</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_oWJ9bpXGJiA/R4w4VWlAckI/AAAAAAAAAUU/OWnduwsbqL0/s72-c/dcx800top.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8865329.post-3851815771775911504</id><published>2008-01-15T12:25:00.000+08:00</published><updated>2008-01-15T12:26:31.162+08:00</updated><title type='text'>Final Macworld predictions?</title><content type='html'>Tomorrow morning the tech world will tune in as Steve gets on stage to kick off another Macworld expo -- an event Apple usually uses for only its biggest product announcements. There are all kind of crazy rumors going around, but this year there are a few p
