<?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:blogger='http://schemas.google.com/blogger/2008' 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-7588406897442215454</id><updated>2024-10-06T22:43:31.250-07:00</updated><title type='text'>SQL SERVER SPECIALIST</title><subtitle type='html'>This Blog provide you the knowledge regarding DBMS and RDBMS.Specially for SQL SERVER and Oracle.&#xa;Thanks A Lot .......for your cooperation and support.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>75</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-1505887231019795289</id><published>2013-03-22T00:45:00.001-07:00</published><updated>2013-03-22T00:45:55.335-07:00</updated><title type='text'>Property-junction</title><content type='html'></content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/1505887231019795289/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2013/03/property-junction.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/1505887231019795289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/1505887231019795289'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2013/03/property-junction.html' title='Property-junction'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-2372939365092489674</id><published>2012-01-11T05:43:00.001-08:00</published><updated>2012-01-11T05:43:48.064-08:00</updated><title type='text'>Check how much space used by Data file in Sql Server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;select&lt;br /&gt;
&amp;nbsp;a.FILEID,&lt;br /&gt;
NAME = left(a.NAME,15),&lt;br /&gt;
&amp;nbsp;[FILE_SIZE_MB] = &lt;br /&gt;
&amp;nbsp;&amp;nbsp;convert(decimal(12,2),round(a.size/128.000,2)),&lt;br /&gt;
&amp;nbsp;[SPACE_USED_MB] =&lt;br /&gt;
&amp;nbsp;&amp;nbsp;convert(decimal(12,2),round(fileproperty(a.name,&#39;SpaceUsed&#39;)/128.000,2)),&lt;br /&gt;
&amp;nbsp;[FREE_SPACE_MB] =&lt;br /&gt;
&amp;nbsp;&amp;nbsp;convert(decimal(12,2),round((a.size-fileproperty(a.name,&#39;SpaceUsed&#39;))/128.000,2)) ,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;FILENAME = left(a.FILENAME,30)&lt;br /&gt;
from&lt;br /&gt;
&amp;nbsp;dbo.sysfiles a;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/2372939365092489674/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2012/01/check-how-much-space-used-by-data-file.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/2372939365092489674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/2372939365092489674'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2012/01/check-how-much-space-used-by-data-file.html' title='Check how much space used by Data file in Sql Server'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-7146888241129867916</id><published>2012-01-11T05:42:00.001-08:00</published><updated>2012-01-11T05:42:39.539-08:00</updated><title type='text'>Check when last time server re-start</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;SELECT&lt;br /&gt;
[ms_ticks] AS ms_since_restart,&lt;br /&gt;
[ms_ticks]/1000 AS seconds_since_restart,&lt;br /&gt;
CAST([ms_ticks]/1000/60.0 AS DECIMAL(15,2)) AS minutes_since_restart,&lt;br /&gt;
CAST([ms_ticks]/1000/60/60.0 AS DECIMAL(15,2)) AS hours_since_restart,&lt;br /&gt;
CAST([ms_ticks]/1000/60/60/24.0 AS DECIMAL(15,2)) AS days_since_restart,&lt;br /&gt;
DATEADD(s,((-1)*([ms_ticks]/1000)),GETDATE()) AS time_of_last_restart&lt;br /&gt;
FROM sys.[dm_os_sys_info];&lt;br /&gt;
=========================================================================&lt;br /&gt;
SELECT&lt;br /&gt;
DATEADD(s,((-1)*(DOSI.[ms_ticks]/1000)),GETDATE()) AS last_SERVER_restart,&lt;br /&gt;
D.create_date,&lt;br /&gt;
(DATEDIFF(s, DATEADD(s,((-1)*(DOSI.[ms_ticks]/1000)),GETDATE()), D.create_date)) AS recovery_time_seconds&lt;br /&gt;
FROM sys.[dm_os_sys_info] DOSI&lt;br /&gt;
CROSS JOIN sys.[databases] D&lt;br /&gt;
WHERE D.[name] = &#39;tempdb&#39;; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/7146888241129867916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2012/01/check-when-last-time-server-re-start.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/7146888241129867916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/7146888241129867916'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2012/01/check-when-last-time-server-re-start.html' title='Check when last time server re-start'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-8854743027486072065</id><published>2011-08-18T21:12:00.001-07:00</published><updated>2011-08-18T21:12:41.376-07:00</updated><title type='text'>How to fine out last DML operation on table in oracle</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div closure_uid_8x7e85=&quot;98&quot;&gt;&lt;br /&gt;
SELECT * FROM DBA_TAB_MODIFICATIONS&amp;nbsp; WHERE TABLE_OWNER=&#39;schemaname&#39; AND TABLE_NAME=&#39;tablename&#39;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/8854743027486072065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2011/08/how-to-fine-out-last-dml-operation-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/8854743027486072065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/8854743027486072065'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2011/08/how-to-fine-out-last-dml-operation-on.html' title='How to fine out last DML operation on table in oracle'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-7946405650102115969</id><published>2011-08-18T21:10:00.001-07:00</published><updated>2011-08-18T21:10:46.505-07:00</updated><title type='text'>How to fine dump file location for alert log of database</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
sql&amp;gt; show parameter dump;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
please select the bdump location and check the error in latest &amp;nbsp;alter log &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/7946405650102115969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2011/08/how-to-fine-dump-file-location-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/7946405650102115969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/7946405650102115969'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2011/08/how-to-fine-dump-file-location-for.html' title='How to fine dump file location for alert log of database'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-1242621381566876161</id><published>2011-08-18T21:08:00.001-07:00</published><updated>2011-08-18T21:08:29.121-07:00</updated><title type='text'>How much free space avilable in table spaces into Oracle</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div closure_uid_2x8xvq=&quot;104&quot;&gt;How much free space avilable in table spaces &lt;/div&gt;&lt;div closure_uid_2x8xvq=&quot;104&quot;&gt;&lt;br /&gt;
select b.tablespace_name, tbs_size SizeMb, a.free_space FreeMb&lt;br /&gt;
from&amp;nbsp; (select tablespace_name, round(sum(bytes)/1024/1024 ,2) as free_space&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from dba_free_space&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; group by tablespace_name) a,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (select tablespace_name, sum(bytes)/1024/1024 as tbs_size&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from dba_data_files&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; group by tablespace_name) b&lt;br /&gt;
where a.tablespace_name(+)=b.tablespace_name;&lt;/div&gt;&lt;div closure_uid_2x8xvq=&quot;104&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div closure_uid_2x8xvq=&quot;104&quot;&gt;Find out table space in auto extend mode or not &lt;/div&gt;&lt;div closure_uid_2x8xvq=&quot;104&quot;&gt;select file_name,tablespace_name,bytes/1024,AUTOEXTENSIBLE,status from dba_data_files order by tablespace_name;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/1242621381566876161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2011/08/how-much-free-space-avilable-in-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/1242621381566876161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/1242621381566876161'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2011/08/how-much-free-space-avilable-in-table.html' title='How much free space avilable in table spaces into Oracle'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-221911108957360327</id><published>2011-08-18T21:07:00.001-07:00</published><updated>2011-08-18T21:07:26.509-07:00</updated><title type='text'>How to change open cursor value in Pfile into oracle</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div closure_uid_wjtuer=&quot;95&quot;&gt;1. Create pfile=’/tmp/initcisora01.ora’ from spfile;&lt;/div&gt;&lt;div closure_uid_wjtuer=&quot;95&quot;&gt;2. shutdown the database;&lt;/div&gt;&lt;div closure_uid_wjtuer=&quot;95&quot;&gt;3. edit the open_cursors=400 in your pfile that is created on /tmp newly and save it.&lt;/div&gt;&lt;div closure_uid_wjtuer=&quot;95&quot;&gt;4. open the database using newly created pfile i.e.&lt;/div&gt;&lt;div closure_uid_wjtuer=&quot;95&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Startup pfile=’ /tmp/initcisora01.ora’;&lt;/div&gt;&lt;div closure_uid_wjtuer=&quot;95&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div closure_uid_wjtuer=&quot;95&quot;&gt;5. check whether open_cursor is reflecting 400 now.&lt;/div&gt;&lt;div closure_uid_wjtuer=&quot;95&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Show parameter open_cursors;&lt;/div&gt;&lt;div closure_uid_wjtuer=&quot;95&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div closure_uid_wjtuer=&quot;95&quot;&gt;6. now create new spfile from newly created pfile.&lt;/div&gt;&lt;div closure_uid_wjtuer=&quot;95&quot;&gt;&amp;nbsp;&amp;nbsp; Create spfile from pfile=’/tmp/initcisora01.ora’;&lt;/div&gt;&lt;div closure_uid_wjtuer=&quot;95&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div closure_uid_wjtuer=&quot;95&quot;&gt;7. normal shutdown and normal startup the database;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/221911108957360327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2011/08/how-to-change-open-cursor-value-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/221911108957360327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/221911108957360327'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2011/08/how-to-change-open-cursor-value-in.html' title='How to change open cursor value in Pfile into oracle'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-6723555327820578733</id><published>2011-08-18T21:05:00.001-07:00</published><updated>2011-08-18T21:05:57.070-07:00</updated><title type='text'>How to find overall size of database and actual size of database in oracle</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div closure_uid_s5q0zh=&quot;95&quot;&gt;SQL&amp;gt;&amp;nbsp; select sum(bytes)/1024/1024/1024 &quot;overall size in GB&quot; from dba_data_files;&lt;/div&gt;&lt;div closure_uid_s5q0zh=&quot;95&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div closure_uid_s5q0zh=&quot;95&quot;&gt;SQL&amp;gt; select&amp;nbsp; sum(bytes)/1024/1024/1024 &quot;used space&amp;nbsp; size in GB&quot; FROM dba_segments;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/6723555327820578733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2011/08/how-to-find-overall-size-of-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/6723555327820578733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/6723555327820578733'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2011/08/how-to-find-overall-size-of-database.html' title='How to find overall size of database and actual size of database in oracle'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-6233289349807118046</id><published>2011-08-18T21:02:00.000-07:00</published><updated>2011-08-18T21:02:22.390-07:00</updated><title type='text'>update statistics for all objects in one paticular schema into oracle 10 G</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; closure_uid_2xzlyn=&quot;118&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Exec dbms_stats.gather_schema_stats(ownname=&amp;gt;&#39;schemaname&#39;,cascade=&amp;gt;true,options=&amp;gt;&#39;gather&#39;,degree=&amp;gt;4); &lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/6233289349807118046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2011/08/update-statistics-for-all-objects-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/6233289349807118046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/6233289349807118046'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2011/08/update-statistics-for-all-objects-in.html' title='update statistics for all objects in one paticular schema into oracle 10 G'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-2611184903374058494</id><published>2011-08-04T02:06:00.001-07:00</published><updated>2011-08-04T02:06:32.069-07:00</updated><title type='text'>Most usableDMV in SQL SERVER 2008/2005</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span lang=&quot;JA&quot; style=&quot;font-family: CourierNew; font-size: xx-small;&quot;&gt;&lt;span lang=&quot;JA&quot; style=&quot;font-family: CourierNew; font-size: xx-small;&quot;&gt; &lt;div align=&quot;left&quot;&gt;sys.dm_exec_requests&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;sys.dm_exec_sessions&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;sys.dm_exec_sql_text&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;sys.dm_exec_query_stats&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;sys.dm_os_wait_stats&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;sys.dm_db_index_usage_stats&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;sys.dm_db_index_operational_stats&lt;/div&gt;&lt;div closure_uid_y7zrzc=&quot;114&quot;&gt;sys.dm_db_missing_index_details&lt;/div&gt;&lt;div closure_uid_y7zrzc=&quot;114&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div closure_uid_y7zrzc=&quot;114&quot;&gt;Please take a close look on all above dmv&#39;s &lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/2611184903374058494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2011/08/most-usabledmv-in-sql-server-20082005.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/2611184903374058494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/2611184903374058494'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2011/08/most-usabledmv-in-sql-server-20082005.html' title='Most usableDMV in SQL SERVER 2008/2005'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-7522868942463684933</id><published>2011-08-02T04:58:00.001-07:00</published><updated>2011-08-02T04:58:48.258-07:00</updated><title type='text'>DB Link creation in Oracle</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;SPHead1Char&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;a href=&quot;&quot; name=&quot;_Toc260650769&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-fareast-font-family: Tahoma;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: large;&quot;&gt;1&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: large;&quot;&gt;TYPES OF DATABASE LINKS&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The type of database links that oracle lets you create are private, public, and global database links. These basic link types differ according to which users are allowed access to the remote database.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPHead2&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;a href=&quot;&quot; name=&quot;_Toc260650770&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-fareast-font-family: Tahoma;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: medium;&quot;&gt;1.1&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: medium;&quot;&gt;Private&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;A private link creates a link in a specific schema of the local database. Only the owner of a private database link or PL/SQL subprograms in the schema can use this link to access database objects in the corresponding remote database.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The syntax for creating a private database link is:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-bottom: medium none; border-collapse: collapse; border-left: medium none; border-right: medium none; border-top: medium none; margin: auto auto auto 0.5in; mso-border-alt: solid windowtext .5pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 480;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;&lt;td style=&quot;background: #ffff99; border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; mso-border-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 462.25pt;&quot; valign=&quot;top&quot; width=&quot;616&quot;&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;CREATE DATABASE LINK &amp;lt;database link name&amp;gt; CONNECT TO &amp;lt;remote user&amp;gt; IDENTIFIED BY &amp;lt;remote user password&amp;gt; USING ‘&amp;lt;Service Name&amp;gt;&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;e.g. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;CREATE DATABASE LINK db_orders CONNECT TO scott IDENTIFIED BY tiger USING &#39;orders_us&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;If the above statement is created in scott schema of the local database then only scott user of the local database can use the database link.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPHead2&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;a href=&quot;&quot; name=&quot;_Toc260650771&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-fareast-font-family: Tahoma;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: medium;&quot;&gt;1.2&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: medium;&quot;&gt;Public&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;A public link creates a database-wide link. All users and PL/SQL subprograms in the database can use the link to access database objects in the corresponding remote database.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The syntax for creating a public database link is:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-bottom: medium none; border-collapse: collapse; border-left: medium none; border-right: medium none; border-top: medium none; margin: auto auto auto 0.5in; mso-border-alt: solid windowtext .5pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 480;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;&lt;td style=&quot;background: #ffff99; border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; mso-border-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 426.25pt;&quot; valign=&quot;top&quot; width=&quot;568&quot;&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;CREATE PUBLIC DATABASE LINK &amp;lt;database link name&amp;gt; CONNECT TO &amp;lt;remote user&amp;gt; IDENTIFIED BY &amp;lt;remote user password&amp;gt; USING ‘&amp;lt;Service Name&amp;gt;&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;e.g. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;CREATE PUBLIC DATABASE LINK db_orders CONNECT TO scott IDENTIFIED BY tiger USING &#39;orders_us&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;All the users in the database inclusive of the user scott can use the database link.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPHead2&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;a href=&quot;&quot; name=&quot;_Toc260650772&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-fareast-font-family: Tahoma;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: medium;&quot;&gt;1.3&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: medium;&quot;&gt;Global&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;A Global database link creates a network-wide link. When an Oracle network uses a directory server, the directory server automatically create and manages global database links (as net service names) for every Oracle Database in the network. Users and PL/SQL subprograms in any database can use a global link to access objects in the corresponding remote database. To create Global database links we must ensure that:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPSquareBullets&quot; style=&quot;margin: 0in 0in 0pt 1in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Global database link names must match database global names &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPSquareBullets&quot; style=&quot;margin: 0in 0in 0pt 1in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Your GLOBAL_NAMES initialization parameter should be set to TRUE &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPSquareBullets&quot; style=&quot;margin: 0in 0in 0pt 1in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;You must enable the plug and play setting for your listeners&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The initialization parameter file should contain the following entries:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 1in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 11pt; mso-ansi-language: EN-GB; mso-bidi-font-size: 12.0pt;&quot;&gt;DB_NAME = &amp;lt;DB NAME&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 1in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 11pt; mso-ansi-language: EN-GB; mso-bidi-font-size: 12.0pt;&quot;&gt;DB_DOMAIN = &amp;lt;DOMAIN NAME&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 1in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 11pt; mso-ansi-language: EN-GB; mso-bidi-font-size: 12.0pt;&quot;&gt;GLOBAL_NAMES = TRUE&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 1in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 11pt; mso-ansi-language: EN-GB; mso-bidi-font-size: 12.0pt;&quot;&gt;USE_PLUG_AND_PLAY_LISTENER = ON&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 1in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-bottom: medium none; border-collapse: collapse; border-left: medium none; border-right: medium none; border-top: medium none; margin: auto auto auto 39.15pt; mso-border-alt: solid windowtext .5pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 480;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;&lt;td style=&quot;background: #ffff99; border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; mso-border-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 423.1pt;&quot; valign=&quot;top&quot; width=&quot;564&quot;&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;CREATE DATABASE LINK &amp;lt;database link name&amp;gt; USING &#39;&amp;lt;database name&amp;gt;&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div class=&quot;SPHead1Char&quot; style=&quot;margin: 12pt 0in 3pt; mso-list: none; tab-stops: .5in; text-indent: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;SPHead1Char&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;a href=&quot;&quot; name=&quot;_Toc260650773&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-fareast-font-family: Tahoma;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: large;&quot;&gt;2&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: large;&quot;&gt;Users of Database Links&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;When you create a database link, you determine which user should connect to the remote database to access the data. &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;There are three different types of users and they are:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPSquareBullets&quot; style=&quot;margin: 0in 0in 0pt 1in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Connected user&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPSquareBullets&quot; style=&quot;margin: 0in 0in 0pt 1in;&quot;&gt;&lt;span style=&quot;color: black; font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Tahoma;&quot;&gt;Current user&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPSquareBullets&quot; style=&quot;margin: 0in 0in 0pt 1in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Tahoma;&quot;&gt;Fixed user&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;SPHead2&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;a href=&quot;&quot; name=&quot;_Toc260650774&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-fareast-font-family: Tahoma;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: medium;&quot;&gt;2.1&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: medium;&quot;&gt;Connected user&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;This link always connects as the currently connected user. This requires the user using the link to have an ID in both databases. When using a connected user link, your access is in the remote database is defined by the privileges of that ID in the remote database.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;background: #ffff99; border-bottom: medium none; border-collapse: collapse; border-left: medium none; border-right: medium none; border-top: medium none; margin: auto auto auto 41.4pt; mso-border-alt: solid windowtext .5pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 480;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 45.85pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;&lt;td style=&quot;background-color: transparent; border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 45.85pt; mso-border-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 420.85pt;&quot; valign=&quot;top&quot; width=&quot;561&quot;&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;CREATE DATABASE LINK &amp;lt;database link name&amp;gt; USING &#39;&amp;lt;remote database&amp;gt;&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;e.g.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;CREATE PUBLIC DATABASE LINK TEST USING &#39;BEADMISC&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPHead2&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;a href=&quot;&quot; name=&quot;_Toc260650775&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-fareast-font-family: Tahoma;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: medium;&quot;&gt;2.2&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: medium;&quot;&gt;Current user&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;A global user in a CURRENT_USER database link. The global user must be authenticated by an X.509 certificate (an SSL-authenticated enterprise user) or a password (a password-authenticated enterprise user), and be a user on both databases involved in the link. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin: 12pt 0in 3pt 36.9pt; text-align: justify; text-indent: -0.9pt;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 11pt; line-height: 150%; mso-ansi-language: EN-GB; mso-bidi-font-size: 12.0pt;&quot;&gt;Current user links are an aspect of the Oracle Advanced Security option.&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;background: #ffff99; border-bottom: medium none; border-collapse: collapse; border-left: medium none; border-right: medium none; border-top: medium none; margin: auto auto auto 36.9pt; mso-border-alt: solid windowtext .5pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 480;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;&lt;td style=&quot;background-color: transparent; border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; mso-border-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 425.35pt;&quot; valign=&quot;top&quot; width=&quot;567&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin: 12pt 0in 3pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 11pt; line-height: 150%; mso-ansi-language: EN-GB; mso-bidi-font-size: 12.0pt;&quot;&gt;CREATE PUBLIC DATABASE LINK &amp;lt;database link name&amp;gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;CONNECT TO CURRENT_USER using &#39;&amp;lt;remote database&amp;gt;&#39;;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div class=&quot;SPHead2&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;a href=&quot;&quot; name=&quot;_Toc260650776&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-fareast-font-family: Tahoma;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: medium;&quot;&gt;2.3&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: medium;&quot;&gt;Fixed user&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;This is the normal database link were we provide the credential of the remote database when we create the database link. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-bottom: medium none; border-collapse: collapse; border-left: medium none; border-right: medium none; border-top: medium none; margin: auto auto auto 0.5in; mso-border-alt: solid windowtext .5pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 480;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;&lt;td style=&quot;background: #ffff99; border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; mso-border-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 462.25pt;&quot; valign=&quot;top&quot; width=&quot;616&quot;&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;CREATE DATABASE LINK &amp;lt;database link name&amp;gt; CONNECT TO &amp;lt;remote user&amp;gt; IDENTIFIED BY &amp;lt;remote user password&amp;gt; USING ‘&amp;lt;Service Name&amp;gt;&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div class=&quot;SPHead1Char&quot; style=&quot;margin: 12pt 0in 3pt; mso-list: none; tab-stops: .5in; text-indent: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Tahoma; font-size: 18pt; font-variant: small-caps; mso-ansi-language: EN-GB; mso-bidi-font-size: 16.0pt; mso-bidi-language: AR-SA; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-language: EN-US; mso-font-kerning: 16.0pt;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;page-break-before: always;&quot; /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;SPHead1Char&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;a href=&quot;&quot; name=&quot;_Toc260650777&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN; mso-fareast-font-family: Tahoma;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: large;&quot;&gt;3&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: large;&quot;&gt;Privileges required&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The privileges required to create, drop, alter database link are:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 1.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Create database link&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 1.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Create public database link&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 1.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Alter database link&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 1.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Drop database link&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 1.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Alter public database link&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 1.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Drop public database link&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPHead1Char&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;a href=&quot;&quot; name=&quot;_Toc260650778&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN; mso-fareast-font-family: Tahoma;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: large;&quot;&gt;4&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: large;&quot;&gt;Monitoring database links&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in; text-align: left;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The important views that can be used to monitor database links are:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 1.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;ALL_DB_LINKS&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 1.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;DBA_DB_LINKS&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 1.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;USER_DB_LINKS&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 1.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;V$DBLINK&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 1.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;GV$DBLINK&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 1.25in; mso-list: none; tab-stops: .5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 0.25in; mso-list: none; tab-stops: .5in; text-indent: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The views ALL_DB_LINKS, DBA_DB_LINKS, USER_DB_LINKS lists all database links for the connected user, whole database and schema owner.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 0.25in; mso-list: none; tab-stops: .5in; text-indent: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 0.25in; mso-list: none; tab-stops: .5in; text-indent: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The views &lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;V&lt;/span&gt;$DBLINK and GV$DBLINK &lt;span lang=&quot;EN&quot; style=&quot;mso-ansi-language: EN;&quot;&gt;show the database link connections that are currently open in your current session:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 0.25in; mso-list: none; tab-stops: .5in; text-indent: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;SPHead2&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;a href=&quot;&quot; name=&quot;_Toc260650779&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-fareast-font-family: Tahoma;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: medium;&quot;&gt;4.1&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Tahoma; font-size: medium;&quot;&gt;&lt;strong&gt;Sample create database link&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;SPHead2&quot; style=&quot;margin: 0in 0in 0pt; mso-list: none; tab-stops: .5in; text-indent: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;CREATE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;DATABASE&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;LINK&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt; test_db_link &lt;/span&gt;&lt;span style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;CONNECT&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;TO&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 37.35pt; mso-list: none; tab-stops: .5in; text-indent: 0in;&quot;&gt;&lt;span style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;eserv &lt;/span&gt;&lt;span style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;IDENTIFIED&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;BY&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt; vre10g USING &lt;/span&gt;&lt;span style=&quot;color: red; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;&#39;beadmisc&#39;&lt;/span&gt;&lt;span style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 37.35pt; mso-list: none; tab-stops: .5in; text-indent: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt; mso-list: none; tab-stops: .5in; text-indent: 0in;&quot;&gt;&lt;shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;&lt;stroke joinstyle=&quot;miter&quot;&gt;&lt;/stroke&gt;&lt;formulas&gt;&lt;f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @0 1 0&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum 0 0 @1&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @2 1 2&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @0 0 1&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @6 1 2&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @8 21600 0&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @10 21600 0&quot;&gt;&lt;/f&gt;&lt;/formulas&gt;&lt;path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;&lt;/path&gt;&lt;lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;&lt;/lock&gt;&lt;/shapetype&gt;&lt;shape id=&quot;_x0000_i1025&quot; o:borderbottomcolor=&quot;this&quot; o:borderleftcolor=&quot;this&quot; o:borderrightcolor=&quot;this&quot; o:bordertopcolor=&quot;this&quot; style=&quot;height: 123.75pt; width: 451.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;&lt;imagedata o:title=&quot;&quot; src=&quot;file:///C:\WINDOWS\Temp\msohtml1\01\clip_image001.png&quot;&gt;&lt;/imagedata&gt;&lt;bordertop type=&quot;single&quot; width=&quot;4&quot;&gt;&lt;/bordertop&gt;&lt;borderleft type=&quot;single&quot; width=&quot;4&quot;&gt;&lt;/borderleft&gt;&lt;borderbottom type=&quot;single&quot; width=&quot;4&quot;&gt;&lt;/borderbottom&gt;&lt;borderright type=&quot;single&quot; width=&quot;4&quot;&gt;&lt;/borderright&gt;&lt;/shape&gt;&lt;/div&gt;&lt;div class=&quot;SPHead2&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;a href=&quot;&quot; name=&quot;_Toc260650780&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-fareast-font-family: Tahoma;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: medium;&quot;&gt;4.2&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: medium;&quot;&gt;To Check the database link being used&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Step 1:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Access the remote database using the link:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;select&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt; &lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;*&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt; &lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;from&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt; &lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: maroon; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;dba_db_links&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;;&lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Step 2:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in; text-align: left;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;select&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt; &lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;*&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt; &lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;from&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt; v$dblink; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The output will be displayed as in the below screen shot.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt; text-align: left;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;&lt;shape id=&quot;_x0000_i1026&quot; o:borderbottomcolor=&quot;this&quot; o:borderleftcolor=&quot;this&quot; o:borderrightcolor=&quot;this&quot; o:bordertopcolor=&quot;this&quot; style=&quot;height: 92.25pt; width: 450.75pt;&quot; type=&quot;#_x0000_t75&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;imagedata o:title=&quot;&quot; src=&quot;file:///C:\WINDOWS\Temp\msohtml1\01\clip_image003.png&quot;&gt;&lt;/imagedata&gt;&lt;bordertop type=&quot;single&quot; width=&quot;4&quot;&gt;&lt;/bordertop&gt;&lt;borderleft type=&quot;single&quot; width=&quot;4&quot;&gt;&lt;/borderleft&gt;&lt;borderbottom type=&quot;single&quot; width=&quot;4&quot;&gt;&lt;/borderbottom&gt;&lt;borderright type=&quot;single&quot; width=&quot;4&quot;&gt;&lt;/borderright&gt;&lt;/span&gt;&lt;/shape&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Some of the important columns are:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;border-bottom: medium none; border-collapse: collapse; border-left: medium none; border-right: medium none; border-top: medium none; margin: auto auto auto 43.65pt; mso-border-alt: solid windowtext .5pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 480;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 37.75pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;&lt;td style=&quot;background-color: transparent; border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 37.75pt; mso-border-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 87.75pt;&quot; valign=&quot;top&quot; width=&quot;117&quot;&gt;&lt;div align=&quot;left&quot; class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt; text-align: left;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;DB_LINK &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: windowtext 1pt solid; border-left: #d4d0c8; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; height: 37.75pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 330.85pt;&quot; valign=&quot;top&quot; width=&quot;441&quot;&gt;&lt;div align=&quot;left&quot; class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt; text-align: left;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The name of the database link.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 1;&quot;&gt;&lt;td style=&quot;background-color: transparent; border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: #d4d0c8; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 87.75pt;&quot; valign=&quot;top&quot; width=&quot;117&quot;&gt;&lt;div align=&quot;left&quot; class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt; text-align: left;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;HETROGENEOUS&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: windowtext 1pt solid; border-left: #d4d0c8; border-right: windowtext 1pt solid; border-top: #d4d0c8; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 330.85pt;&quot; valign=&quot;top&quot; width=&quot;441&quot;&gt;&lt;div align=&quot;left&quot; class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt; text-align: left;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;If yes that means the database link is pointing to a database other than oracle.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 2;&quot;&gt;&lt;td style=&quot;background-color: transparent; border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: #d4d0c8; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 87.75pt;&quot; valign=&quot;top&quot; width=&quot;117&quot;&gt;&lt;div align=&quot;left&quot; class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt; text-align: left;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;OPEN_CURSORS&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: windowtext 1pt solid; border-left: #d4d0c8; border-right: windowtext 1pt solid; border-top: #d4d0c8; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 330.85pt;&quot; valign=&quot;top&quot; width=&quot;441&quot;&gt;&lt;div align=&quot;left&quot; class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt; text-align: left;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Number of remote connections established or queries that are executed.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 3;&quot;&gt;&lt;td style=&quot;background-color: transparent; border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: #d4d0c8; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 87.75pt;&quot; valign=&quot;top&quot; width=&quot;117&quot;&gt;&lt;div align=&quot;left&quot; class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt; text-align: left;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;IN_TRANSACTION&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: windowtext 1pt solid; border-left: #d4d0c8; border-right: windowtext 1pt solid; border-top: #d4d0c8; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 330.85pt;&quot; valign=&quot;top&quot; width=&quot;441&quot;&gt;&lt;div align=&quot;left&quot; class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt; text-align: left;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;If Y it means the transaction has not been committed. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;mso-yfti-irow: 4; mso-yfti-lastrow: yes;&quot;&gt;&lt;td style=&quot;background-color: transparent; border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: #d4d0c8; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 87.75pt;&quot; valign=&quot;top&quot; width=&quot;117&quot;&gt;&lt;div align=&quot;left&quot; class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt; text-align: left;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;LOGGED_ON&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;td style=&quot;background-color: transparent; border-bottom: windowtext 1pt solid; border-left: #d4d0c8; border-right: windowtext 1pt solid; border-top: #d4d0c8; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 330.85pt;&quot; valign=&quot;top&quot; width=&quot;441&quot;&gt;&lt;div align=&quot;left&quot; class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt; text-align: left;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Is the current session open.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div align=&quot;left&quot; class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Step 3:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in; text-align: left;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;Issue a COMMIT;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in; text-align: left;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Run the below query:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in; text-align: left;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;select&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt; db_link&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;,&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;in_transaction &lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;from&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt; v$dblink;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt; text-align: left;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;shape id=&quot;_x0000_i1027&quot; o:borderbottomcolor=&quot;this&quot; o:borderleftcolor=&quot;this&quot; o:borderrightcolor=&quot;this&quot; o:bordertopcolor=&quot;this&quot; style=&quot;height: 168pt; width: 409.5pt;&quot; type=&quot;#_x0000_t75&quot;&gt;&lt;imagedata o:title=&quot;&quot; src=&quot;file:///C:\WINDOWS\Temp\msohtml1\01\clip_image005.png&quot;&gt;&lt;/imagedata&gt;&lt;bordertop type=&quot;single&quot; width=&quot;4&quot;&gt;&lt;/bordertop&gt;&lt;borderleft type=&quot;single&quot; width=&quot;4&quot;&gt;&lt;/borderleft&gt;&lt;borderbottom type=&quot;single&quot; width=&quot;4&quot;&gt;&lt;/borderbottom&gt;&lt;borderright type=&quot;single&quot; width=&quot;4&quot;&gt;&lt;/borderright&gt;&lt;/shape&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in; text-align: left;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;You will see that in_transaction column has value of NO.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPHead1Char&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;a href=&quot;&quot; name=&quot;_Toc260650781&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN; mso-fareast-font-family: Tahoma;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: large;&quot;&gt;5&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: large;&quot;&gt;Closing database links&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;If you access a database link in a session, then the link remains open until you close the session. For example:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 1.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;If 5 users/ schemas access the same public link in a local database, then 5 database link connections are open are open in the remote database.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 1.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;If 5 users/ schemas and each user access a private link, then 5 database link connections are open.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 1.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;If one user accesses 5 different links, then 5 database link connections are open.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;When you close a session, the links that were active in the session are automatically closed. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;To close the database link manually please execute the below command.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;background: #ffff99; border-bottom: medium none; border-collapse: collapse; border-left: medium none; border-right: medium none; border-top: medium none; margin: auto auto auto 0.5in; mso-border-alt: solid windowtext .5pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 480;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;&lt;td style=&quot;background-color: transparent; border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; mso-border-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 426.25pt;&quot; valign=&quot;top&quot; width=&quot;568&quot;&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;ALTER SESSION CLOSE DATABASE LINK &amp;lt;database link name&amp;gt;;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Note that this statement only closes the links that are active in your current session and the user/schema must have the alter session privilege.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;b&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Tahoma; font-size: 18pt; font-variant: small-caps; mso-ansi-language: EN-GB; mso-bidi-font-size: 16.0pt; mso-bidi-language: AR-SA; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-language: EN-US; mso-font-kerning: 16.0pt;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;page-break-before: always;&quot; /&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;SPHead1Char&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;a href=&quot;&quot; name=&quot;_Toc260650782&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN; mso-fareast-font-family: Tahoma;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: large;&quot;&gt;6&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: large;&quot;&gt;Drop database links&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The statement to drop a database link is given below:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;background: #ffff99; border-bottom: medium none; border-collapse: collapse; border-left: medium none; border-right: medium none; border-top: medium none; margin: auto auto auto 0.5in; mso-border-alt: solid windowtext .5pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 480;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;&lt;td style=&quot;background-color: transparent; border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; mso-border-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 462.25pt;&quot; valign=&quot;top&quot; width=&quot;616&quot;&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;DROP DATABASE LINK &amp;lt;database link name&amp;gt;;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.25in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; text-autospace: ideograph-numeric;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;SPHead1Char&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;a href=&quot;&quot; name=&quot;_Toc260650783&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN; mso-fareast-font-family: Tahoma;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: large;&quot;&gt;7&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: large;&quot;&gt;Limiting Active Database Link Connections&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;You can limit the number of connections from a user process to remote databases using the static initialization parameter OPEN_LINKS. This parameter controls the number of remote connections that a single user session can use concurrently in distributed transactions.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The default value for OPEN_LINKS is 4. If OPEN_LINKS is set to 0, then no distributed transactions are allowed.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;To view the OPEN_LINKS value executes the query below:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;select&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt; &lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;*&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt; &lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;from&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt; v$parameter &lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;where&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt; upper&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;(name)&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt; &lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;=&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: red; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;&#39;OPEN_LINKS&#39;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in; text-align: left;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The changes can be made to the init&amp;lt;db_name&amp;gt;.ora or can be changed dynamically by the DBAs.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPHead1Char&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;a href=&quot;&quot; name=&quot;_Toc260650784&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN; mso-fareast-font-family: Tahoma;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: large;&quot;&gt;8&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: large;&quot;&gt;Location Transparency&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;After you have configured the necessary database links, you can use various tools to hide the distributed nature of the database system from users. In other words, users can access remote objects as if they were local objects.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;To create local transparency we can use&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 1.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Views &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 1.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Synonyms &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 1.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Procedures &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt; text-indent: 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Syntax using synonym:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoTableGrid&quot; style=&quot;background: #ffff99; border-bottom: medium none; border-collapse: collapse; border-left: medium none; border-right: medium none; border-top: medium none; margin: auto auto auto 0.5in; mso-border-alt: solid windowtext .5pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 480;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;&lt;td style=&quot;background-color: transparent; border-bottom: windowtext 1pt solid; border-left: windowtext 1pt solid; border-right: windowtext 1pt solid; border-top: windowtext 1pt solid; mso-border-alt: solid windowtext .5pt; padding-bottom: 0in; padding-left: 5.4pt; padding-right: 5.4pt; padding-top: 0in; width: 462.25pt;&quot; valign=&quot;top&quot; width=&quot;616&quot;&gt;&lt;div align=&quot;left&quot; class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt; text-align: left;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;CREATE synonym &amp;lt;synonym_name&amp;gt; FOR [schema.]object_name[@database_link_name]; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;font-family: Arial; font-size: 11pt; line-height: 150%; mso-ansi-language: EN-GB; mso-bidi-font-size: 12.0pt; mso-bidi-language: AR-SA; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-language: EN-US;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;page-break-before: always;&quot; /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div align=&quot;left&quot; class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in; text-align: left;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;e.g. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in; text-align: left;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;CREATE&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt; &lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;SYNONYM&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt; test_syn &lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;FOR&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt; scott&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;.&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;emp&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;@&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;db_link_test&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: #0000f0; font-family: Courier; mso-bidi-font-family: Courier;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 37.35pt; text-indent: -1.35pt;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Similarly we can create synonyms for packages and procedures in the remote database and use them as our local copy.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPHead1Char&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;a href=&quot;&quot; name=&quot;_Toc260650785&quot;&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN; mso-fareast-font-family: Tahoma;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: large;&quot;&gt;9&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: large;&quot;&gt;Limitation of database links&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The following operations cannot be used using database links:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 1in; mso-list: l0 level2 lfo2; tab-stops: list 1.0in; text-indent: -0.25in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;1.&lt;/span&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Grant privileges on remote objects.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 1in; mso-list: l0 level2 lfo2; tab-stops: list 1.0in; text-indent: -0.25in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;2.&lt;/span&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Execute DESCRIBE operations on some remote objects except for the following objects:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 1.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Tables&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 1.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Views&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 1.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Procedures&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPProcessBullet&quot; style=&quot;margin: 0in 0in 0pt 1.25in;&quot;&gt;&lt;span style=&quot;font-family: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;§&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Functions&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 1in; mso-list: l0 level2 lfo4; tab-stops: list 1.0in; text-indent: -0.25in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;3.&lt;/span&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Analyze remote objects.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 1in; mso-list: l0 level2 lfo2; tab-stops: list 1.0in; text-indent: -0.25in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;4.&lt;/span&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Define or enforce referential integrity.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 1in; mso-list: l0 level2 lfo2; tab-stops: list 1.0in; text-indent: -0.25in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;5.&lt;/span&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Grant roles to users in a remote database.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 1in; mso-list: l0 level2 lfo2; tab-stops: list 1.0in; text-indent: -0.25in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;6.&lt;/span&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Execute hash query joins that use shared server connections.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 1in; mso-list: l0 level2 lfo2; tab-stops: list 1.0in; text-indent: -0.25in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-fareast-font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;7.&lt;/span&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Use a current user link without authentication through SSL, password, or NT native authentication.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPHead1Char&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;a href=&quot;&quot; name=&quot;_Toc260650786&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-fareast-font-family: Tahoma;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: large;&quot;&gt;10&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN&quot; style=&quot;color: black; mso-ansi-language: EN;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: large;&quot;&gt;Two-Phase Commit Mechanism&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;A database must guarantee that all statements in a transaction, distributed or non-distributed, either commit or roll back as a unit. The effects of an ongoing transaction should be invisible to all other transactions at all nodes; this transparency should be true for transactions that include any type of operation, including queries, updates, or remote procedure calls.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The general mechanisms of transaction control in a non-distributed database are discussed in the Oracle Database Concepts. In a distributed database, the database must coordinate transaction control with the same characteristics over a network and maintain data consistency, even if a network or system failure occurs. The database two-phase commit mechanism guarantees that all database servers participating in a distributed transaction either all commit or all roll back the statements in the transaction. A two-phase commit mechanism also protects implicit DML operations performed by integrity constraints, remote procedure calls, and triggers.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;SPHead1Char&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;a href=&quot;&quot; name=&quot;_Toc260650787&quot;&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;mso-fareast-font-family: Tahoma;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: large;&quot;&gt;11&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font: 7pt &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Tahoma; font-size: large;&quot;&gt;Conclusion&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;SPParaChar&quot; style=&quot;margin: 12pt 0in 3pt 0.5in;&quot;&gt;&lt;span lang=&quot;EN-GB&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The great advantage of database links is that they allow users to access another user&#39;s objects in a remote database so that they are bounded by the privilege set of the object owner. In other words, a local user can access a link to a remote database without having to be a user on the remote database. The database link provides local transparency by creating synonyms for tables, packages and procedures in the remote database. The user can access these objects just as there local objects. Overall database links provide lot of flexibility in distributed computing they must be used judiciously to gain most advantages.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/7522868942463684933/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2011/08/db-link-creation-in-oracle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/7522868942463684933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/7522868942463684933'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2011/08/db-link-creation-in-oracle.html' title='DB Link creation in Oracle'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-7039861336775662093</id><published>2011-08-02T04:56:00.000-07:00</published><updated>2011-08-02T04:56:27.802-07:00</updated><title type='text'>Unic Shell Script for Oracle DBA</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 16pt; mso-bidi-font-size: 12.0pt;&quot;&gt;Introduction:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;In Unix there are many ways to accomplish a given task. Given a problem to solve, we may be able to get to a solution in any number of ways. Of course, some will be more efficient, be more readable, use less disk space or memory, may or may not give the user feedback on what is going on or give more accurate details and more precision to the result. We are going describe the usage of various commands in Unix in Oracle point of view.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 16pt; mso-bidi-font-size: 12.0pt;&quot;&gt;What is a Shell Script?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 9.5pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;A shell is an environment in which we can run our commands, programs, and shell scripts. There are different flavors of shells, just as there are different flavors of operating systems. Each flavor of shell has its own set of recognized commands and functions.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 9.5pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;The basic concept of a shell script is a list of commands, which are listed in the order of execution. A good shell script will have comments, preceded by a pound sign, &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #272526; font-family: WileyCode-Bold; font-size: 9.5pt; mso-bidi-font-family: WileyCode-Bold; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;#&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 9.5pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;, describing the steps. Unix is case sensitive. Because Unix is case sensitive our shell scripts are also case sensitive.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 9.5pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;Shell scripts and functions are both &lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Italic; font-size: 9.5pt; mso-bidi-font-family: Palatino-Italic; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;interpreted&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 9.5pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;. This means they are not compiled. Both shell scripts and functions are ASCII text that is read by the Korn shell command interpreter. When we execute a shell script, or function, a command interpreter goes through the ASCII text line by line, loop by loop, test by test and executes each statement, as each line is reached from the top to the bottom.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 16pt; mso-bidi-font-size: 12.0pt;&quot;&gt;Unix Special Characters&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;All of the following characters have a special meaning or function. If they are used in a way that their special meaning is not needed then they must be &lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Italic; font-size: 10pt; mso-bidi-font-family: Palatino-Italic; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;escaped&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;. To escape, or remove its special function, the character must be immediately preceded with a backslash, \, or enclosed within ‘ ‘ forward tic marks (single quotes).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: WileyCode-Regular; font-size: 10pt; mso-bidi-font-family: WileyCode-Regular; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: center;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: WileyCode-Regular; font-size: 10pt; mso-bidi-font-family: WileyCode-Regular; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;\ ( ; # $ ? &amp;amp; * ( ) [ ] ` ‘ “ +&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: black; font-family: Formata-Medium; font-size: 10pt; mso-bidi-font-family: Formata-Medium; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 16pt; mso-bidi-font-size: 12.0pt;&quot;&gt;Different Types of Shells to Declare&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;#!/usr/bin/sh &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;OR &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;#!/bin/sh Declares &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;a Bourne shell&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;#!/usr/bin/ksh &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;OR &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;#!/bin/ksh Declares &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;a Korn shell&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;#!/usr/bin/csh &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;OR &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;#!/bin/csh Declares &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;a C shell&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; closure_uid_65ga2s=&quot;117&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;#!/usr/bin/bash &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;OR &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;#!/bin/bash Declares &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;a Bourne-Again shell&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; closure_uid_65ga2s=&quot;117&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;div class=&quot;Section1&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 16pt; mso-bidi-font-size: 12.0pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Control Structures&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 9.5pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;Similar to C language, The following control structures will be used extensively.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;if ... then Statement&lt;span style=&quot;mso-tab-count: 4;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if ... then ... else Statement&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;if [ test_command ]&lt;span style=&quot;mso-tab-count: 4;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if [ test_command ]&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;then&lt;span style=&quot;mso-tab-count: 6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;then&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;commands&lt;span style=&quot;mso-tab-count: 5;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;commands&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;fi&lt;span style=&quot;mso-tab-count: 6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;else&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 6;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;commands&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 3in; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;fi&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 3in; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 3in; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; closure_uid_65ga2s=&quot;117&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 12pt; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-language: EN-US;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-break-type: section-break; page-break-before: auto;&quot; /&gt;&lt;/span&gt;&lt;/b&gt;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;Section2&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;if ... then ... elif ... (else) Statement&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;if [ test_command ]&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;then&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;commands&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;elif [ test_command ]&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;then&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;commands&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;elif [ test_command ]&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;then&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;commands&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;else (Optional)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;commands&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;fi&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;for ... in Statement&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #272526; font-family: Formata-Bold; font-size: 9.5pt; mso-bidi-font-family: Formata-Bold; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;for loop_variable in argument_list&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;do&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;commands&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;done&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;while Statement&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;while test_command_is_true&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;do&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;commands&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;done&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Until Statement&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;until test_command_is_true&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;do&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;commands&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;done&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Case Statement&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;case $variable in&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;match_1)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;commands_to_execute_for_1&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;;;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;match_2)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;commands_to_execute_for_2&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;;;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;match_3)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;commands_to_execute_for_3&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;;;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;*) (Optional - any other value)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;commands_to_execute_for_no_match&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;;;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;esac&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; closure_uid_65ga2s=&quot;117&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: black; font-family: Palatino-Roman; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-family: Palatino-Roman; mso-bidi-language: AR-SA; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-break-type: section-break; page-break-before: auto;&quot; /&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Using break, continue, exit, and return&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;It is sometimes necessary to break out of a for or while loop, continue in the next block of code, exit completely out of the script, or return a function’s result back to the script that called the function. &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;break&lt;/b&gt; is used to terminate the execution of the entire loop, after completing the execution of all of the lines of code up to the break statement. It then steps down to the code following the end of the loop.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;continue&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; is used to transfer control to the next set of code, but it continues execution of the loop. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;exit&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; will do just what one would expect: It exits the entire script. An integer may be added to an exit command (for example, exit 0), which will be sent as the return code.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;return&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; is used in a function to send data back, or return a result, to the calling script.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 16pt; mso-bidi-font-size: 12.0pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Shell Script Commands&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;The basis for the shell script is the automation of a series of commands. We can execute most any command in a shell script that we can execute from the command line.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;COMMAND&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;DESCRIPTION&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;passwd&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Change user password&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;pwd&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Print current directory&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;cd&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Change directory&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;ls&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;List of files in a directory&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;wildcards&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;* matches any number of characters, ? matches a single character&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;file&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Print the type of file&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;cat&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Display the contents of a file&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;pr&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Display the contents of a file&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;pg or page&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Display the contents of a file one page at a time&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;more&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Display the contents of a file one page at a time&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;clear&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Clear the screen&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;cp or copy&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Copy a file&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;chown&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Change the owner of a file&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;chgrp&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Change the group of a file&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;chmod&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Change file modes, permissions&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;rm&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Remove a file from the system&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;mv&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Rename a file&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;mkdir&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Create a directory&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;rmdir&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Remove a directory&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;grep&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Pattern matching&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;egrep&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;grep command for extended regular expressions&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;find&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Used to locate files and directories&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Append to the end of a file&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&amp;gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Redirect, create, or overwrite a file&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;| &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Pipe, used to string commands together&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;|| &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Logical OR—command1 || command2—execute command2 if command1 fails&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&amp;amp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Execute in background&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 1.5in; mso-layout-grid-align: none; text-align: justify; text-indent: -1in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Logical AND—command1 &amp;amp;&amp;amp; command2—execute command2 if command1 succeeds&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;date&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Display the system date and time&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;echo&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Write strings to standard output&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;sleep&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Execution halts for the specified number of seconds&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;wc&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Count the number of words, lines, and characters in a file&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;head&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;View the top of a file&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;tail&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;View the end of a file&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;diff&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Compare two files&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;sdiff&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Compare two files side by side (requires 132-character display)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;spell&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Spell checker&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;lp, lpr, enq, qprt&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; Print a file&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;lpstat&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Status of system print queues&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;enable&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Enable, or start, a print queue&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;disable&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Disable, or stop, a print queue&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;cal&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Display a calendar&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;who&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Display information about users on the system&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;w&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Extended who command&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;whoami&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&lt;/span&gt;Display $LOGNAME or $USER environment parameter&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;who am I&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Display login name, terminal, login date/time, and where logged in&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;f, finger&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Information about logged-in users including the users .plan and .project&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;talk&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Two users have a split screen conversation&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;write&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Display a message on a user’s screen&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;wall&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Display a message on all logged-in users’ screens&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;rwall&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Display a message to all users on a remote host&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;rsh or remsh&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Execute a command, or log in, on a remote host&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;df&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Filesystems statistics&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;ps&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Information on currently running processes&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;netstat&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Show network status&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;vmstat&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Show virtual memory status&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;iostat&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Show input/output status&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;uname&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Name of the current operating system, as well as machine information&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;sar&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;System activity report&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;basename&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Base filename of a string parameter&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;man&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Display the on-line reference manual&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;su&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Switch to another user, also known as super-user&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;cut&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Write out selected characters&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;awk&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Programming language to parse characters&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;sed&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Programming language for character substitution&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;vi&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Start the vi editor&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;emacs&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Start the emacs editor&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 16pt; mso-bidi-font-size: 12.0pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Variables&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;Avariable is a character string to which we assign a value. The value assigned could be a number, text, filename, device, or any other type of data. A variable is nothing more than a pointer to the actual data.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Symbol Commands&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;( ) &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Run the enclosed command in a sub-shell&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;(( )) &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Evaluate and assign value to variable and do math in a shell&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;$(( )) &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Evaluate the enclosed expression&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;[ ] &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Same as the test command&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;[[ ]] &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Used for string comparison&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;$( ) &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Command substitution&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;`command` &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Command substitution&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 16pt; mso-bidi-font-size: 12.0pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Math in a Shell Script&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;We can do arithmetic in a shell script easily. The Korn shell let command and the ((expr)) command expressions are the most commonly used methods to evaluate an integer expression. Later we will also cover the bc function to do floating-point arithmetic.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 16pt; mso-bidi-font-size: 12.0pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Cron Tables&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;A cron table is a system file that is read every minute by the system and will execute any entry that is scheduled to execute in that minute. By default, any user can create a cron table with the crontab -e command, but the Systems Administrator can control which users are allowed to create and edit cron tables with the cron.allow and cron.deny files. When a user creates his or her own cron table the commands, programs, or scripts will execute in that user’s environment. It is the same thing as running the user’s $HOME/.profile before executing the command. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;The crontab -e command starts the default text editor, vi or emacs, on the user’s cron table.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 16pt; mso-bidi-font-size: 12.0pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;How to use ftp in a shell script:&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;Sometimes we want to FTP a file from one machine to another. Usually, we can do the transfer interactively, but every so often, a shell script do the file transfer. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;The problem we always encountered in scripting ftp transfers involved getting a password to the ftp server. Typical ftp client programs under Unix, Linux, Solaris and NetBSD all read the ftp password from &lt;/span&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;/dev/tty&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;&lt;h2 style=&quot;margin: auto 0in;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Example Working Script&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;#!/bin/sh&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;HOST=&#39;ftp.users.qwest.net&#39;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;USER=&#39;yourid&#39;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;PASSWD=&#39;yourpw&#39;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;FILE=&#39;file.txt&#39;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;ftp -n $HOST &amp;lt;&amp;lt;END_SCRIPT&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;quote USER $USER&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;quote PASS $PASSWD&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;put $FILE&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;quit&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;END_SCRIPT&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;exit 0&lt;/span&gt;&lt;/div&gt;&lt;pre&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/pre&gt;&lt;h2 style=&quot;line-height: 150%; margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-size: 12pt; line-height: 150%;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;The Tricks&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;Getting the password to the ftp server without having the ftp client program read the password from &lt;/span&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;/dev/tty&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; requires two tricks: &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;Using the &lt;/span&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;-n&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; option on the ftp client program to prevent the ftp client from trying to log in immediately. That way, the ftp client does not ask for a user ID and password. No use of &lt;/span&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;/dev/tty&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;Use the ftp client program command &lt;/span&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;quote&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; to send user ID and password to the ftp server. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h2 style=&quot;line-height: 150%; margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-size: 12pt; line-height: 150%;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Further Refinements&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;The above &lt;/span&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;sh&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; script will spew lots of ftp client output to standard output. Even if everything works perfectly, the user running the above script will see lots of incomprehensible text scrolling by quite rapidly. One refinement would send output to different places: &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;ftp -n $HOST &amp;gt; /tmp/ftp.worked 2&amp;gt; /tmp/ftp.failed &amp;lt;&amp;lt;END_SCRIPT&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;One could further refine error handling by acting on the ftp client program&#39;s exit status: &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;ftp -n $HOST &amp;gt; /tmp/ftp.worked 2&amp;gt; /tmp/ftp.failed &amp;lt;&amp;lt;END_SCRIPT&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;blah blah&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;END_SCRIPT&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;EXITSTATUS=$?&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;if [ $EXITSTATUS != &quot;0&quot; ]&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;then&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;# handle the error...&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;fi &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;Except that the above doesn&#39;t always work - most FTP clients always exit with a status of 0. This leads to ugly &quot;false negatives&quot;: the file transfer fails, but the script doesn&#39;t detect the problem.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;One way to verify that a file transfer took place - transfer it back:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;#!/bin/sh&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;ftp -n &amp;lt;&amp;lt; END_SCRIPT&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;open $1&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;user $2 $3&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;put $4&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;get $4 retrieval.$$&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;bye&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;END_SCRIPT&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;if [ -f retrieval.$$ ]&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;then&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;echo &quot;FTP of $4 to $1 worked&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;rm -f retrieval.$$&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;else&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;echo &quot;FTP of $4 did not work&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;fi&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;Regular FTPs there and back of large files can consume a lot of time.&lt;/span&gt;&lt;/div&gt;&lt;h2 style=&quot;margin: auto 0in;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Control of ftp by a shell script&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;One obvious improvement would have the ftp client program controlled by the shell script. I don&#39;t think that would comprise an impossible task, but we also don&#39;t think that it would have much value. Scripting ftp transfer using &lt;a href=&quot;http://expect.nist.gov/&quot;&gt;&lt;span style=&quot;color: #272526; text-decoration: none; text-underline: none;&quot;&gt;expect&lt;/span&gt;&lt;/a&gt; might cause you less pain. &lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;pre&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 14pt; mso-bidi-font-size: 12.0pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;How to Submit Concurrent Program Using CONCSUB:&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;Syntax: &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;CONCSUB &amp;lt;ORACLE ID&amp;gt; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;ResponsIbility Application Short Name&amp;gt; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;ResponsIbility Name&amp;gt; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;User Name&amp;gt; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;CONCURRENT &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;Concurrent Program Application Short Name&amp;gt; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;Concurrent Program Name&amp;gt; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[START=&amp;lt;Requested Start Date&amp;gt;] &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[REPEAT_DAYS=&amp;lt;Repeat Interval&amp;gt;] &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[REPEAT_END=&amp;lt;Request Resubmission End Date&amp;gt;] &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;Concurrent Program Arguments ...&amp;gt; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;Example to shutdown the concurrent manager &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;CONCSUB APPLSYS/FND SYSADMIN&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&#39;System Administrator&#39; SYSADMIN [WAIT={Y|N}] &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;CONCURRENT FND [SHUTDOWN|ABORT] &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;ORACLE ID: Enter the username and password of the ORACLE ID you want your concurrent program to &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;run in.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Enter the username and password without any spaces and separated by a slash (&quot;/&quot;). &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;Responsibility Application Short Name: Enter the short name of the application for your responsibility.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;This name, along with your responsibility name, will be used to select a responsibility for &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;your concurrent request to run in. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;Responsibility Name: Enter the name of your responsibility. This name, along with your responsibility &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;application short name, will be used to select a responsibility for your concurrent request to &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;run in. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;User Name: Enter the name of your Application ObjectLibrary user.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;This name will be used to update the &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Who information for any data your concurrent program changes and to create report output &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;file name for this request. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;Concurrent Program Application Short Name: Enter the short name of the application for your concurrent &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;program. This name, along with the concurrent program name, uniquely identifies the &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;concurrent program for your concurrent request. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;Concurrent Program Name: Enter the name of your concurrent program. This name, along with the &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;concurrent program application short name, uniquely identifies the concurrent program for your &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;concurrent request. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;Start Date: Specify the token START and enter the date you want the concurrent request to run, in DD- &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;MON-YY HH24:MI:SS format. Omit this argument if you want to run your concurrent request &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;immediately.^M^M&amp;lt;Repeat Interval&amp;gt; Specify the token REPEAT_DAYS and enter the time &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;interval, in days, for request resubmission. Use fractional number for intervals less than a day. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Omit this argument if you want to run your concurrent request only once. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;Request Resubmission End Date: Specify the token REPEAT_END and enter the date you want the request &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;resubmission to stop, in DD-MON-YY HH24:MI:SS format.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;This argument is used in conjunction &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;with &quot;Repeat Interval&quot;. Omit this argument if you want your request to repeat forever at an interval &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;specified by REPEAT_DAYS. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;Concurrent Program Arguments: Enter the arguments for your concurrent program.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;Sample HOST File to Submit Two concurrent Programs Using CONCSUB:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;########################################################################&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;# Set the variables for running concurrent program.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;########################################################################&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;CONCPRG=&quot;SQL_CONC_TEST&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;CONCAPP=&quot;SEAR&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;RESPAPP=&quot;SEAR&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;RESP=&quot;SMK-AR-AFFILIATE&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;USERNAM=`echo $1 | cut -d &#39; &#39; -f 5&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;| cut -d &#39;&quot;&#39; -f 2`&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;echo $CONCPRG&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;echo $CONCAPP&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;echo $RESPAPP&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;echo $RESP&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;echo $USERNAM&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;########################################################################&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;CONCMSG=`noarg CONCSUB $FCP_LOGIN \&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;$RESPAPP \&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;$RESP \&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;$USERNAM \&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WAIT=10 \&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;CONCURRENT \&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;$CONCAPP \&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;$CONCPRG`&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;########################################################################&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;# Set the variables for running concurrent program.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;########################################################################&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;CONCPRG=&quot;PLSQL_CONC_TEST&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;########################################################################&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;CONCMSG=`noarg CONCSUB $FCP_LOGIN \&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;$RESPAPP \&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;$RESP \&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;$USERNAM \&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;WAIT=10 \&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;CONCURRENT \&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;$CONCAPP \&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;$CONCPRG`&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;reqid=&quot;&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;reqid=`echo $CONCMSG | cut -d &quot; &quot; -f 3`&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;CONCMSG=`echo $CONCMSG | cut -d&#39;&quot;&#39; -f3`&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;y=&quot;&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;y=`echo $reqid | grep &quot;^[0-9]&quot;`&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;if [ $? -ne 0 ]&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;then&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;echo &quot;Failed to schedule SMARCONSS thru Control-M option ...\n&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;exit 1&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;else &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;exit 0&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;fi&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;In the above script we have taken two concurrent programs named SQL_CONC_TEST and PL/SQL_CONC_TEST both consists simple PL/SQL code. These are assigned to “SMK-AR-AFFILIATE” responsibility and its short name is “SEAR”. Here we have taken two CONCSUB commands to submit the concurrent programs.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 16pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;Mailing using UNIX Shell Script:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mailx - interactive message processing system&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;SYNOPSIS&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mailx [-BdeHiInNURvV~] [ -f&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;[file | +folder] ] [-T file] [-u user]&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;mailx [-BdFintUv~] [-b bcc] [-c cc] [-h number] [-r address] [-s subject] recipient...&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;/usr/ucb/mail ...&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;/usr/ucb/Mail ...&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;DESCRIPTION&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;The mail utilities listed above provide a comfortable, flexible environment for sending and receiving mail messages electronically.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;When reading mail, the mail utilities provide commands to facilitate saving, deleting, and responding to messages. When sending mail, the mail utilities allow editing, reviewing and other modification of the message as it is entered. Incoming mail is stored in a standard file for each user, called the mailbox for that user. When the mail utilities&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;are called to read messages, the mailbox is the default place to find them. As messages are read, they are marked to be moved to a secondary file for&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;storage,&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;unless&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;specific&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;action&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;is&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;taken,&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;so&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;that&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;the&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;messages need not be seen again. This secondary file is called the mbox and is normally located in the user&#39;s HOME directory (see MBOX in ENVIRONMENT VARIABLES for a description of this file). Messages can be saved in other secondary files named by the user. Messages remain in a secondary file until forcibly removed.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;The user can access a secondary file by using the -f option. Messages in the secondary file can then be read or otherwise processed using the same Commands as in the primary mailbox. This gives rise within these pages to the notion of a current mailbox.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;OPTIONS&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;On the command line options start with a dash (-). Any other arguments are taken to be destinations (recipients). If no recipients are specified, mailx attempts to read messages&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;from the mailbox.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-B&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Do not buffer standard input or standard output.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-b bcc &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Set the blind carbon copy list to bcc. Bcc should be enclosed in quotes if it&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;contains more than one name.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-c cc&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Set the carbon copy list to cc. cc should be enclosed in quotes if it contains more&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;than one name.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-d&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Turn on debugging output. (Neither particularly interesting nor recommended.)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-e&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Test for the presence of mail. mailx prints nothing and exits with a successful &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;return code if there is mail to read.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-F&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Record the message in a file named after the first recipient. Overrides the record&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;variable, if set (see Internal Variables).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-f [file]&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Read messages from file instead of mailbox. If no file is specified, the mbox &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;is used.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-f [ +folder]&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Use the file folder in the folder directory&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;(same as the folder command).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;The&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;name of this directory is listed in the folder variable.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-H&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Print header summary only.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-h number&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;The number of network &quot;hops&quot; made so far. This is provided for network&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;software to avoid infinite delivery loops. This option and its argument are passed&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;to the delivery program.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-I&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Include the newsgroup and article-id header lines when printing mail messages.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;This option requires the –f&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;option to be specified.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-i&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Ignore interrupts. See also ignore in Internal Variables.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-N&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Do not print initial header summary.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-n&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Do not initialize from the system default mailx.rc or Mail.rc file. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;See USAGE.: Set the Subject header field&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;to subject. Subject should be enclosed in quotes if it contains embedded white space.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-T file&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Message-id and article-id header lines are recorded in file&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;after the message is&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;read. This option also sets the -I option.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-t&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Scan the input for To:,&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Cc:,&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;and&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Bcc:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;fields.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Any recipients on the command&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;line will be ignored.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-U&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Convert UUCP-style addresses&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;to&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;internet&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;standards. Overrides the conv&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;environment variable.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-u user&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Read user&#39;s mailbox. This is only effective if&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;user&#39;s mailbox is not read protected.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-V&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Print the mailx version number and exit.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-v&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Pass the -v flag to send mail (1M).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-~&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Interpret tilde escapes in the input even if not reading from a tty.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;INT_CODE=`echo $1 | cut -f1 -d&#39; &#39;`&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;INT_REQID=`echo $1 | cut -f2 -d&#39; &#39; | cut -f2 -d&#39;=&#39;`&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;INT_REQID=`expr $INT_REQID \* 1`&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;LOGIN=`echo $1 | cut -f3 -d&#39; &#39; | cut -f2 -d &#39;&quot;&#39;`&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;USERNAME=`echo $1 | cut -f5 -d&#39; &#39; | cut -f2 -d&#39;&quot;&#39;`&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;FUSER=`echo $USERNAME | cut -c1-8`&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;PER_NAME=`echo $1 | cut -f9 -d&#39; &#39; | cut -f2 -d &#39;&quot;&#39;`&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;echo $INT_CODE&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;echo $INT_REQID&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;echo $LOGIN&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;echo $USERNAME&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;echo $FUSER&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;echo $PER_NAME&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;var=`echo $INT_CODE $INT_REQID $LOGIN $USERNAME $FUSER&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;$PER_NAME`&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;mailx -m -s $var giridhar.gedela@wipro.com&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 16pt; mso-bidi-font-family: Palatino-Roman; mso-bidi-font-size: 24.0pt; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;Reference:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none;&quot;&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 14pt; mso-bidi-font-family: Palatino-Roman; mso-bidi-font-size: 24.0pt; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;Mastering Unix Shell Scripting by&lt;/span&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #272526; font-family: Palatino-Roman; font-size: 14pt; mso-bidi-font-family: Palatino-Roman; mso-bidi-font-size: 24.0pt; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;Randal K. Michael&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Palatino-Roman; font-size: 10pt; mso-bidi-font-family: Palatino-Roman; mso-fareast-font-family: &#39;MS Mincho&#39;; mso-fareast-language: JA;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; closure_uid_65ga2s=&quot;117&quot; style=&quot;margin: 0in 0in 0pt; mso-layout-grid-align: none; text-align: justify; text-indent: 0.5in;&quot;&gt;&lt;/div&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/7039861336775662093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2011/08/unic-shell-script-for-oracle-dba.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/7039861336775662093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/7039861336775662093'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2011/08/unic-shell-script-for-oracle-dba.html' title='Unic Shell Script for Oracle DBA'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-966100284938384860</id><published>2011-08-02T04:54:00.000-07:00</published><updated>2011-08-02T04:54:17.692-07:00</updated><title type='text'>Unix for Oracle DBA</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The Article is a quick reference describing, how to create complex one-line Unix commands in addition to some most often used Unix commands used by Oracle database administrators. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h2 style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Building Unix Commands&lt;/span&gt;&lt;/h2&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;One of the most confounding things for the Unix neophyte is being confronted with a complex Unix command. The cryptic nature of Unix is such that even the most seasoned Unix professional may have trouble deciphering such a command. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Regarding the terms commands and scripts, you should note that any command may become a script if it is encapsulated into a file for execution. Hence, find . –print can be a command if executed from the prompt, or a script if placed into a file.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h2 style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Building a Complex Unix Command from Scratch&lt;/span&gt;&lt;/h2&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;A complex, one-line script is really composed of several simpler commands connected by the pipe operator (|). We will start by how to build a one-line script to kill all the Oracle processes on your server. Then we will see how to build one-line script to find files that contain a specific text string.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3 style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;A script to kill all Oracle processes&lt;/span&gt;&lt;/h3&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;This is a common Unix script used by Oracle DBAs&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;when a database is locked up, and Server Manager cannot be used to stop the database in more “gentle“ fashion.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;To begin, the Unix &lt;i&gt;kill &lt;/i&gt;command is used to kill a process. The basic format of the &lt;i&gt;kill&lt;/i&gt; command is as follows:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Kill –9 &lt;i&gt;PID1 PID2 PID3 …PIDn&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The trick is to be able to identify and kill only the Oracle processes. That’s done by stringing several commands together. The resulting one-line script looks like this:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;ps –ef|grep “ora_”|grep –v grep|grep $ORACLE_SID|&lt;br /&gt;
awk ‘{print $2}’|xargs kill –9&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;We ‘ll walk through the process of building the command. To begin, we want to get a list of active processes on the server. We can do that using the following command:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ps –ef&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;If we execute &lt;i&gt;ps –ef&lt;/i&gt; on our server, we’ ll see a long list of processes -&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;both for Oracle and for many other things. However, we want to limit your output to only those processes that are related to the Oracle Database. The &lt;i&gt;grep&lt;/i&gt; command can be used to do this. Oracle background process names always begin with “ora_”, so piping the output of &lt;i&gt;ps –ef&lt;/i&gt; through &lt;i&gt;grep “ora_”&lt;/i&gt; will remove all but the Oracle background processes. For example:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; text-indent: 0.5in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&amp;gt;ps –ef |grep “ora_”&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoHeader&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;oracle&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;12011&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Dec 06&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ora_dbwr_JAP&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoHeader&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 3.25in 301.5pt 4.75in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span lang=&quot;IT&quot; style=&quot;mso-ansi-language: IT;&quot;&gt;oracle&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;12789&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;20202&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;12:10:55&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0:00&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;grep ora_&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoHeader&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span lang=&quot;IT&quot; style=&quot;mso-ansi-language: IT;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;oracle&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;13202&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Dec 06&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ora_smon_JAP&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span lang=&quot;IT&quot; style=&quot;mso-ansi-language: IT;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;oracle&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;14983&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Dec 06&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ora_arch_JAP&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span lang=&quot;IT&quot; style=&quot;mso-ansi-language: IT;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;oracle&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;10209&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Dec 06&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ora_pmon_JAP&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span lang=&quot;IT&quot; style=&quot;mso-ansi-language: IT;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;oracle&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;2090&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Dec 06&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ora_reco_JAP&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span lang=&quot;IT&quot; style=&quot;mso-ansi-language: IT;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;oracle&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;10404&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Dec 06&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ora_lgwr_JAP&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span lang=&quot;IT&quot; style=&quot;mso-ansi-language: IT;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;oracle&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;10403&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Dec 06&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ora_dbwr_TEST&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span lang=&quot;IT&quot; style=&quot;mso-ansi-language: IT;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;oracle&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;10401&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Dec 06&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ora_lgwr_TEST&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoHeader&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;In the above output as we can see it includes the process that’s running &lt;i&gt;grep&lt;/i&gt; command. Pipe this output through &lt;i&gt;grep –v grep&lt;/i&gt; to remove the &lt;i&gt;grep&lt;/i&gt; command, so you don’t kill your own process. The –&lt;i&gt;v&lt;/i&gt; option makes &lt;i&gt;grep&lt;/i&gt; work in a way that’s opposite its usual manner. Whereas &lt;i&gt;grep&lt;/i&gt; finds and includes strings, &lt;i&gt;grep –v&lt;/i&gt; excludes strings. In this next example, we’ ll see that the &lt;i&gt;grep&lt;/i&gt; line is now missing from the output:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; text-indent: 0.5in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&amp;gt;ps –ef |grep “ora_”|grep –v grep&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoHeader&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;oracle&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;12011&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Dec 06&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ora_dbwr_JAP&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoHeader&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;oracle&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;13202&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Dec 06&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ora_smon_JAP&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;oracle&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;14983&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Dec 06&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ora_arch_JAP&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;oracle&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;10209&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Dec 06&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ora_pmon_JAP&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;oracle&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;2090&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Dec 06&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ora_reco_JAP&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;oracle&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;10404&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Dec 06&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ora_lgwr_JAP&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;oracle&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;10403&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Dec 06&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ora_dbwr_TEST&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;oracle&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;10401&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Dec 06&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ora_lgwr_TEST&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div closure_uid_eif5ng=&quot;104&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 12pt; mso-ansi-language: EN-US; mso-bidi-font-family: &#39;Times New Roman&#39;; mso-bidi-font-size: 10.0pt; mso-bidi-language: AR-SA; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-language: EN-US;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;page-break-before: always;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Next, we should filter out all processes except those for the current &lt;i&gt;ORACLE_SID&lt;/i&gt;. That way we delete the background processes only for that one instance instead of for all instances (if there are multiple database instance running). Do that by grepping for the &lt;i&gt;SID&lt;/i&gt; name:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoHeader&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; text-indent: 0.5in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&amp;gt;ps –ef |grep “ora_”|grep –v grep|grep $ORACLE_SID&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoHeader&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;oracle&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;12011&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Dec 06&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ora_dbwr_JAP&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoHeader&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;oracle&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;13202&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Dec 06&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ora_smon_JAP&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;oracle&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;14983&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Dec 06&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ora_arch_JAP&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;oracle&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;10209&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Dec 06&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ora_pmon_JAP&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;oracle&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;2090&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Dec 06&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ora_reco_JAP&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;oracle&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;10404&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Dec 06&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;…&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ora_lgwr_JAP&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Now that we have an accurate list of processes that you want to kill, you can use the &lt;i&gt;awk&lt;/i&gt; command to get the process ID (PID) for each of these processes. The PID is in the second column, so we will use the &lt;i&gt;awk ‘{print $2}’&lt;/i&gt; command to display only that column:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&amp;gt;ps –ef |grep “ora_”|grep –v grep|grep $ORACLE_SID|&lt;br /&gt;
awk ‘{print $2}’&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in; tab-stops: .5in 1.25in right 171.0pt left 202.5pt 243.0pt 301.5pt 4.75in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;12011&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;13202&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;14983&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;10209&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;2090&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;10404&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoHeader&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Now we have a list of process Id numbers for the Oracle background processes. For the last step, we use the &lt;i&gt;xargs&lt;/i&gt; command to pipe the list of PIDs to the &lt;i&gt;kill&lt;/i&gt; command. For example:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoHeader&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&amp;gt;ps –ef |grep “ora_”|grep –v grep|grep $ORACLE_SID|&lt;br /&gt;
awk ‘{print $2}’|xargs kill –9&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Now that we’ve created this compound command, we can assign it to a Unix alias or we can put it in a file and make it a shell script so that we can execute it with a single short command.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoHeader&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;border-bottom: windowtext 1pt solid; border-left: medium none; border-right: medium none; border-top: windowtext 1pt solid; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-element: para-border-div; padding-bottom: 1pt; padding-left: 0in; padding-right: 0in; padding-top: 1pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; margin: 0in 0in 0pt 0.5in; mso-border-bottom-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in; padding-bottom: 0in; padding-left: 0in; padding-right: 0in; padding-top: 0in; text-indent: -0.5in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;b&gt;Note:&lt;/b&gt; &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&lt;/span&gt;Not all shells support aliases. For example, if we are using the Bourne shell we will not be able to use aliases.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div closure_uid_eif5ng=&quot;104&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 12pt; mso-ansi-language: EN-US; mso-bidi-font-family: &#39;Times New Roman&#39;; mso-bidi-font-size: 10.0pt; mso-bidi-language: AR-SA; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-language: EN-US;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-special-character: line-break; page-break-before: always;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The following command assigns the new compound command to an alias named &lt;i&gt;kill_oracle&lt;/i&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoHeader&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;alias kill_oracle = “ps –ef |grep “ora_”|grep –v grep|grep $ORACLE_SID|awk ‘{print $2}’|xargs kill –9”&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;By placing the command to create the alias in your &lt;i&gt;.profile&lt;/i&gt; file, we’ll have it available every time you sign on to Unix. By using an alias, you encapsulate the command without the burden of placing the command into a script file. Now, entering the alias &lt;i&gt;kill_oracle &lt;/i&gt;at the command prompt will cause your command to run, which will kill all Oracle background processes for the instance to which &lt;i&gt;$ORACLE_SID&lt;/i&gt; points.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3 style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;A script to find all files containing a specific string&lt;/span&gt;&lt;/h3&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;In Unix, it is not easy to find files that contain specific strings. Now we will explore a way to quickly build a command that will allow us to find a file that contains a particular character string.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Using commands such as &lt;i&gt;xargs&lt;/i&gt;, we can quickly generate Unix scripts to perform many useful tasks. Suppose that we have created a script to create database TEST. Unfortunately, we have completely forgotten the name and location of the script file, and we need a Unix command to locate it. The example here demonstrates how you can leverage the &lt;i&gt;xargs&lt;/i&gt; command to quickly create a complex command that searches for our lost file.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;We will begin by writing a command that will display all filenames on the server. This syntax is quite simple in Unix, as the &lt;i&gt;find&lt;/i&gt; command can be used to return a list of every file on the server starting from your current directory:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;gt;find . –print&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;/home/oracle/wylie/sqlnet.log&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;/home/oracle/wylie/abc.sql&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;/home/oracle/wylie/tablespace.sql&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;/home/oracle/wylie/create1.sql&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;/home/oracle/wylie/export.dmp&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;/home/oracle/wylie/create2.sql&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;/home/oracle/wylie/create3.sql&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;/home/oracle/wylie/a.txt&lt;/span&gt;&lt;/div&gt;&lt;div closure_uid_eif5ng=&quot;104&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 12pt; mso-ansi-language: EN-US; mso-bidi-font-family: &#39;Times New Roman&#39;; mso-bidi-font-size: 10.0pt; mso-bidi-language: AR-SA; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-language: EN-US;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-special-character: line-break; page-break-before: always;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;We now have a complete list of all the Unix files under our current directory. The next step is to pipe this list of filenames to the &lt;i&gt;grep&lt;/i&gt; command to search for files containing the string CREATE_DB_TEST. Because the &lt;i&gt;grep&lt;/i&gt; command accepts a filename as an argument, you can use &lt;i&gt;xargs&lt;/i&gt; to execute a &lt;i&gt;grep&lt;/i&gt; command to search each file for the string we need:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;find . –print|xargs grep –i create_db_test&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The –i option tells &lt;i&gt;grep&lt;/i&gt; to ignore case. We can execute this new command at the Unix prompt, and we’ll see that it quickly finds the file we are seeking:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;gt;find . –print|xargs grep –i create_db_test&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;This ability to take a basic Unix command and pipe the output into another command is a fundamental principle of Unix shell programming for Oracle.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h2 style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Unix Server Environment&lt;/span&gt;&lt;/h2&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Here are some handy Unix commands that will make it easier for use to navigate in our Unix environment. Firstly we will see at commands that can be automatically executed when we sign on to Unix as the Oracle user. There is a special file in our home directory in which we can place Unix commands that we want automatically executed when we sign on to the system. If we use Korn shell, this file is named &lt;i&gt;.profile&lt;/i&gt;. if we use C shell, it will be called .&lt;i&gt;cshrc&lt;/i&gt;. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;We will also see how to create a standard Unix prompt, wrap SQL in Unix script, and write a utility to quickly change all files in a directory.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3 style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;Set a Standard Unix Prompt&lt;/span&gt;&lt;/h3&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Placing the following code snippet in our .&lt;i&gt;profile&lt;/i&gt; file will give you a Unix prompt that identifies our current server name, database name, and working directory. This can help prevent you from accidentally running a command against the wrong database. Note that I have my prompt go to a new line after displaying the information, so that I have a full 79 characters in which to type my Unix commands.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;#*********************************************************************&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;# Standard Unix Prompt&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;#*********************************************************************&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;PS1=”&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;`hostname`*\${ORACLE_SID}-\${PWD}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;gt;”&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Here is what the prompt looks like after we have executed the &lt;i&gt;PS1 &lt;/i&gt;command shown in the previous example. Note now the prompt changes when you change directories. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;agj1*JAP-/home/oracle&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;gt;pwd&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;/home/oracle&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;agj1*JAP-/home/oracle&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;gt;cd /home2/dmp/treasury&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;agj1*JAP-/home2/dmp/treasury&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3 style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;Create Useful Unix Aliases for Oracle&lt;/span&gt;&lt;/h3&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Here we will see how we can place a list of helpful Unix aliases in the &lt;i&gt;.profile&lt;/i&gt; file of a Unix Oracle User.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;An alias is a Unix shortcut whereby we can define a short name to use in place of long Unix command. For example, we can create a shortcut called “log” that would execute the Unix &lt;i&gt;cd&lt;/i&gt; (change directory) command to take us to the Unix directory where our alert log is located:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;alias log = ‘cd $DBA/$ORACLE_SID/bdump’&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The following example shows how aliases such as these can be used in place of typing a long command:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;$log&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;$pwd&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;/home/oracle/app/oracle/admin/JAP/bdump&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;$&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Any alias can be removed easily with the Unix &lt;i&gt;unalias&lt;/i&gt; command. For example, to remove the log alias, we would enter the command &lt;i&gt;unalias log&lt;/i&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoHeader&quot; style=&quot;margin: 0in 0in 0pt; tab-stops: .5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3 style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: small;&quot;&gt;Place a SQL*Plus Script in a Unix Shell Wrapper&lt;/span&gt;&lt;/h3&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Novice to Unix often find it convenient to execute SQL commands directly from the Unix prompt, without having to enter SQL*Plus each time. The following script shows how to create a Unix shell wrapper for any set of SQL*Plus commands. The Unix script in this example is named &lt;i&gt;run_sql.ksh&lt;/i&gt;, and it invokes SQL*Plus to execute a SELECT statement followed by the SQL*Plus script contained in the file &lt;i&gt;/home/oracle/abc.sql&lt;/i&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;$cat run_sql.ksh&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;#!/bin/ksh&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;#First, we must set the environment . . . . .&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;ORACLE_SID=mysid&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;export ORACLE_SID&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;ORACLE_HOME=\`cat /etc/oratab|grep ^$OARCLE_SID&lt;/span&gt;&lt;span style=&quot;font-family: Wingdings; mso-ascii-font-family: Arial; mso-char-type: symbol; mso-hansi-font-family: Arial; mso-no-proof: yes; mso-symbol-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-char-type: symbol; mso-symbol-font-family: Wingdings;&quot;&gt;K&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;cut –f2 –d’:’`&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;export ORACLE_HOME&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;PATH=$ORACLE_HOME/bin:$PATH&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;export PATH&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;$ORACLE_HOME/bin/sqlplus system/passwd&amp;lt;&amp;lt;!&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;SELECT * FROM v\$database;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;@/home/oracle/abc.sql&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;exit&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;!&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;We can also execute a script directly from the command line, provided we have set &lt;i&gt;ORACLE_HOME &lt;/i&gt;and &lt;i&gt;ORACLE_SID&lt;/i&gt; in our Unix environment. For example:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt; text-indent: 0.5in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;$sqlplus system/manager @abc&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div closure_uid_eif5ng=&quot;104&quot;&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/966100284938384860/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2011/08/unix-for-oracle-dba.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/966100284938384860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/966100284938384860'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2011/08/unix-for-oracle-dba.html' title='Unix for Oracle DBA'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-7596581768395337046</id><published>2011-07-21T02:21:00.000-07:00</published><updated>2011-07-21T03:38:14.230-07:00</updated><title type='text'>Step by Step Log Shiping Configuration</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;SQL Server Built-in Functionality&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;There are two options for configuring log shipping using the updated feature in SQL Server 2005.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;You can either use SQL Server Management Studio or stored procedures. Using the stored procedures&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;to configure log shipping was not possible in SQL Server 2000. Log shipping is included as&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;a feature in the following editions of SQL Server 2005: Developer Edition, Enterprise Edition, Standard&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Edition, and Workgroup Edition. In SQL Server 2000, log shipping was only available in the&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Developer and &lt;city w:st=&quot;on&quot;&gt;&lt;place w:st=&quot;on&quot;&gt;Enterprise&lt;/place&gt;&lt;/city&gt; Editions.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Like SQL Server 2000, SQL Server 2005 provides a way to monitor the status of your log shipping&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;pair by configuring a monitor server during the configuration of log shipping. The section “Monitoring&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Log Shipping” later in this chapter shows you how to see the status of log shipping. The only reason&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;I am mentioning it here is that where you place the monitor is a consideration for installation. It&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;can be placed on any available SQL Server 2005 instance that supports the log shipping feature. I do&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;not recommend placing it on your primary, as that would be a single point of failure. I always recommend&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;putting the log shipping monitor functionality on a completely separate server that is not the&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;primary or the secondary. The monitor is optional; so if you choose not to deploy one, there are other&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;ways of monitoring the status of log shipping. One bonus of a monitor that exists on another SQL&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Server instance is that multiple log shipping configurations can share one log shipping monitor.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;SQL Server Management Studio&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;The following steps walk you through the process of configuring log shipping via SQL Server Management Studio:&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;Step 1. &lt;/b&gt;Start SQL Server Management Studio. Expand the Databases folder, select the database that will serve as the primary, right-click the database, select Tasks, then Ship Transaction Logs&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;as shown in Figure 1. You can also select Properties, and then when the properties of&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; closure_uid_fylv3x=&quot;117&quot; closure_uid_irv63e=&quot;96&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;the database are displayed, select the Transaction Log Shipping option. With either method,&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; closure_uid_fylv3x=&quot;117&quot; closure_uid_irv63e=&quot;96&quot; dir=&quot;rtl&quot; style=&quot;margin: 0in 0in 0pt; text-align: right;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; closure_uid_fylv3x=&quot;117&quot; closure_uid_irv63e=&quot;160&quot; style=&quot;clear: both; margin: 0in 0in 0pt; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEw_rGSdbOly7OGRIMR5hIzTsRN1xxvRLUv9sNOyFnHcsY2kOymWT3lrZV3kT8ICrvE-m-mpMPUdyrQoodJnvC3bYU9KP4_MaVDT0gqsj_nHE9dO-Zh3jPew9PBRSoDTWMiNq8CyoSlFPP/s1600/untitled.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;241px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEw_rGSdbOly7OGRIMR5hIzTsRN1xxvRLUv9sNOyFnHcsY2kOymWT3lrZV3kT8ICrvE-m-mpMPUdyrQoodJnvC3bYU9KP4_MaVDT0gqsj_nHE9dO-Zh3jPew9PBRSoDTWMiNq8CyoSlFPP/s320/untitled.JPG&quot; t$=&quot;true&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; closure_uid_fylv3x=&quot;117&quot; closure_uid_irv63e=&quot;160&quot; style=&quot;clear: both; margin: 0in 0in 0pt; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; closure_uid_fylv3x=&quot;117&quot; closure_uid_irv63e=&quot;160&quot; style=&quot;clear: both; margin: 0in 0in 0pt; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1K2tQrWS-JFRJs7WtWqRF7mObFs-Lkh-4rTbyQPI8ZwGo9Wv1cUjZ0MPteNb8DUbc7t0wRyErvPjb5d-EgXUhzIdXoEz0yU7YGlxenfiFTpOTL4mYB8_oUya7bxeTiPXW7WgK_cak7X2o/s1600/untitled.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;263px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1K2tQrWS-JFRJs7WtWqRF7mObFs-Lkh-4rTbyQPI8ZwGo9Wv1cUjZ0MPteNb8DUbc7t0wRyErvPjb5d-EgXUhzIdXoEz0yU7YGlxenfiFTpOTL4mYB8_oUya7bxeTiPXW7WgK_cak7X2o/s320/untitled.JPG&quot; t$=&quot;true&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;Step 3. &lt;/b&gt;Click Backup Settings. The Transaction Log Backup Settings dialog will be displayed. In the&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Network Path to Backup Folder text box, enter the share name you created on the primary&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;computer. If you are planning on crossing domains that are not trusted for log shipping, you&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;will have to use the IP address instead of the server name in the share (e.g., \\172.22.10.1\&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;backups). If the folder is located on the same server as the SQL Server instance containing&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;the primary database, enter the path to the local backup path share. This is not necessary if&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;you are generating backups to another server or share (as I noted previously in the considerations&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;for log shipping). By default, the log shipping functionality will create a backup job&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;on the primary with the name LSBackup_dbname, where &lt;i&gt;dbname &lt;/i&gt;is the name of the primary&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;database. If you wish to change the name of the backup job, change Job Name, as&lt;/div&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 12pt; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-language: EN-US;&quot;&gt;shown in Figure3&lt;/span&gt; &lt;br /&gt;
&lt;div closure_uid_1x9f5=&quot;126&quot; closure_uid_9gzpwk=&quot;106&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div closure_uid_1x9f5=&quot;126&quot; closure_uid_3kzscg=&quot;97&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9bMh0C1Lug2FXHkC5LZ4fFupxQEDHydhSATqs860UR3i2pCL_SAcU1KExybCxqgR9Nvjq-Gs80UMdpHVDp4jjyPwrSOAgLTraAUK639j3grypC7ijyRhebsS152wHP0K91Xe_eWWnl-eo/s1600/untitled.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;298px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9bMh0C1Lug2FXHkC5LZ4fFupxQEDHydhSATqs860UR3i2pCL_SAcU1KExybCxqgR9Nvjq-Gs80UMdpHVDp4jjyPwrSOAgLTraAUK639j3grypC7ijyRhebsS152wHP0K91Xe_eWWnl-eo/s320/untitled.JPG&quot; t$=&quot;true&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;The backup job defaults to a frequency of 15 minutes. If you want to&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;change how often the backup job is executed, click Schedule. You will see a dialog similar&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;to the one in Figure 4. &lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiIWReeQFc0Ac8xwLq6kNCTYXCY5U0KfgmzkYqPCyNIQnHNOJogGnNmzbkv5TLliQreJB4Ih7uHHrKDDa3JtZtDAnx7DuscLKle8t4UGJ04PGo1ZpqQBKA2WL6NR3LvMcRCR8RenA4NVLa/s1600/untitled.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;298px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiIWReeQFc0Ac8xwLq6kNCTYXCY5U0KfgmzkYqPCyNIQnHNOJogGnNmzbkv5TLliQreJB4Ih7uHHrKDDa3JtZtDAnx7DuscLKle8t4UGJ04PGo1ZpqQBKA2WL6NR3LvMcRCR8RenA4NVLa/s320/untitled.JPG&quot; t$=&quot;true&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;Step 4. &lt;/b&gt;Click Add to begin the process of adding a secondary. You will see the Secondary Database&lt;/div&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 12pt; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-language: EN-US;&quot;&gt;Settings dialog as shown in Figure 6&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8HHGNRfikoxkgDNjnm16VZS2J4X0mTOAFmJQkY7Qm_A7E7oyWQoCxphFzYoqV7Mtwi-22pVFZ3zcPH-4tahLyFqLSlIZu-iENuch1Bs3-9TaejvXELyf6C3rM9HTK8qtvBpTx1JJ1Rp45/s1600/untitled.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;298px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8HHGNRfikoxkgDNjnm16VZS2J4X0mTOAFmJQkY7Qm_A7E7oyWQoCxphFzYoqV7Mtwi-22pVFZ3zcPH-4tahLyFqLSlIZu-iENuch1Bs3-9TaejvXELyf6C3rM9HTK8qtvBpTx1JJ1Rp45/s320/untitled.JPG&quot; t$=&quot;true&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div closure_uid_4blkzy=&quot;96&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Click Connect. You will be prompted to connect to&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;the secondary database instance as shown in Figure 7.&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXjTgWitQ2mprLh71sbmRHvDNG_ZUrOix2HV-NP-DZlOsrtAWAAsyyhG0OcpyDhl-aYMHc7ypatiXdAGZFDF0hIieedNE1gE0wYWNBHHUlkCsvGHO2__2nmg8wEDVTfb1M92felkdTB8Rk/s1600/untitled.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;233px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXjTgWitQ2mprLh71sbmRHvDNG_ZUrOix2HV-NP-DZlOsrtAWAAsyyhG0OcpyDhl-aYMHc7ypatiXdAGZFDF0hIieedNE1gE0wYWNBHHUlkCsvGHO2__2nmg8wEDVTfb1M92felkdTB8Rk/s320/untitled.JPG&quot; t$=&quot;true&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; closure_uid_fylv3x=&quot;117&quot; closure_uid_irv63e=&quot;96&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Make sure that you enter the&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;proper name or IP address of the SQL Server 2005 instance that will contain the warm&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;standby database and click Connect.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;Step 5. &lt;/b&gt;Select the Initialize Secondary Database tab of the Secondary Database Settings dialog. By&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;default, the name of the database that will be used on the secondary SQL Server instance is&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;the same as the one on the primary. You have three options:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;• Use the configuration tool to create a full backup of the primary database as shown&lt;/div&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 12pt; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-language: EN-US;&quot;&gt;in Figure 8&lt;/span&gt;&lt;br /&gt;
&lt;div closure_uid_vt2368=&quot;96&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 12pt; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; closure_uid_fylv3x=&quot;117&quot; closure_uid_irv63e=&quot;96&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg87vx1hvJWWuirn7wFQoHnqUHpjWoxY24dbycR3fkvsPe6C3oRk8LnifBnQhSRDimrHpJDO2CrYSYe7dn30fvpdagN7Kct2DiBKetnF-ddJD1fHLp7hOR3UbyVG_TLQ7zp6KNDzWce0Grp/s1600/untitled.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;285px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg87vx1hvJWWuirn7wFQoHnqUHpjWoxY24dbycR3fkvsPe6C3oRk8LnifBnQhSRDimrHpJDO2CrYSYe7dn30fvpdagN7Kct2DiBKetnF-ddJD1fHLp7hOR3UbyVG_TLQ7zp6KNDzWce0Grp/s320/untitled.JPG&quot; t$=&quot;true&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;You cannot control the name of the backup that is generated; it will&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;be &lt;i&gt;dbname&lt;/i&gt;.bak, and will be placed in the directory or share you configured in step 3.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;If you want to restore the database to a different path on the secondary, click Restore&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Options, and enter the new paths for your data and log files in the dialog as shown in&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;div closure_uid_a7kycz=&quot;111&quot;&gt;Figure 9&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3qz5dW7u8_qkrLeo_RxN_mm6cuAkBXPgAJzI4olfP9UwljydwcCcONpxBY7K3sAPd7gGGCfL4WL4PsgN9ZR2pJZCLr7o7zipEsZCKNoI-YpsEClRntkROcGJx69azJg5h0AipPUYEEvly/s1600/untitled.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;187px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3qz5dW7u8_qkrLeo_RxN_mm6cuAkBXPgAJzI4olfP9UwljydwcCcONpxBY7K3sAPd7gGGCfL4WL4PsgN9ZR2pJZCLr7o7zipEsZCKNoI-YpsEClRntkROcGJx69azJg5h0AipPUYEEvly/s320/untitled.JPG&quot; t$=&quot;true&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div closure_uid_a7kycz=&quot;111&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;&lt;stroke joinstyle=&quot;miter&quot;&gt;&lt;/stroke&gt;&lt;formulas&gt;&lt;f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @0 1 0&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum 0 0 @1&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @2 1 2&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @0 0 1&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @6 1 2&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @8 21600 0&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @10 21600 0&quot;&gt;&lt;/f&gt;&lt;/formulas&gt;&lt;path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;&lt;/path&gt;&lt;lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;&lt;/lock&gt;&lt;/shapetype&gt;&lt;shape id=&quot;_x0000_i1025&quot; style=&quot;height: 190.5pt; width: 326.25pt;&quot; type=&quot;#_x0000_t75&quot;&gt;&lt;imagedata o:title=&quot;&quot; src=&quot;file:///C:\WINDOWS\Temp\msohtml1\01\clip_image001.emz&quot;&gt;&lt;/imagedata&gt;&lt;/shape&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;. The paths you enter should be local to the secondary server, such as&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;C:\SQL Data. If you want to restore the database to a different name, enter a new&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;name in the Secondary Database drop-down/entry box.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;div class=&quot;separator&quot; closure_uid_u6q0fh=&quot;118&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVtuhEaMfUjK30ciTLOfjpOurdJxVoBHj8yRn8FlovuOn3eaAvoB0Seaq8Ug66_iI9yWFiPN2JOm5B37y454SAfN6_XOyiANoeqolNOTbwO1qrVLTWSZp-0rzGgKEVp3pEKkxqkIwhDQwI/s1600/untitled.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;287px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVtuhEaMfUjK30ciTLOfjpOurdJxVoBHj8yRn8FlovuOn3eaAvoB0Seaq8Ug66_iI9yWFiPN2JOm5B37y454SAfN6_XOyiANoeqolNOTbwO1qrVLTWSZp-0rzGgKEVp3pEKkxqkIwhDQwI/s320/untitled.JPG&quot; t$=&quot;true&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; closure_uid_u6q0fh=&quot;118&quot; style=&quot;clear: both; text-align: center;&quot;&gt;figure 10&lt;/div&gt;• Use an existing backup file and have the process restore it on the secondary server. An&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;div closure_uid_a7kycz=&quot;126&quot;&gt;example is shown in Figure 10.&lt;/div&gt;&lt;div closure_uid_a7kycz=&quot;126&quot; closure_uid_u6q0fh=&quot;97&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;shape id=&quot;_x0000_i1026&quot; style=&quot;height: 387.75pt; width: 6in;&quot; type=&quot;#_x0000_t75&quot;&gt;&lt;imagedata o:title=&quot;&quot; src=&quot;file:///C:\WINDOWS\Temp\msohtml1\01\clip_image003.emz&quot;&gt;&lt;/imagedata&gt;&lt;/shape&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;As with the previous option, you can choose to customize&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;where you will place the data and log files on the secondary. Click Restore Options.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;Note &lt;/b&gt;Both options for initializing your standby database are controlled by the settings you will configure on the&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Restore Transaction Log tab for restoring your transaction log files. For more information, see step 7.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;• Back up, copy, and restore the database on the secondary yourself with either&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;div class=&quot;separator&quot; closure_uid_qczgpd=&quot;126&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6uHKQtkEfG1ty0o5dNt8fvMGB2DMslV2SUo7Zbb-reNCdALIgJB9CIQ21Bogqldd-TWR0hAQjMwxOjKP9Z9fob2LSXOMmbcFhJMTW4bF7iShbAP-6temnj-SjeY8Imw6dh6MhWLwU-Nw9/s1600/untitled.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;287px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6uHKQtkEfG1ty0o5dNt8fvMGB2DMslV2SUo7Zbb-reNCdALIgJB9CIQ21Bogqldd-TWR0hAQjMwxOjKP9Z9fob2LSXOMmbcFhJMTW4bF7iShbAP-6temnj-SjeY8Imw6dh6MhWLwU-Nw9/s320/untitled.JPG&quot; t$=&quot;true&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; closure_uid_qczgpd=&quot;126&quot; style=&quot;clear: both; text-align: center;&quot;&gt;figure 11&lt;/div&gt;NORECOVERY or STANDBY. Select No, the Secondary Database Is Initialized, as shown in&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Figure 11&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; closure_uid_qczgpd=&quot;101&quot; closure_uid_u6q0fh=&quot;119&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;shape id=&quot;_x0000_i1027&quot; style=&quot;height: 384.75pt; width: 6in;&quot; type=&quot;#_x0000_t75&quot;&gt;&lt;imagedata o:title=&quot;&quot; src=&quot;file:///C:\WINDOWS\Temp\msohtml1\01\clip_image005.emz&quot;&gt;&lt;/imagedata&gt;&lt;/shape&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div closure_uid_qczgpd=&quot;127&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;. You must select the database you restored in the Secondary Database&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;drop-down.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;Step 6. &lt;/b&gt;Select the Copy Files tab. Enter the share name you created on the secondary to receive&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;the backup files. The log shipping functionality can&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;also delete the files copied to the secondary. The default is three days (72 hours). The&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;default job created on the secondary (so the copy is a pull, not a push) is named&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;LSCopy_primary_dbname where &lt;i&gt;primary &lt;/i&gt;is the name of the primary database instance&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;and &lt;i&gt;dbname &lt;/i&gt;is the name of the database. To modify how often the copy job is run, click&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;div closure_uid_qczgpd=&quot;128&quot;&gt;Schedule. You will see a dialog similar to the one displayed in Figure 12.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; closure_uid_qczgpd=&quot;129&quot; closure_uid_w3vcmp=&quot;105&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh64419HS0kLIymXmCiZKw5Rv9VnvOc8B2xJxfz66QaQAcwvWdLOAkDVdhW4QRZDnOdkmWg4SbumAaTU92SWmgLF1h5yihenZzyf0Ki5uiPJ8iuFF6aYLsRMa4oXS3Yo_BST7m-2lyFQuQ-/s1600/untitled.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;287px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh64419HS0kLIymXmCiZKw5Rv9VnvOc8B2xJxfz66QaQAcwvWdLOAkDVdhW4QRZDnOdkmWg4SbumAaTU92SWmgLF1h5yihenZzyf0Ki5uiPJ8iuFF6aYLsRMa4oXS3Yo_BST7m-2lyFQuQ-/s320/untitled.JPG&quot; t$=&quot;true&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;shape id=&quot;_x0000_i1028&quot; style=&quot;height: 382.5pt; width: 6in;&quot; type=&quot;#_x0000_t75&quot;&gt;&lt;imagedata o:title=&quot;&quot; src=&quot;file:///C:\WINDOWS\Temp\msohtml1\01\clip_image007.emz&quot;&gt;&lt;/imagedata&gt;&lt;/shape&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;div closure_uid_6ofr16=&quot;102&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Click OK&lt;/div&gt;&lt;div closure_uid_6ofr16=&quot;102&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf6nFSr-xKTWYVnl7TUEKQh57pEJrWlbLRAt3eY6N-qZ3MzXol-M_Tp-8xOeu_R3k-roy09q_Phz_hy0FxUSe5Te7NS1aMbU18yPaozWGYXDNRIAEzFySouDBr-284FWpdgx2Skrer-Z0f/s1600/untitled.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;287px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf6nFSr-xKTWYVnl7TUEKQh57pEJrWlbLRAt3eY6N-qZ3MzXol-M_Tp-8xOeu_R3k-roy09q_Phz_hy0FxUSe5Te7NS1aMbU18yPaozWGYXDNRIAEzFySouDBr-284FWpdgx2Skrer-Z0f/s320/untitled.JPG&quot; t$=&quot;true&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div closure_uid_6ofr16=&quot;102&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;&lt;shape id=&quot;_x0000_i1029&quot; style=&quot;height: 364.5pt; width: 6in;&quot; type=&quot;#_x0000_t75&quot;&gt;&lt;imagedata o:title=&quot;&quot; src=&quot;file:///C:\WINDOWS\Temp\msohtml1\01\clip_image009.emz&quot;&gt;&lt;/imagedata&gt;&lt;/shape&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;Step 7. &lt;/b&gt;Select the Restore Transaction Log tab. The main option you will select here is to tell the&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;restore job to apply the transaction logs using either WITH NORECOVERY or WITH STANDBY. If&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;you previously selected the option to initialize the database, whatever you selected for the&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;restore state will also be used for the restoration of the full database backup. An example is&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;div closure_uid_6ofr16=&quot;126&quot;&gt;shown in Figure 14&lt;/div&gt;&lt;div closure_uid_6ofr16=&quot;126&quot; closure_uid_8ixs8q=&quot;96&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div closure_uid_6ofr16=&quot;126&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXvi4Zl-LjIPM43gqztfjV0PlwubQAR0zV98f3Xs6p1n2WSgyX6ISsEzU2o-qijbi4ZCdPAbh738OjvEFJQxwJ3nQ6QC0bkuQoO4lRnLd0-eYKvE-N-2dRpht4VsL5-3nQMlRE8pH8_gr3/s1600/untitled.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;287px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXvi4Zl-LjIPM43gqztfjV0PlwubQAR0zV98f3Xs6p1n2WSgyX6ISsEzU2o-qijbi4ZCdPAbh738OjvEFJQxwJ3nQ6QC0bkuQoO4lRnLd0-eYKvE-N-2dRpht4VsL5-3nQMlRE8pH8_gr3/s320/untitled.JPG&quot; t$=&quot;true&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;shape id=&quot;_x0000_i1030&quot; style=&quot;height: 385.5pt; width: 6in;&quot; type=&quot;#_x0000_t75&quot;&gt;&lt;imagedata o:title=&quot;&quot; src=&quot;file:///C:\WINDOWS\Temp\msohtml1\01\clip_image011.emz&quot;&gt;&lt;/imagedata&gt;&lt;/shape&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;. The default job created on the secondary (the copy is a pull, not a&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;push) is named LSRestore_primary_dbname where &lt;i&gt;primary &lt;/i&gt;is the name of the primary&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;database instance and &lt;i&gt;dbname &lt;/i&gt;is the name of the database. To modify how often the restore&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;div closure_uid_mte5hd=&quot;228&quot;&gt;job is run, click Schedule. You will see a dialog similar to the one displayed in Figure 15.&lt;/div&gt;&lt;div closure_uid_mte5hd=&quot;228&quot; closure_uid_ugtz9m=&quot;97&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; closure_uid_8ixs8q=&quot;117&quot; closure_uid_mte5hd=&quot;227&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5TLo6ziHdZEj3bEe_1L6hiXWkC-sIZcYH403_G_YmB0x-C2RNwB4_BSCSZvuw8wc4CfSNt3o07OA7MsCk3lk9kr-wwd23QNdrSrnaKRkViek6lUrujcHStPCt3xSgVqBKEpdt0tt8gU1p/s1600/untitled.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;271px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5TLo6ziHdZEj3bEe_1L6hiXWkC-sIZcYH403_G_YmB0x-C2RNwB4_BSCSZvuw8wc4CfSNt3o07OA7MsCk3lk9kr-wwd23QNdrSrnaKRkViek6lUrujcHStPCt3xSgVqBKEpdt0tt8gU1p/s320/untitled.JPG&quot; t$=&quot;true&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;shape id=&quot;_x0000_i1031&quot; style=&quot;height: 368.25pt; width: 6in;&quot; type=&quot;#_x0000_t75&quot;&gt;&lt;imagedata o:title=&quot;&quot; src=&quot;file:///C:\WINDOWS\Temp\msohtml1\01\clip_image013.emz&quot;&gt;&lt;/imagedata&gt;&lt;/shape&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Click OK when finished modifying the schedule.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;Note &lt;/b&gt;If you select the WITH STANDBY option for your restore, and the user configuring log shipping does&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;div class=&quot;separator&quot; closure_uid_1hrs25=&quot;124&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipFQ528i4PFUORqa80qGzF4NnVseh6EVURwMYhfvskoeoHw_ZneSh3IxfzmA0Q8LjdQPYw4b_mD1hNDbIPiRAie5KdQvmtpN3ZiR3psd6qQftDgByRfMq-oicvAm8xU1KElPouY-ilXKRa/s1600/untitled.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;133px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipFQ528i4PFUORqa80qGzF4NnVseh6EVURwMYhfvskoeoHw_ZneSh3IxfzmA0Q8LjdQPYw4b_mD1hNDbIPiRAie5KdQvmtpN3ZiR3psd6qQftDgByRfMq-oicvAm8xU1KElPouY-ilXKRa/s320/untitled.JPG&quot; t$=&quot;true&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; closure_uid_1hrs25=&quot;124&quot; style=&quot;clear: both; text-align: center;&quot;&gt;figure 16&lt;/div&gt;not have the proper rights for both SQL Server instances, you should see a message similar to the one in&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;div closure_uid_mte5hd=&quot;110&quot;&gt;Figure 16.&lt;/div&gt;&lt;div closure_uid_1hrs25=&quot;112&quot; closure_uid_mte5hd=&quot;110&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div closure_uid_mte5hd=&quot;110&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;&lt;shape id=&quot;_x0000_i1032&quot; style=&quot;height: 179.25pt; width: 431.25pt;&quot; type=&quot;#_x0000_t75&quot;&gt;&lt;imagedata o:title=&quot;&quot; src=&quot;file:///C:\WINDOWS\Temp\msohtml1\01\clip_image015.emz&quot;&gt;&lt;/imagedata&gt;&lt;/shape&gt;step&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;8. &lt;/b&gt;Click OK on the Secondary Database Settings dialog to return to the main transaction log&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;shipping screen. To configure a monitor, select the option Use a Monitor Server Instance.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;This is optional; however, as noted previously, if you do not create the monitor now, you&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;cannot add it later. The display will be similar to the one in Figure 17. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; closure_uid_4otukt=&quot;96&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;shape id=&quot;_x0000_i1033&quot; style=&quot;height: 309.75pt; width: 431.25pt;&quot; type=&quot;#_x0000_t75&quot;&gt;&lt;imagedata o:title=&quot;&quot; src=&quot;file:///C:\WINDOWS\Temp\msohtml1\01\clip_image017.emz&quot;&gt;&lt;/imagedata&gt;&lt;/shape&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUMElnvl_BL_DvUWfykIixl76dcTUcxSpyGPbJAnzbMQpJ3jtmITXE89Wt_0Di-1HX3KCqcG8AEAg_dgnIHG9H92q2aSMlXtKke7ElFwKSMc_5bbiGJ5mr2y7YTTn1dk2_Xl493ZpMbISr/s1600/untitled.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;229px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUMElnvl_BL_DvUWfykIixl76dcTUcxSpyGPbJAnzbMQpJ3jtmITXE89Wt_0Di-1HX3KCqcG8AEAg_dgnIHG9H92q2aSMlXtKke7ElFwKSMc_5bbiGJ5mr2y7YTTn1dk2_Xl493ZpMbISr/s320/untitled.JPG&quot; t$=&quot;true&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;div closure_uid_1hrs25=&quot;123&quot;&gt;If you create a&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;monitor, click Settings. Otherwise, skip to step 10.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;Step 9. &lt;/b&gt;On the Log Shipping Monitor Settings dialog shown in Figure 18,&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;shape id=&quot;_x0000_i1034&quot; style=&quot;height: 405pt; width: 6in;&quot; type=&quot;#_x0000_t75&quot;&gt;&lt;imagedata o:title=&quot;&quot; src=&quot;file:///C:\WINDOWS\Temp\msohtml1\01\clip_image019.emz&quot;&gt;&lt;/imagedata&gt;&lt;/shape&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;div closure_uid_ccpuw7=&quot;101&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;click Connect. &lt;/div&gt;&lt;div closure_uid_ccpuw7=&quot;101&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtVSgSluA3reQ1nnZP0i5iwXI_ZFSwC4-N3TsB6tzitctr8Am4y7C1m14E0nXIOm8K86LiNOi2zH3xwCBbpejV911bL6SmkVuwNOMl8gWVAAjtoEnZ0uL7w55x16GYd_QXqmprI-t3dwLU/s1600/untitled.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtVSgSluA3reQ1nnZP0i5iwXI_ZFSwC4-N3TsB6tzitctr8Am4y7C1m14E0nXIOm8K86LiNOi2zH3xwCBbpejV911bL6SmkVuwNOMl8gWVAAjtoEnZ0uL7w55x16GYd_QXqmprI-t3dwLU/s320/untitled.JPG&quot; t$=&quot;true&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div closure_uid_ccpuw7=&quot;101&quot;&gt;You will&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;be prompted to connect to the SQL Server instance that will contain the monitor. An example&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;div closure_uid_ccpuw7=&quot;123&quot;&gt;is shown in Figure 19.&lt;/div&gt;&lt;div closure_uid_ccpuw7=&quot;123&quot; closure_uid_w0mjjo=&quot;97&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-4mZS0Qx1NdKCxfq3MgjAn58xt98ZdTd8MVawGORRB2rOH2lf9JPT_n0T3G64694ph9caXy6C98ENAILFyWN4rOvuz8TrvRIQHzBntSxlFdU50nXtx0OmYgobsdCHSmgeKhQhkPU6xDgL/s1600/untitled.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;236px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-4mZS0Qx1NdKCxfq3MgjAn58xt98ZdTd8MVawGORRB2rOH2lf9JPT_n0T3G64694ph9caXy6C98ENAILFyWN4rOvuz8TrvRIQHzBntSxlFdU50nXtx0OmYgobsdCHSmgeKhQhkPU6xDgL/s320/untitled.JPG&quot; t$=&quot;true&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div closure_uid_w0mjjo=&quot;107&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;shape id=&quot;_x0000_i1035&quot; style=&quot;height: 226.5pt; width: 308.25pt;&quot; type=&quot;#_x0000_t75&quot;&gt;&lt;imagedata o:title=&quot;&quot; src=&quot;file:///C:\WINDOWS\Temp\msohtml1\01\clip_image021.emz&quot;&gt;&lt;/imagedata&gt;&lt;/shape&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Click Connect. You should now see the dialog updated, as&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;shown in Figure 20. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; closure_uid_dfihj9=&quot;111&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;shape id=&quot;_x0000_i1036&quot; style=&quot;height: 406.5pt; width: 6in;&quot; type=&quot;#_x0000_t75&quot;&gt;&lt;imagedata o:title=&quot;&quot; src=&quot;file:///C:\WINDOWS\Temp\msohtml1\01\clip_image023.emz&quot;&gt;&lt;/imagedata&gt;&lt;/shape&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuvGeU04DVSBZN4pDrsPrsfKHnhKtek59Q4ZbbRusexJGl7Ag5kB6TZrLnCvLl4lFfHZeS4l0oWxI52MzirzM4tuV7q7vsJ6NQ3LgJv_uVA645wHT75ZXFJbLZEZq8ReHTQSHCmGS7bypc/s1600/untitled.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuvGeU04DVSBZN4pDrsPrsfKHnhKtek59Q4ZbbRusexJGl7Ag5kB6TZrLnCvLl4lFfHZeS4l0oWxI52MzirzM4tuV7q7vsJ6NQ3LgJv_uVA645wHT75ZXFJbLZEZq8ReHTQSHCmGS7bypc/s320/untitled.JPG&quot; t$=&quot;true&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Select how the primary and secondary instances will connect to the&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;monitor. On the monitor, the alert job will be configured with the name LSAlert_InsName&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;by default, where &lt;i&gt;InsName &lt;/i&gt;is the name of your SQL Server instance. You can change this if&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;you wish. Click OK to close the Log Shipping Monitor Settings dialog.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;Step 10. &lt;/b&gt;Click OK to start configuring log shipping as shown in the dialog in Figure 21.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; closure_uid_1uk64q=&quot;97&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYwWoZZD6eye2fn9oTWCiPnOkVsNrgLy-C1AnsCJzkNKT2j7ypnVTMcMtbPOfbdmXfE-cOZTaGWNvjRSAploDVVKTSjwe9kFmGRCVeld2_Kb1zkZiGWuyegXVZ8xk-Csq9tEWz5A_bgzju/s1600/untitled.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;228px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYwWoZZD6eye2fn9oTWCiPnOkVsNrgLy-C1AnsCJzkNKT2j7ypnVTMcMtbPOfbdmXfE-cOZTaGWNvjRSAploDVVKTSjwe9kFmGRCVeld2_Kb1zkZiGWuyegXVZ8xk-Csq9tEWz5A_bgzju/s320/untitled.JPG&quot; t$=&quot;true&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;shape id=&quot;_x0000_i1037&quot; style=&quot;height: 310.5pt; width: 431.25pt;&quot; type=&quot;#_x0000_t75&quot;&gt;&lt;imagedata o:title=&quot;&quot; src=&quot;file:///C:\WINDOWS\Temp\msohtml1\01\clip_image025.emz&quot;&gt;&lt;/imagedata&gt;&lt;/shape&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;11. &lt;/b&gt;Once log shipping is successfully configured, you will see a dialog similar to the one in&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Figure 22. Click Close.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; closure_uid_1uk64q=&quot;142&quot; closure_uid_yd299h=&quot;111&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg06wTppQv5tpJbNw_cfEfXlO5FropkrFjZNAzHzJ6K3sp39mKwMryPFk5IV2nFYwqGBjn6G348B8lTJKaMDXjIO1eGmFP5b0mkBcTxu2s445iWS4Jgzb9n30JnZBvaAp2Pmt1hGxH41IJm/s1600/untitled.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;162px&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg06wTppQv5tpJbNw_cfEfXlO5FropkrFjZNAzHzJ6K3sp39mKwMryPFk5IV2nFYwqGBjn6G348B8lTJKaMDXjIO1eGmFP5b0mkBcTxu2s445iWS4Jgzb9n30JnZBvaAp2Pmt1hGxH41IJm/s320/untitled.JPG&quot; t$=&quot;true&quot; width=&quot;320px&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;shape id=&quot;_x0000_i1038&quot; style=&quot;height: 218.25pt; width: 6in;&quot; type=&quot;#_x0000_t75&quot;&gt;&lt;imagedata o:title=&quot;&quot; src=&quot;file:///C:\WINDOWS\Temp\msohtml1\01\clip_image027.emz&quot;&gt;&lt;/imagedata&gt;&lt;/shape&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;Figure 22. &lt;/b&gt;&lt;i&gt;Successful completed log shipping configuration&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Transact-SQL&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;As with most features in SQL Server 2005, you can set things up either via SQL Server Management&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Studio or through Transact-SQL. To configure log shipping, you will use the stored procedures&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;Stored Procedure Server&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;sp_add_log_shipping_primary_database Primary&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;sp_add_schedule Primary&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;sp_add_log_shipping_primary_secondary Primary&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;sp_add_log_shipping_alert_job Monitor (optional)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;sp_add_log_shipping_secondary_primary Secondary&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;sp_add_jobschedule Secondary&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;sp_add_log_shipping_secondary_database Secondary&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;Note &lt;/b&gt;If you look in both the master and msdb databases, you may see other system stored procedures that&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;relate to log shipping (e.g., sys.sp_processlogshippingmonitorhistory). These procedures are used by log&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;shipping and are called within some of the stored procedures used for installing, running, and maintaining log&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;shipping. These are not documented since you would never actually use them yourself.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;The easiest way to see how log shipping is scripted is to do it through SQL Server Management&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Studio once and then generate a script. The stored procedures listed earlier .&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;in SQL Server 2005 Books Online, and going through them here does not make a lot of sense.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;&lt;u&gt;Custom Log Shipping&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;As noted earlier, you can also code your own log shipping process. I have written scripts for you to&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;use or use as an example; they can be found on the Apress site in the Source Code/Download section.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;The log shipping process I wrote is a tad different than but similar to Microsoft’s built-in&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;feature. One of the main problems I have with canned features such as the built-in implementation&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;in SQL Server 2005 is that it requires you to change any maintenance you may have in place already.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;You cannot just hook into an existing transaction log backup that is already being done. The scripts&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;on the Apress site allow you to use your existing transaction log backup job. You also do not have as&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;much control over the copy process since it is pretty much a black box. My scripts are a combination&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;of SQL Server stored procedures and VBScript that is used to perform the copying.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;&lt;u&gt;Postconfiguration Tasks&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;After you configure log shipping, you will need to ensure that all objects that live outside of the primary&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;database are also configured on your secondary (or &lt;i&gt;secondaries &lt;/i&gt;if you are log shipping to more&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;than one server). If you do not do this, your database may not function properly if you ever need to&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;bring it online. The easiest way to do most tasks is to create scripts, modify them if necessary, and&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;apply them to the secondary instance. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Once you select the object to script, you will have three options: script to a query window,&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;script to a file, or script to the clipboard. The easiest option is to script the object directly to a file,&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;but if you are trying to create a master script to create all objects, you may want to script it to the&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;clipboard or to a query window and manipulate it that way.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;If an object cannot be scripted from Management Studio, such as an SSIS package, you will&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;need to find what the best method is for getting that object over to the secondary. The easiest way is&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;always to get it into some sort of file in Windows and then copy it to the other server and apply it.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;&lt;u&gt;Administering Log Shipping&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Once you get log shipping set up, you will need to administer and maintain it. There are two methods&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;for hiding the server name change in a log shipping role change: Network Load Balancing and&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;configuring a DNS alias. Since these techniques apply to more than just log shipping, they are covered.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;configured on the same hardware as a failover cluster; so if any of the instances are nodes of a&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;failover cluster, you cannot use this method to abstract the instance name change.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;b&gt;&lt;u&gt;Monitoring Log Shipping&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;One major change from SQL Server 2000 Enterprise Edition is the way you monitor log shipping.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;SQL Server 2000 shipped with a Log Shipping Monitor that when installed showed you in an interface&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;the status of your log shipped pair. SQL Server 2005 removes the graphic interface, but you&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;can query tables or use stored procedures.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Job Status&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Arguably the simplest way to first check the status of log shipping for most administrators will be&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;to see the status of the SQL Server Agent jobs involved with log shipping. Those will tell you if the&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;configured jobs are actually running successfully or are failing. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;If you do not want to use any of the available stored procedures to monitor your log shipping configuration,&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;you can query the system tables (log shipping–specific tables, tables relating to jobs, etc.)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;that contain information about log shipping directly. All of the tables are located in msdb. The tables&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;specific to log shipping are the following:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;• msdb.dbo.log_shipping_monitor_alert: This table contains only one column, which is the&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;SQL Server Agent job ID of the log shipping alert job.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;• msdb.dbo.log_shipping_monitor_error_detail: This table contains the specific SQL Server&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Agent job errors encountered during log shipping.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;• msdb.dbo.log_shipping_monitor_history_detail: This table contains the history details for&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;the SQL Server Agent jobs associated with the log shipping plans.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;• msdb.dbo.log_shipping_monitor_primary: This table contains configuration information&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;about the primary database, and there is only one record per primary.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;• msdb.dbo.log_shipping_monitor_secondary: Similar to the previous table, this contains one&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;record per secondary and has information about the configuration of the secondary.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;• msdb.dbo.log_shipping_primaries: This table contains the monitor information for each log&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;shipping plan.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;• msdb.dbo.log_shipping_primary_databases: This table contains one record per primary, and&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;has information about the primary database.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;• msdb.dbo.log_shipping_primary_secondaries: This table contains one record per primary,&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;and has information about the secondary database.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;• msdb.dbo.log_shipping_secondaries: This table has the mappings from the log shipping&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;plan to the secondary instance and database.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;• msdb.dbo.log_shipping_secondary: This table contains information about the secondary and&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;its status. There is one record per database.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;• msdb.dbo.log_shipping_secondary_databases: This table contains configuration information&lt;/div&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 12pt; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-language: EN-US;&quot;&gt;about the secondary database. There is one record per configuration&lt;/span&gt; &lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 12pt; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: &#39;Times New Roman&#39;; mso-fareast-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/7596581768395337046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2011/07/step-by-step-log-shiping-configuration.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/7596581768395337046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/7596581768395337046'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2011/07/step-by-step-log-shiping-configuration.html' title='Step by Step Log Shiping Configuration'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEw_rGSdbOly7OGRIMR5hIzTsRN1xxvRLUv9sNOyFnHcsY2kOymWT3lrZV3kT8ICrvE-m-mpMPUdyrQoodJnvC3bYU9KP4_MaVDT0gqsj_nHE9dO-Zh3jPew9PBRSoDTWMiNq8CyoSlFPP/s72-c/untitled.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-6326003404101051973</id><published>2011-07-20T05:05:00.002-07:00</published><updated>2011-07-20T05:05:53.557-07:00</updated><title type='text'>Newly created SQL object Details  for last Week</title><content type='html'>PRINT &#39;==========================&#39;&lt;br /&gt;
PRINT &#39;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SQL objectDetails&amp;nbsp;&amp;nbsp;&amp;nbsp; &#39; &lt;br /&gt;
PRINT &#39;==========================&#39;&lt;br /&gt;
select CONVERT(VARCHAR(35), name)&quot;Name&quot; ,xtype , crdate from&amp;nbsp; sysobjects&amp;nbsp; where crdate &amp;gt;= getdate() -7</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/6326003404101051973/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2011/07/newly-created-sql-object-details-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/6326003404101051973'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/6326003404101051973'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2011/07/newly-created-sql-object-details-for.html' title='Newly created SQL object Details  for last Week'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-5410489671310746112</id><published>2011-07-20T05:05:00.000-07:00</published><updated>2011-07-20T05:05:00.476-07:00</updated><title type='text'>Find out any Login created or updated in last week</title><content type='html'>PRINT &#39;==========================&#39;&lt;br /&gt;
print &#39;&amp;nbsp;&amp;nbsp; LOGIN UPDATE DETAILS&amp;nbsp;&amp;nbsp; &#39;&lt;br /&gt;
PRINT &#39;==========================&#39;&lt;br /&gt;
select CONVERT(VARCHAR(15), loginname) loginname,CONVERT(VARCHAR(10), dbname) dbname, updatedate&amp;nbsp; from master..syslogins&amp;nbsp;&amp;nbsp; where&amp;nbsp; convert(varchar(8),updatedate,112)&amp;gt;&amp;nbsp;&amp;nbsp; convert(varchar(8),getdate()- 7,112) and createdate &amp;lt;&amp;gt; updatedate&lt;br /&gt;
PRINT &#39;==========================&#39;&lt;br /&gt;
print &#39;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOGIN DETAILS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &#39;&lt;br /&gt;
PRINT &#39;==========================&#39;&lt;br /&gt;
select CONVERT(VARCHAR(15), loginname) loginname, CONVERT(VARCHAR(10), dbname) dbname, createdate from master..syslogins&amp;nbsp;&amp;nbsp; where convert(varchar(8),createdate,112) &amp;gt; convert(varchar(8),getdate()- 7,112)</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/5410489671310746112/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2011/07/find-out-any-login-created-or-updated.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/5410489671310746112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/5410489671310746112'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2011/07/find-out-any-login-created-or-updated.html' title='Find out any Login created or updated in last week'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-7545127554035943055</id><published>2011-07-20T05:03:00.002-07:00</published><updated>2011-07-20T05:03:58.355-07:00</updated><title type='text'>find out New created Maintanance plan&amp;Jobs in week</title><content type='html'>PRINT &#39;====================================&#39;&lt;br /&gt;
PRINT &#39;New created Maintanance plan in week&#39;&lt;br /&gt;
PRINT &#39;====================================&#39;&lt;br /&gt;
select CONVERT(VARCHAR(25), plan_name)&amp;nbsp; plan_name,date_created&amp;nbsp; &lt;br /&gt;
from msdb..sysdbmaintplans&amp;nbsp; &lt;br /&gt;
where convert(varchar(8),date_created,112)&amp;gt; convert(varchar(8),getdate()- 7,112)&lt;br /&gt;
PRINT &#39;==========================&#39;&lt;br /&gt;
PRINT &#39;&amp;nbsp; New created Job in week &#39;&lt;br /&gt;
PRINT &#39;==========================&#39;&lt;br /&gt;
select * from&amp;nbsp; msdb..sysjobs where date_created &amp;gt; convert(varchar,getdate()-7,101)</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/7545127554035943055/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2011/07/find-out-new-created-maintanance-plan.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/7545127554035943055'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/7545127554035943055'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2011/07/find-out-new-created-maintanance-plan.html' title='find out New created Maintanance plan&amp;Jobs in week'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-7921438713948826014</id><published>2011-07-20T05:03:00.000-07:00</published><updated>2011-07-20T05:03:08.435-07:00</updated><title type='text'>Backup time details for database in Sql Server</title><content type='html'>PRINT &#39;================================&#39;&lt;br /&gt;
PRINT &#39;&amp;nbsp;&amp;nbsp;&amp;nbsp; Backup time for database&#39;&lt;br /&gt;
PRINT &#39;================================&#39;&lt;br /&gt;
SELECT database_name,backup_size,backup_start_date,backup_finish_date,convert(decimal(5,2),datediff(ss,backup_start_date,backup_finish_date)/60.00) &quot;Backup time&quot;&lt;br /&gt;
from msdb.dbo.backupset&lt;br /&gt;
where convert(varchar,backup_start_date,101)=convert(varchar,getdate()-1,101)&lt;br /&gt;
order by backup_start_date desc</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/7921438713948826014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2011/07/backup-time-details-for-database-in-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/7921438713948826014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/7921438713948826014'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2011/07/backup-time-details-for-database-in-sql.html' title='Backup time details for database in Sql Server'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-3928118361228534363</id><published>2011-07-20T05:01:00.002-07:00</published><updated>2011-07-20T05:01:51.035-07:00</updated><title type='text'>&#39;TOP TABLES IN EACH DATABASE     in Sql Server</title><content type='html'>PRINT &#39;================================&#39;&lt;br /&gt;
PRINT &#39;TOP TABLES IN EACH DATABASE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &#39;&lt;br /&gt;
PRINT &#39;================================&#39;&lt;br /&gt;
SET NOCOUNT ON&lt;br /&gt;
DECLARE @CMD NVARCHAR(4000)&lt;br /&gt;
PRINT &#39;Successful Jobs in the Instance&#39; &lt;br /&gt;
set @CMD=&#39;select CONVERT(VARCHAR(35), b.name), run_date, a.step_id&amp;nbsp; from msdb..sysjobhistory a,msdb..sysjobs b where a.job_id = b.job_id and a.run_date = convert(varchar(8),getdate()- 1,112) and run_status = 0 and b.job_id in(select job_id from msdb..sysjobs)&#39;&lt;br /&gt;
EXEC SP_EXECUTESQL @CMD&lt;br /&gt;
GO&lt;br /&gt;
DECLARE NM CURSOR LOCAL STATIC FOR&lt;br /&gt;
SELECT NAME FROM SYSDATABASES&lt;br /&gt;
DECLARE @DN VARCHAR(50)&lt;br /&gt;
DECLARE @CMD1 NVARCHAR(4000)&lt;br /&gt;
DECLARE @CMD2 NVARCHAR(4000)&lt;br /&gt;
DECLARE @CMD3 NVARCHAR(4000)&lt;br /&gt;
PRINT &#39;&#39;&lt;br /&gt;
OPEN NM&lt;br /&gt;
FETCH NEXT FROM NM INTO @DN&lt;br /&gt;
WHILE @@FETCH_STATUS=0&lt;br /&gt;
BEGIN&lt;br /&gt;
PRINT &#39;Top Object for Database &#39; + @DN &lt;br /&gt;
SET @CMD1=&#39;select top 10&amp;nbsp; CONVERT(VARCHAR(35), name) &quot;Tablename&quot;, (convert(bigint,sum(reserved))*8192/1024/1024) &quot;Reserved Size(MB)&quot;, sum(rows) &quot;Total Rows&quot; from &lt;a href=&quot;mailto:&#39;+@DN+&#39;..sysindexes&quot;&gt;&#39;+@DN+&#39;..sysindexes&lt;/a&gt;&amp;nbsp;&amp;nbsp; where indid in (0,1,255) group by&amp;nbsp; name order by 3 desc&#39;&lt;br /&gt;
EXEC SP_EXECUTESQL @CMD1&lt;br /&gt;
FETCH NEXT FROM NM INTO @DN&lt;br /&gt;
END&lt;br /&gt;
CLOSE NM&lt;br /&gt;
DEALLOCATE NM&lt;br /&gt;
GO</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/3928118361228534363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2011/07/top-tables-in-each-database-in-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/3928118361228534363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/3928118361228534363'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2011/07/top-tables-in-each-database-in-sql.html' title='&#39;TOP TABLES IN EACH DATABASE     in Sql Server'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-2842295343075597534</id><published>2011-07-20T05:01:00.000-07:00</published><updated>2011-07-20T05:01:10.773-07:00</updated><title type='text'>&#39;SPACE DETAILS OF DATABASES&#39; in Sql Server</title><content type='html'>PRINT &#39;==========================&#39;&lt;br /&gt;
PRINT &#39;SPACE DETAILS OF DATABASES&#39;&lt;br /&gt;
PRINT &#39;==========================&#39;&lt;br /&gt;
EXEC sp_msforeachdb @command1=&quot;use ? exec sp_spaceused&quot;&lt;br /&gt;
&lt;br /&gt;
PRINT &#39;==========================&#39;&lt;br /&gt;
PRINT &#39;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATABASE DETAILS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &#39;&lt;br /&gt;
PRINT &#39;==========================&#39;&lt;br /&gt;
SET NOCOUNT ON&lt;br /&gt;
DECLARE NM CURSOR LOCAL STATIC FOR&lt;br /&gt;
SELECT NAME FROM SYSDATABASES&lt;br /&gt;
DECLARE @DN VARCHAR(50)&lt;br /&gt;
DECLARE @CMD1 NVARCHAR(4000)&lt;br /&gt;
PRINT &#39;&#39;&lt;br /&gt;
OPEN NM&lt;br /&gt;
FETCH NEXT FROM NM INTO @DN&lt;br /&gt;
WHILE @@FETCH_STATUS=0&lt;br /&gt;
BEGIN&lt;br /&gt;
print &#39;DB Details &#39; + @DN&lt;br /&gt;
set @CMD1=&#39;select CONVERT(VARCHAR(35), a.name)Name,CONVERT(VARCHAR(8),filegroup_name(a.groupid)),(a.size * 8)total_size ,b.spaceused from &lt;a href=&quot;mailto:&#39;+@DN+&#39;..sysfiles&quot;&gt;&#39;+@DN+&#39;..sysfiles&lt;/a&gt; a, ( select groupid, sum(reserved) spaceused from &lt;a href=&quot;mailto:&#39;+@DN+&#39;..sysindexes&quot;&gt;&#39;+@DN+&#39;..sysindexes&lt;/a&gt; where indid in (0,1,255) group by groupid ) b&amp;nbsp;&amp;nbsp; where a.groupid = b.groupid&#39;&lt;br /&gt;
EXEC SP_EXECUTESQL @CMD1&lt;br /&gt;
FETCH NEXT FROM NM INTO @DN&lt;br /&gt;
END&lt;br /&gt;
CLOSE NM&lt;br /&gt;
DEALLOCATE NM&lt;br /&gt;
GO</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/2842295343075597534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2011/07/space-details-of-databases-in-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/2842295343075597534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/2842295343075597534'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2011/07/space-details-of-databases-in-sql.html' title='&#39;SPACE DETAILS OF DATABASES&#39; in Sql Server'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-6544372375045446652</id><published>2011-07-20T02:57:00.000-07:00</published><updated>2011-07-20T02:57:44.669-07:00</updated><title type='text'>Sql Server Database Backup types :</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Monospace821BT-Roman; mso-bidi-font-family: Monospace821BT-Roman;&quot;&gt;Sql Server Database Backup types :&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Monospace821BT-Roman; mso-bidi-font-family: Monospace821BT-Roman;&quot;&gt;Sql Server Has mainly Four Types Of Data Backups :&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Monospace821BT-Roman; mso-bidi-font-family: Monospace821BT-Roman;&quot;&gt;(1). Full Backup.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Monospace821BT-Roman; mso-bidi-font-family: Monospace821BT-Roman;&quot;&gt;(2).Differential Backup.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Monospace821BT-Roman; mso-bidi-font-family: Monospace821BT-Roman;&quot;&gt;(3). File and File group Backup. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Monospace821BT-Roman; mso-bidi-font-family: Monospace821BT-Roman;&quot;&gt;(4).Log File Backup.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;font-family: Monospace821BT-Roman; mso-bidi-font-family: Monospace821BT-Roman; mso-fareast-font-family: Monospace821BT-Roman;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;(1)&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Monospace821BT-Roman; mso-bidi-font-family: Monospace821BT-Roman;&quot;&gt;Full Backup:- includes the all Data files and log files in a database. it is a complete set of data need to restore and recover the database in consist stat .&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Monospace821BT-Roman; mso-bidi-font-family: Monospace821BT-Roman;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Or&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Monospace821BT-Roman; mso-bidi-font-family: Monospace821BT-Roman;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;you can say that full backup is a complete set of file and files groups is equal to that full backup.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Monospace821BT-Roman; mso-bidi-font-family: Monospace821BT-Roman;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Monospace821BT-Roman; mso-bidi-font-family: Monospace821BT-Roman;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Monospace821BT-Roman; mso-bidi-font-family: Monospace821BT-Roman;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;(2). Differential Backup :- includes all the changes made since last full backup .differential backup in not a stand alone backup. when ever you required to restore or recover that data from differential backup then first you need to restore the full backup .if you have been taken multiple differential backups then you need to restore only latest one backup except that all backup.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.25in;&quot;&gt;&lt;span style=&quot;font-family: Monospace821BT-Roman; mso-bidi-font-family: Monospace821BT-Roman;&quot;&gt;(3)File or File groups backup :- Includes the backup of particular file and file groups that specified. Most of time you take currently used file and file groups backup that as &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;default file groups with a particular database .this type of backup you take only when database size in tera bytes &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;span style=&quot;font-family: Monospace821BT-Roman; mso-bidi-font-family: Monospace821BT-Roman;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;(4)Log File Backup:-includes all the data recorded &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;in log file after taken the full backup or last log backup.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Monospace821BT-Roman; mso-bidi-font-family: Monospace821BT-Roman;&quot;&gt;When you take log backup first time then it take backup of all log records that changed after that full backup.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Monospace821BT-Roman; mso-bidi-font-family: Monospace821BT-Roman;&quot;&gt;If you take backup second or third time and so on then it start always last log backup. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt 0.5in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/6544372375045446652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2011/07/sql-server-database-backup-types.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/6544372375045446652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/6544372375045446652'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2011/07/sql-server-database-backup-types.html' title='Sql Server Database Backup types :'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-5194176198829558766</id><published>2011-07-13T23:09:00.000-07:00</published><updated>2011-07-13T23:09:13.184-07:00</updated><title type='text'>Sql Server DBA Interview questions</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;Please&amp;nbsp;complete&amp;nbsp;all below questions series after that attend any interview for Sql DBA&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;1).what is the default Recovery model of a newly&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;created database ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;2).How many types of recovery model in Sql Server ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;3.)How many system databases in Sql Server 2005 ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;4). How you can say that Tempdb Database is different from other system and user databases ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;5).What is different between simple and full recovery model ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;6.)How to create a Database with 1 mdf,1ndf and 1 log file by T-Sql syntax ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;7).How to Add one more log file into a database by T-Sql syntax ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;8).How to add a file group to a Database &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;by T-Sql syntax?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;9).How to add a log file with a test file group &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;by T-Sql syntax ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;10).How to find out database size , physical file location and database status as well ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;11) How to rename a Database by using T-Sql syntax?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;12)How many types of&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;backup in sql Server 2008/2005/2000 ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;13) What is the usage of mssqlsystemresource database in sql server ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;14) How many types of challenges you face in your project ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;15 ) what is the different between differential and log backup ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;16) How to shrink the log file of&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;database ? &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;17) what is the different between shrink commend with truncate_only or no_truncate&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;clause ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;18) backup log DB name with truncate_only&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;is taking any backup or not if not ? why ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;19 ) How to take filegroup file backup of database ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;20) how to perform point in time recovery ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;21) How many types of replication in sql server 2008/2005/2000 ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;22) Which backup strategy (policy ) implement in our current project ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;23)How you configured Log Shipping or Database mirroring in current project if yes then please justify and how many types of issues you faced regarding log shipping and Database mirroring ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;24 ) Have u configured clustering on current project if yes then what king of clustering you configured and how ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;25) Tell me about your daily , weekly and monthly activities ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;26 ) How you enable log file in memory&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;for sql server ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;27) how to find out blocking process and deadlock on sql server ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;28 )How to move Master database from one location to another location ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;29)How to restore master database backup on sql server ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;30)what is different between windows authentication and sql server authentication ?which one better then other ? why ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;31)How to find out currently running process on sql server and which one process taking long time to execute ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;32)Which process or job taking high C.P.U. Utilization ?&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 0pt;&quot;&gt;33)IF Sql server going hang again and again what are steps to follow &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;to resolved problem ?&lt;br /&gt;
&lt;br style=&quot;mso-special-character: line-break;&quot; /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/5194176198829558766/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2011/07/sql-server-dba-interview-questions.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/5194176198829558766'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/5194176198829558766'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2011/07/sql-server-dba-interview-questions.html' title='Sql Server DBA Interview questions'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-7933823636215059836</id><published>2011-07-13T21:26:00.000-07:00</published><updated>2011-07-13T21:26:13.907-07:00</updated><title type='text'>Attach Database with MDF file only</title><content type='html'>Use master&lt;br /&gt;
go &lt;br /&gt;
create database test on &lt;br /&gt;
(name=logicalfilename,&lt;br /&gt;
&amp;nbsp;filename=&#39;physical path of mdf file &#39;)&lt;br /&gt;
for attach_rebuild_log &lt;br /&gt;
go &lt;br /&gt;
&lt;br /&gt;
Above commend create one log file for this test DB and location for physical file as same as mdf file .&lt;br /&gt;
this commend is very useful if you lost the ldf file of any user database.</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/7933823636215059836/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2011/07/attach-database-with-mdf-file-only.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/7933823636215059836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/7933823636215059836'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2011/07/attach-database-with-mdf-file-only.html' title='Attach Database with MDF file only'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-3588303983994736947</id><published>2011-07-13T02:53:00.000-07:00</published><updated>2011-07-13T02:53:43.449-07:00</updated><title type='text'>How to attach and deattached database in sql server by T-sql ?</title><content type='html'>Please use the below query :&lt;br /&gt;
&lt;br /&gt;
For Attach :&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;USE&lt;br /&gt;
GO&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; [master]&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;CREATE&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;DATABASE&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; [abc] &lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ON&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;(&lt;br /&gt;
(&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;FILENAME&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; N&lt;/span&gt;&lt;span style=&quot;color: red; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-size: x-small;&quot;&gt;&#39;D:\sql_data\abc.mdf&#39;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;),&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;FILENAME&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; N&lt;/span&gt;&lt;span style=&quot;color: red; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-size: x-small;&quot;&gt;&#39;D:\sql_data\abc_log.ldf&#39;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
GO&lt;br /&gt;
&lt;br /&gt;
For Deattach :&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;USE&lt;br /&gt;
GO&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; [master]&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;EXEC&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; master&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;dbo&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: maroon; font-size: x-small;&quot;&gt;sp_detach_db&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; @dbname &lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; N&lt;/span&gt;&lt;span style=&quot;color: red; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-size: x-small;&quot;&gt;&#39;abc&#39;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; @keepfulltextindexfile&lt;/span&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: grey; font-size: x-small;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;N&lt;/span&gt;&lt;span style=&quot;color: red; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red; font-size: x-small;&quot;&gt;&#39;true&#39;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;GO&lt;br /&gt;
&lt;br /&gt;
After that refersh the database tab and check your currently attached data base.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;FOR&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; ATTACH&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/3588303983994736947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2011/07/how-to-attach-and-deattached-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/3588303983994736947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/3588303983994736947'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2011/07/how-to-attach-and-deattached-database.html' title='How to attach and deattached database in sql server by T-sql ?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7588406897442215454.post-1901179985644323573</id><published>2011-07-12T22:42:00.000-07:00</published><updated>2011-07-12T22:42:29.657-07:00</updated><title type='text'>How to move database physical_files from one drive to another drive (location</title><content type='html'>Please follow the below steps :&lt;br /&gt;
&lt;br /&gt;
1)&amp;nbsp; Alter database abc (file=logical file name for data file ,&lt;br /&gt;
filename=&#39;new location or path&#39;);&lt;br /&gt;
Alter database abc (file=logical file name for&amp;nbsp;log file ,&lt;br /&gt;
filename=&#39;new location or path&#39;);&lt;br /&gt;
for example &lt;br /&gt;
Alter database abc (file=abc,&lt;br /&gt;
&lt;strong&gt;filename=&#39;d:\abc.mdf&#39;);&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Alter database abc (file=abclog,&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;filename=&#39;e:\abc_log.ldf&#39;);&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;2) Stop the sql server services.&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;3) Move the physical files (.MDF and LDF) from old location to new location .&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;4).Restart the Sql Server Services .&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;5) Veryify&amp;nbsp;new location by using below command&amp;nbsp;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;select * from sys.master_files ;&lt;/strong&gt;</content><link rel='replies' type='application/atom+xml' href='http://databasechamp.blogspot.com/feeds/1901179985644323573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://databasechamp.blogspot.com/2011/07/how-to-move-database-physicalfiles-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/1901179985644323573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7588406897442215454/posts/default/1901179985644323573'/><link rel='alternate' type='text/html' href='http://databasechamp.blogspot.com/2011/07/how-to-move-database-physicalfiles-from.html' title='How to move database physical_files from one drive to another drive (location'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>