<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4903512494245917620</id><updated>2012-01-12T00:17:13.735-08:00</updated><category term='What is a Shell Script?'/><category term='How to link one file name to another'/><category term='Handling Unix Processes Foreground and Background'/><category term='How to Determine who is conencted in my system'/><category term='File viewing and editing: more less ed vi emacs head tail'/><category term='Expressions in Shell Scripts'/><category term='File Permissions  in UNIX'/><category term='Working with vi vi command in UNIX'/><category term='Job'/><category term='Sorting in Unix'/><category term='What Is UNIX?'/><category term='Text Editors  in UNIX'/><category term='Terminate Process on UNIX ps -ef kill -9'/><category term='Various information on Unix.'/><category term='Miscellaneous commands in Unix'/><category term='Variables in C Shell'/><category term='User Information and Communication command in Unix who'/><category term='Redirect output in Unix'/><category term='Special Characters in Unix'/><category term='File and Directory Handling  in UNIX'/><category term='Basic Concepts of UNIX'/><category term='Pipe command in Unix blog'/><category term='pico command in Unix'/><category term='linux'/><category term='Differences Between UNIX and DOS Unix Blog'/><category term='Medical'/><category term='shell script'/><category term='vi command options'/><category term='What is the Shell About Unix Shell'/><category term='Searching the contents of a file'/><category term='Determine File Type and File Search file and find'/><category term='Logout Files in Unix'/><category term='Initialization File in Unix .login .bashhrc .cshrc'/><category term='Unix Documentation'/><category term='System V vs. BSD'/><category term='UNIX Components'/><category term='Changing Password'/><category term='Standard UNIX File System'/><category term='Terminal Control Keys in Unix'/><category term='Connect to another computer within a network'/><category term='About UNIX Commands'/><category term='Reading user input in Linux'/><category term='C shell feature on Unix'/><category term='ls cd pwd mkdir rm rmdir cp find touch mv'/><category term='How an IP Packet Routes.'/><category term='Comparison file in unix: comm cmp diff patch'/><category term='History of UNIX'/><category term='Access Permissions in Unix'/><category term='Sports'/><category term='Blog'/><title type='text'>Unix in World</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://unix-in-world.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://unix-in-world.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Arju</name><uri>http://www.blogger.com/profile/14751715706838377391</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_8O68IaFjsdA/Sakz3h470fI/AAAAAAAAAOs/MJ4OOGOGlBg/S220/Arju.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>74</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4903512494245917620.post-5976278034931881999</id><published>2011-05-08T02:17:00.000-07:00</published><updated>2011-05-08T02:17:04.036-07:00</updated><title type='text'>Now gmail can support up to 25000 contacts</title><content type='html'>WOW! Now gmail can support up to 25000 contacts&lt;br /&gt;Previously it was 10,000. Yahoo! only support 5000 contacts with their bad product!&lt;br /&gt;&lt;a href="http://gmailblog.blogspot.com/2011/05/store-up-to-25000-contacts.html?utm_source=facebook"&gt;Store up to 25,000 contacts - Official Gmail Blog&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;http://romance-scam.blogspot.com/
http://banscam.blogspot.com/
http://neverscam.blogspot.com/
http://hatescam.blogspot.com/
http://reportyourscam.blogspot.com/
http://bamscam.blogspot.com/
http://igotscam.blogspot.com/
http://arjudba.blogspot.com/
http://scamhack.blogspot.com/
http://scam-mails.blogspot.com/&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4903512494245917620-5976278034931881999?l=unix-in-world.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://gmailblog.blogspot.com/2011/05/store-up-to-25000-contacts.html?utm_source=facebook' title='Now gmail can support up to 25000 contacts'/><link rel='replies' type='application/atom+xml' href='http://unix-in-world.blogspot.com/feeds/5976278034931881999/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4903512494245917620&amp;postID=5976278034931881999' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/5976278034931881999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/5976278034931881999'/><link rel='alternate' type='text/html' href='http://unix-in-world.blogspot.com/2011/05/now-gmail-can-support-up-to-25000.html' title='Now gmail can support up to 25000 contacts'/><author><name>Arju</name><uri>http://www.blogger.com/profile/14751715706838377391</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_8O68IaFjsdA/Sakz3h470fI/AAAAAAAAAOs/MJ4OOGOGlBg/S220/Arju.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4903512494245917620.post-360130693155799616</id><published>2011-03-18T20:28:00.000-07:00</published><updated>2011-03-18T20:28:44.169-07:00</updated><title type='text'>Blogger Buzz: What’s New With Blogger</title><content type='html'>&lt;a href="http://buzz.blogger.com/2011/03/whats-new-with-blogger.html"&gt;Blogger Buzz: What’s New With Blogger&lt;/a&gt;: "in"&lt;div class="blogger-post-footer"&gt;http://romance-scam.blogspot.com/
http://banscam.blogspot.com/
http://neverscam.blogspot.com/
http://hatescam.blogspot.com/
http://reportyourscam.blogspot.com/
http://bamscam.blogspot.com/
http://igotscam.blogspot.com/
http://arjudba.blogspot.com/
http://scamhack.blogspot.com/
http://scam-mails.blogspot.com/&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4903512494245917620-360130693155799616?l=unix-in-world.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://buzz.blogger.com/2011/03/whats-new-with-blogger.html' title='Blogger Buzz: What’s New With Blogger'/><link rel='replies' type='application/atom+xml' href='http://unix-in-world.blogspot.com/feeds/360130693155799616/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4903512494245917620&amp;postID=360130693155799616' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/360130693155799616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/360130693155799616'/><link rel='alternate' type='text/html' href='http://unix-in-world.blogspot.com/2011/03/blogger-buzz-whats-new-with-blogger.html' title='Blogger Buzz: What’s New With Blogger'/><author><name>Arju</name><uri>http://www.blogger.com/profile/14751715706838377391</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_8O68IaFjsdA/Sakz3h470fI/AAAAAAAAAOs/MJ4OOGOGlBg/S220/Arju.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4903512494245917620.post-2780726940982820614</id><published>2011-03-09T01:13:00.000-08:00</published><updated>2011-03-09T01:13:53.448-08:00</updated><title type='text'>Official Google Blog: Finding more high-quality sites in search</title><content type='html'>&lt;div&gt;Google has changed SEO ranking in US.&lt;/div&gt;&lt;a href="http://googleblog.blogspot.com/2011/02/finding-more-high-quality-sites-in.html"&gt;Official Google Blog: Finding more high-quality sites in search&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;http://romance-scam.blogspot.com/
http://banscam.blogspot.com/
http://neverscam.blogspot.com/
http://hatescam.blogspot.com/
http://reportyourscam.blogspot.com/
http://bamscam.blogspot.com/
http://igotscam.blogspot.com/
http://arjudba.blogspot.com/
http://scamhack.blogspot.com/
http://scam-mails.blogspot.com/&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4903512494245917620-2780726940982820614?l=unix-in-world.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://googleblog.blogspot.com/2011/02/finding-more-high-quality-sites-in.html' title='Official Google Blog: Finding more high-quality sites in search'/><link rel='replies' type='application/atom+xml' href='http://unix-in-world.blogspot.com/feeds/2780726940982820614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4903512494245917620&amp;postID=2780726940982820614' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/2780726940982820614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/2780726940982820614'/><link rel='alternate' type='text/html' href='http://unix-in-world.blogspot.com/2011/03/official-google-blog-finding-more-high.html' title='Official Google Blog: Finding more high-quality sites in search'/><author><name>Arju</name><uri>http://www.blogger.com/profile/14751715706838377391</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_8O68IaFjsdA/Sakz3h470fI/AAAAAAAAAOs/MJ4OOGOGlBg/S220/Arju.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4903512494245917620.post-341301399304156899</id><published>2010-07-07T20:44:00.000-07:00</published><updated>2010-07-07T20:44:36.323-07:00</updated><title type='text'>Official Google Blog: Our new search index: Caffeine</title><content type='html'>Google announced the completion of a new web indexing system called Caffeine. Caffeine provides 50 percent fresher results for web searches than our last index, and it's the largest collection of web content we've offered. Whether it's a news story, a blog or a forum post, you can now find links to relevant content much sooner after it is published than was possible ever before.&lt;br /&gt;Details in&lt;br /&gt;&lt;a href="http://googleblog.blogspot.com/2010/06/our-new-search-index-caffeine.html"&gt;Official Google Blog: Our new search index: Caffeine&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;http://romance-scam.blogspot.com/
http://banscam.blogspot.com/
http://neverscam.blogspot.com/
http://hatescam.blogspot.com/
http://reportyourscam.blogspot.com/
http://bamscam.blogspot.com/
http://igotscam.blogspot.com/
http://arjudba.blogspot.com/
http://scamhack.blogspot.com/
http://scam-mails.blogspot.com/&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4903512494245917620-341301399304156899?l=unix-in-world.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://googleblog.blogspot.com/2010/06/our-new-search-index-caffeine.html' title='Official Google Blog: Our new search index: Caffeine'/><link rel='replies' type='application/atom+xml' href='http://unix-in-world.blogspot.com/feeds/341301399304156899/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4903512494245917620&amp;postID=341301399304156899' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/341301399304156899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/341301399304156899'/><link rel='alternate' type='text/html' href='http://unix-in-world.blogspot.com/2010/07/official-google-blog-our-new-search.html' title='Official Google Blog: Our new search index: Caffeine'/><author><name>Arju</name><uri>http://www.blogger.com/profile/14751715706838377391</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_8O68IaFjsdA/Sakz3h470fI/AAAAAAAAAOs/MJ4OOGOGlBg/S220/Arju.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4903512494245917620.post-3107872662616218763</id><published>2010-01-15T02:00:00.000-08:00</published><updated>2010-01-15T02:06:50.926-08:00</updated><title type='text'>Official Google Blog: Translate Google Sites with one click</title><content type='html'>&lt;a href="http://arjudba.blogspot.com/2010/01/how-to-add-google-translate-gadget-to.html"&gt;http://arjudba.blogspot.com/2010/01/how-to-add-google-translate-gadget-to.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;http://romance-scam.blogspot.com/
http://banscam.blogspot.com/
http://neverscam.blogspot.com/
http://hatescam.blogspot.com/
http://reportyourscam.blogspot.com/
http://bamscam.blogspot.com/
http://igotscam.blogspot.com/
http://arjudba.blogspot.com/
http://scamhack.blogspot.com/
http://scam-mails.blogspot.com/&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4903512494245917620-3107872662616218763?l=unix-in-world.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://unix-in-world.blogspot.com/feeds/3107872662616218763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4903512494245917620&amp;postID=3107872662616218763' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/3107872662616218763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/3107872662616218763'/><link rel='alternate' type='text/html' href='http://unix-in-world.blogspot.com/2010/01/official-google-blog-translate-google.html' title='Official Google Blog: Translate Google Sites with one click'/><author><name>Arju</name><uri>http://www.blogger.com/profile/14751715706838377391</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_8O68IaFjsdA/Sakz3h470fI/AAAAAAAAAOs/MJ4OOGOGlBg/S220/Arju.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4903512494245917620.post-178706923252256468</id><published>2009-12-09T03:56:00.001-08:00</published><updated>2009-12-09T03:56:47.461-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Things to Remember after becoming root user on Linux</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: 'times new roman';"&gt;&lt;/span&gt;&lt;br /&gt;&lt;h3&gt;&lt;br /&gt;&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;$HOME is / (Watch what you delete!)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Change the password frequently and use "good" passwords (more on this later)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Remove the current working directory (a.k.a., ".") from your PATH&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Never leave the terminal unattended, even for "just a minute"&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Limit who has the root password to as few people as possible&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Never execute any regular user's program as root (possible Trojan Horse)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Never let anyone else run a command as root, even if you are watching them&lt;br /&gt;&lt;/li&gt;&lt;li&gt;You risk having your password stolen by "sniffers" if you use programs like "telnet", "ftp", access email remotely with POP/IMAP (anything protocol involving "clear-text" passwords)&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;http://romance-scam.blogspot.com/
http://banscam.blogspot.com/
http://neverscam.blogspot.com/
http://hatescam.blogspot.com/
http://reportyourscam.blogspot.com/
http://bamscam.blogspot.com/
http://igotscam.blogspot.com/
http://arjudba.blogspot.com/
http://scamhack.blogspot.com/
http://scam-mails.blogspot.com/&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4903512494245917620-178706923252256468?l=unix-in-world.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://unix-in-world.blogspot.com/feeds/178706923252256468/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4903512494245917620&amp;postID=178706923252256468' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/178706923252256468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/178706923252256468'/><link rel='alternate' type='text/html' href='http://unix-in-world.blogspot.com/2009/12/things-to-remember-after-becoming-root.html' title='Things to Remember after becoming root user on Linux'/><author><name>Arju</name><uri>http://www.blogger.com/profile/14751715706838377391</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_8O68IaFjsdA/Sakz3h470fI/AAAAAAAAAOs/MJ4OOGOGlBg/S220/Arju.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4903512494245917620.post-7212170889927014105</id><published>2009-12-09T03:55:00.000-08:00</published><updated>2009-12-09T03:55:16.742-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>List of Common Linux System Administration Tasks.</title><content type='html'>&lt;span style="font-family: 'times new roman';"&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Performing backups&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Adding and removing users&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Adding and removing hardware&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Restoring files from backups that users have accidentally deleted&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Installing new software&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Answering users' questions&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Monitoring system activity, disc use and log files&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Figuring out why a program has stopped working since yesterday, even though the user didn't change anything; honest!&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Monitoring system security&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Adding new systems to the network&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Talking with vendors to determine if a problem is yours or theirs, and getting them to fix it when it&amp;nbsp;&lt;i&gt;is&lt;/i&gt;&amp;nbsp;their problem&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Figuring out why "the network" (or "Pine", or "the computer") is so slow&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Trying to free up disc space&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Rebooting the system after a crash (usually happens when you are at home or have to catch a bus)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Writing scripts to automate as many of the above tasks as possible&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;http://romance-scam.blogspot.com/
http://banscam.blogspot.com/
http://neverscam.blogspot.com/
http://hatescam.blogspot.com/
http://reportyourscam.blogspot.com/
http://bamscam.blogspot.com/
http://igotscam.blogspot.com/
http://arjudba.blogspot.com/
http://scamhack.blogspot.com/
http://scam-mails.blogspot.com/&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4903512494245917620-7212170889927014105?l=unix-in-world.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://unix-in-world.blogspot.com/feeds/7212170889927014105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4903512494245917620&amp;postID=7212170889927014105' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/7212170889927014105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/7212170889927014105'/><link rel='alternate' type='text/html' href='http://unix-in-world.blogspot.com/2009/12/list-of-common-linux-system.html' title='List of Common Linux System Administration Tasks.'/><author><name>Arju</name><uri>http://www.blogger.com/profile/14751715706838377391</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_8O68IaFjsdA/Sakz3h470fI/AAAAAAAAAOs/MJ4OOGOGlBg/S220/Arju.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4903512494245917620.post-4763555008707152157</id><published>2009-12-08T08:47:00.000-08:00</published><updated>2010-01-13T05:30:13.718-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Blog'/><title type='text'>List of Blogging Softwares</title><content type='html'>&lt;span style="color: #55585a; font-family: Helvetica; line-height: 18px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 14px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;There are too many &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.blogdive.com/"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;Free Blogs&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;&amp;nbsp;in the Internet world. You can call these as&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: black; line-height: normal;"&gt;&lt;a href="http://www.blogdive.com/"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;Blogs on Cool Domains&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 16px; margin-bottom: 14px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Here goes the lists of blogs.&lt;br /&gt;&lt;/div&gt;&lt;div style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 16px; margin-bottom: 14px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;strong style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;++ Subdomains&lt;/strong&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 16px; margin-bottom: 14px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;em style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;++++ Various&lt;/em&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 16px; margin-bottom: 14px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;http://spaces.msn.com/&lt;br /&gt;http://www.blogeasy.com/&lt;br /&gt;http://www.easyjournal.com/&lt;br /&gt;http://www.vnunet.com/blogs/&lt;br /&gt;http://multiply.com/&lt;br /&gt;http://www.blog-city.com/bc/&lt;br /&gt;http://www.blogharbor.com/&lt;br /&gt;http://bloghi.com/&lt;br /&gt;http://bloghorn.com/&lt;br /&gt;http://www.blogspirit.com/&lt;br /&gt;http://www.blogsource.com/&lt;br /&gt;http://www.ebloggy.com/&lt;br /&gt;http://www.pitas.com/&lt;br /&gt;http://www.blogger.de/&lt;br /&gt;&lt;/div&gt;&lt;div style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 16px; margin-bottom: 14px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;em style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;++++ Wordpress&lt;/em&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 16px; margin-bottom: 14px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;http://www.blogsome.com/&lt;br /&gt;http://weblogs.us/&lt;br /&gt;http://www.wordpress.com&lt;br /&gt;http://www.wpblogs.com/&lt;br /&gt;http://www.blogthing.com/&lt;br /&gt;http://globbo.org/&lt;br /&gt;http://www.theblog.cc/&lt;br /&gt;http://learnerblogs.org/&lt;br /&gt;http://uniblogs.org/&lt;br /&gt;http://edublogs.org&lt;br /&gt;http://hrblogs.org/&lt;br /&gt;http://beblogger.com/&lt;br /&gt;http://www.evilsupergenius.net/&lt;br /&gt;&lt;/div&gt;&lt;div style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 16px; margin-bottom: 14px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;em style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;++++ Blogger&lt;/em&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 16px; margin-bottom: 14px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;http://www.blogcafe.com/&lt;br /&gt;http://www.blogspot.com&lt;br /&gt;&lt;/div&gt;&lt;div style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 16px; margin-bottom: 14px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;em style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;++++ Other&lt;/em&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 16px; margin-bottom: 14px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;(These seem to belong in the same network)&lt;br /&gt;http://www.weblogs.hu/&lt;br /&gt;http://www.weblogs.cz/&lt;br /&gt;http://www.blogs.ro/&lt;br /&gt;http://www.weblogs.pl/&lt;br /&gt;http://www.blogs.fi/&lt;br /&gt;http://www.blogs.no/&lt;br /&gt;http://www.blogs.dk/&lt;br /&gt;http://www.blogs.se/&lt;br /&gt;http://www.blog.com.es/&lt;br /&gt;http://www.blog.de/&lt;br /&gt;http://www.blog.com/&lt;br /&gt;http://www.blog.co.uk/&lt;br /&gt;http://www.blog.ca/&lt;br /&gt;&lt;/div&gt;&lt;div style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 16px; margin-bottom: 14px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;strong style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 16px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;++ Subdirectories&lt;/strong&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 16px; margin-bottom: 14px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;http://members.freewebs.com/&lt;br /&gt;http://www.livejournal.com/&lt;br /&gt;http://www.20six.co.uk/&lt;br /&gt;http://www.xanga.com/&lt;br /&gt;http://www.aeonity.com/&lt;br /&gt;http://www.bloggercrab.com/&lt;br /&gt;http://www.upsaid.com/&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family: Arial; font-size: 13px;"&gt;Here is the blogs based on functions.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;span style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;span style="font-size: 13px;"&gt;1)&lt;span style="color: #333333; font-family: verdana; font-size: 12px; font-weight: bold; line-height: 17px;"&gt;Danga Software Powered&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: Arial; font-size: small;"&gt;&lt;span style="font-size: 13px;"&gt;&lt;span style="color: #333333; font-family: verdana; font-size: 12px; line-height: 18px;"&gt;&lt;a href="http://www.greatestjournal.com/" style="color: #409ed3; text-decoration: none;"&gt;GreatestJournal.com&lt;/a&gt;&amp;nbsp;– Based on the same software as LiveJournal, offers free voice posts, 1GB of photo hosting, and space for up to 2,000 user icons.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="color: #333333; font-family: verdana; font-size: 12px; line-height: 14px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #333333; font-family: verdana; font-size: 12px; line-height: 14px;"&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.insanejournal.com/" style="color: #409ed3; text-decoration: none;"&gt;InsaneJournal.com&lt;/a&gt;&amp;nbsp;– Another site based on the Danga software that runs LiveJournal, offers free and paid accounts, paid benefits are only enhancements.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.journalfen.net/" style="color: #409ed3; text-decoration: none;"&gt;JorunalFen.net&lt;/a&gt;&amp;nbsp;– Runs on the Danga platform, very much directed towards various “fandoms” (i.e.&lt;span style="white-space: nowrap;"&gt;Harry Potter&lt;span style="white-space: nowrap;"&gt;&lt;a class="blippr-inline-smiley blippr-inline-smiley-05" href="http://api.blippr.com/apps/462239-harry-potter" rel="http://api.blippr.com/apps/462239-harry-potter.whtml" style="color: #409ed3; text-decoration: none !important; width: 12px;" target="_blank"&gt;&lt;img alt="harry potter" class="wp-smiley" src="http://netdna.blippr.com/images/inline-face_05.png?1260002206" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(201, 214, 221) !important; border-bottom-style: solid !important; border-bottom-width: 0px !important; border-color: initial; border-left-color: rgb(201, 214, 221) !important; border-left-style: solid !important; border-left-width: 0px !important; border-right-color: rgb(201, 214, 221) !important; border-right-style: solid !important; border-right-width: 0px !important; border-style: initial; border-top-color: rgb(201, 214, 221) !important; border-top-style: solid !important; border-top-width: 0px !important; display: inline !important; margin-bottom: 0px !important; margin-left: 4px !important; margin-right: 0px !important; margin-top: 0px !important; padding-bottom: 1px !important; padding-left: 1px !important; padding-right: 1px !important; padding-top: 1px !important; vertical-align: middle;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;, various Television shows) and is meant for users 18 and older.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.livejournal.com/" style="color: #409ed3; text-decoration: none;"&gt;LiveJournal.com&lt;/a&gt;&amp;nbsp;– One of the most well known of the blogging hosts. Offers multiple account types such as ad-supported and paid. The center of a few controversies recently.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;2)&lt;span style="font-weight: bold; line-height: 17px;"&gt;Themed Blog Sites&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="line-height: 17px;"&gt;&lt;b&gt;&lt;a href="http://www.blogdive.com/"&gt;BlogDive&lt;/a&gt;.com - A site about blogging&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span style="line-height: 17px;"&gt;&lt;b&gt;&lt;span style="font-weight: normal; line-height: 14px;"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.blogabond.com/" style="color: #409ed3; text-decoration: none;"&gt;Blogabond.com&lt;/a&gt;&amp;nbsp;– A site dedicated to travel blogs with map integration and more.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.blogcheese.com/" style="color: #409ed3; text-decoration: none;"&gt;BlogCheese.com&lt;/a&gt;&amp;nbsp;– A video blogging website.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.busythumbs.com/" style="color: #409ed3; text-decoration: none;"&gt;BusyThumbs.com&lt;/a&gt;&amp;nbsp;– A blog site specifically for your text messages and camera phone images.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.freevlog.org/" style="color: #409ed3; text-decoration: none;"&gt;Freevlog&lt;/a&gt;&amp;nbsp;– Designed for video blogging and completely free.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.trippert.com/" style="color: #409ed3; text-decoration: none;"&gt;Trippert.com&lt;/a&gt;&amp;nbsp;– Create and share blogs of your travels.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://ufem.com/" style="color: #409ed3; text-decoration: none;"&gt;Ufem.com&lt;/a&gt;&amp;nbsp;– Blogging site specifically geared towards women. Offers multiple themes and plugins.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.wordcountjournal.com/" style="color: #409ed3; text-decoration: none;"&gt;Word Count Journal.com&lt;/a&gt;&amp;nbsp;– A new blogging format that is also part challenge. Write one word on the first day, two words on the second day and so on, at the end of the year you’ll have written 66,795 words.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://blogs.xanco.com/" style="color: #409ed3; text-decoration: none;"&gt;Xanco.com&lt;/a&gt;&amp;nbsp;– Another moblogging site for you to share all your mobile communications with friends and family.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;3)Wordpress Powered&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span style="line-height: 14px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://blogetery.com/" style="color: #409ed3; text-decoration: none;"&gt;Blogetery.com&lt;/a&gt;&amp;nbsp;– Offers multiple templates, anti-spam, free sub-domain and more.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://blogrox.com/" style="color: #409ed3; text-decoration: none;"&gt;BlogRox.com&lt;/a&gt;&amp;nbsp;– Runs on&amp;nbsp;&lt;span style="white-space: nowrap;"&gt;WordPress&lt;span style="white-space: nowrap;"&gt;&lt;a class="blippr-inline-smiley blippr-inline-smiley-07" href="http://api.blippr.com/apps/336657-WordPress" rel="http://api.blippr.com/apps/336657-WordPress.whtml" style="color: #409ed3; text-decoration: none !important; width: 12px;" target="_blank"&gt;&lt;img alt="WordPress" class="wp-smiley" src="http://netdna.blippr.com/images/inline-face_07.png?1260002206" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(201, 214, 221) !important; border-bottom-style: solid !important; border-bottom-width: 0px !important; border-color: initial; border-left-color: rgb(201, 214, 221) !important; border-left-style: solid !important; border-left-width: 0px !important; border-right-color: rgb(201, 214, 221) !important; border-right-style: solid !important; border-right-width: 0px !important; border-style: initial; border-top-color: rgb(201, 214, 221) !important; border-top-style: solid !important; border-top-width: 0px !important; display: inline !important; margin-bottom: 0px !important; margin-left: 4px !important; margin-right: 0px !important; margin-top: 0px !important; padding-bottom: 1px !important; padding-left: 1px !important; padding-right: 1px !important; padding-top: 1px !important; vertical-align: middle;" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;and offers 50MB of free online space.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.blogsome.com/" style="color: #409ed3; text-decoration: none;"&gt;Blogsome.com&lt;/a&gt;&amp;nbsp;– Based out of Ireland, this site uses the WordPress MU platform, large choice of themes.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://edublogs.org/" style="color: #409ed3; text-decoration: none;"&gt;Edublogs.com&lt;/a&gt;&amp;nbsp;– WordPress powered blogging for educators.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://wordpress.com/" style="color: #409ed3; text-decoration: none;"&gt;WordPress.com&lt;/a&gt;&amp;nbsp;– Not only can you install WordPress on your own sites, you can use the same software on their site and save yourself all of the technical work.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;4)Various Platforms&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;span style="line-height: 14px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://blog.com/" style="color: #409ed3; text-decoration: none;"&gt;Blog.com&lt;/a&gt;&amp;nbsp;– Offers free blog hosting with unlimited bandwidth for their free package, more benefits for paid members.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.blogladder.com/" style="color: #409ed3; text-decoration: none;"&gt;Blog Ladder.com&lt;/a&gt;&amp;nbsp;– All blog entries show up on the main ladder as well as inside your own blog.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="https://www.blogger.com/start" style="color: #409ed3; text-decoration: none;"&gt;Blogger.com&lt;/a&gt;&amp;nbsp;– A great starting site to get a taste of blogging, very easy to use.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.blogr.com/" style="color: #409ed3; text-decoration: none;"&gt;Blogr.com&lt;/a&gt;&amp;nbsp;– Allows you to blog, host photos &amp;amp; videos, and podcasts.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.blogspirit.com/en/index.php" style="color: #409ed3; text-decoration: none;"&gt;BlogSpirit.com&lt;/a&gt;&amp;nbsp;– European based blogging site, offers 30-day trial and subscription thereafter, but offers quite a bit of storage.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://blogster.com/" style="color: #409ed3; text-decoration: none;"&gt;Blogster.com&lt;/a&gt;&amp;nbsp;– Offers free image hosting in addition to free blogs.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.blogyx.com/" style="color: #409ed3; text-decoration: none;"&gt;BlogYx.com&lt;/a&gt;&amp;nbsp;– Blogging site with extras such as chat boxes so you can interact with your readers.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.bloki.com/" style="color: #409ed3; text-decoration: none;"&gt;Bloki.com&lt;/a&gt;&amp;nbsp;– Lets you build a blog site and even open it up for collaboration.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.bravenet.com/webtools/journal/" style="color: #409ed3; text-decoration: none;"&gt;Bravenet.com&lt;/a&gt;&amp;nbsp;– Free blog hosting with RSS feeds and more.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://clearblogs.com/" style="color: #409ed3; text-decoration: none;"&gt;ClearBlogs.com&lt;/a&gt;&amp;nbsp;– Free blog hosting and offers templates, friends only posts, IP-Banning and more.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.etribes.com/index_etribes.php" style="color: #409ed3; text-decoration: none;"&gt;Etribes.com&lt;/a&gt;&amp;nbsp;– Based in Europe, allows you to create all sorts of websites including a blog.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://multiply.com/" style="color: #409ed3; text-decoration: none;"&gt;Multiply.com&lt;/a&gt;&amp;nbsp;– Mixes blogging and social networking, with photo galleries and more.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.netcipia.com/" style="color: #409ed3; text-decoration: none;"&gt;Netcipia.com&lt;/a&gt;&amp;nbsp;– Free blog and wiki for private or public display with 2GB of storage.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.opendiary.com/" style="color: #409ed3; text-decoration: none;"&gt;Open Diary.com&lt;/a&gt;&amp;nbsp;– Offers unlimited storage and posts, low cost subscription rates for advanced features.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.shoutpost.com/" style="color: #409ed3; text-decoration: none;"&gt;ShoutPost.com&lt;/a&gt;&amp;nbsp;– A platform for creating blogs with a focus on generating traffic.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.soulcast.com/" style="color: #409ed3; text-decoration: none;"&gt;SoulCast.com&lt;/a&gt;&amp;nbsp;– Have something you want to talk about, but want to say it anonymously? This may be the blogging site for you.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://squarespace.com/" style="color: #409ed3; text-decoration: none;"&gt;Squarespace.com&lt;/a&gt;&amp;nbsp;– Lets you build your blog with numerous themes, also allows you to add other site features.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.terapad.com/" style="color: #409ed3; text-decoration: none;"&gt;Terapad.com&lt;/a&gt;&amp;nbsp;– Offers blogs as well as features such as an integrated store.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://tooum.com/" style="color: #409ed3; text-decoration: none;"&gt;Tooum.com&lt;/a&gt;&amp;nbsp;– Fully integrated blog and forum which allows for seamless discussion between the two.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.tumblr.com/" style="color: #409ed3; text-decoration: none;"&gt;Tumblr.com&lt;/a&gt;&lt;span style="white-space: nowrap;"&gt;&lt;a class="blippr-inline-smiley blippr-inline-smiley-05" href="http://api.blippr.com/apps/540049-Tumblrcom" rel="http://api.blippr.com/apps/540049-Tumblrcom.whtml" style="color: #409ed3; text-decoration: none !important; width: 12px;" target="_blank"&gt;&lt;img alt="Tumblr.com" class="wp-smiley" src="http://netdna.blippr.com/images/inline-face_05.png?1260002206" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(201, 214, 221) !important; border-bottom-style: solid !important; border-bottom-width: 0px !important; border-color: initial; border-left-color: rgb(201, 214, 221) !important; border-left-style: solid !important; border-left-width: 0px !important; border-right-color: rgb(201, 214, 221) !important; border-right-style: solid !important; border-right-width: 0px !important; border-style: initial; border-top-color: rgb(201, 214, 221) !important; border-top-style: solid !important; border-top-width: 0px !important; display: inline !important; margin-bottom: 0px !important; margin-left: 4px !important; margin-right: 0px !important; margin-top: 0px !important; padding-bottom: 1px !important; padding-left: 1px !important; padding-right: 1px !important; padding-top: 1px !important; vertical-align: middle;" /&gt;&lt;/a&gt;&lt;/span&gt;&amp;nbsp;– A blog platform with a focus on allowing media-rich posts.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.weebly.com/" style="color: #409ed3; text-decoration: none;"&gt;Weebly.com&lt;/a&gt;&amp;nbsp;– Allows you to create a site and blog, free hosting and change designs on the fly.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://home.services.spaces.live.com/" style="color: #409ed3; text-decoration: none;"&gt;Windows Live Spaces&lt;/a&gt;&amp;nbsp;– Free blogging with your MSN account, only drawback is readers have to have an account also.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.vox.com/" style="color: #409ed3; text-decoration: none;"&gt;Vox.com&lt;/a&gt;&amp;nbsp;– Part of the SixApart family of blogging sites, very much geared towards the personal journal types of blogs.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.xanga.com/" style="color: #409ed3; text-decoration: none;"&gt;Xanga.com&lt;/a&gt;&amp;nbsp;– Part social network, part blogging, all free.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://360.yahoo.com/" style="color: #409ed3; text-decoration: none;"&gt;Yahoo 360&lt;/a&gt;&amp;nbsp;– Part of your Yahoo account and features easy publishing.&lt;br /&gt;&lt;/div&gt;&lt;div style="line-height: 1.5; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;"&gt;&lt;a href="http://www.zoomshare.com/" style="color: #409ed3; text-decoration: none;"&gt;Zoomshare.com&lt;/a&gt;&amp;nbsp;– Free blog hosting with 250MB of free storage.&lt;br /&gt;&lt;/div&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;http://romance-scam.blogspot.com/
http://banscam.blogspot.com/
http://neverscam.blogspot.com/
http://hatescam.blogspot.com/
http://reportyourscam.blogspot.com/
http://bamscam.blogspot.com/
http://igotscam.blogspot.com/
http://arjudba.blogspot.com/
http://scamhack.blogspot.com/
http://scam-mails.blogspot.com/&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4903512494245917620-4763555008707152157?l=unix-in-world.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://unix-in-world.blogspot.com/feeds/4763555008707152157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4903512494245917620&amp;postID=4763555008707152157' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/4763555008707152157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/4763555008707152157'/><link rel='alternate' type='text/html' href='http://unix-in-world.blogspot.com/2009/12/list-of-blogging-softwares.html' title='List of Blogging Softwares'/><author><name>Arju</name><uri>http://www.blogger.com/profile/14751715706838377391</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_8O68IaFjsdA/Sakz3h470fI/AAAAAAAAAOs/MJ4OOGOGlBg/S220/Arju.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4903512494245917620.post-2568945507434312796</id><published>2009-11-24T06:02:00.000-08:00</published><updated>2009-11-24T06:03:24.270-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Job'/><title type='text'>Career with Medical</title><content type='html'>In the relatively static societies before modernism, many workers would often inherit or take up a single lifelong position (a place or role) in the workforce, and the concept of an unfolding career had little or no meaning. With the spread during the Enlightenment of the idea of progress and of the habits of individualist self-betterment, careers became possible, if not expected.&lt;br /&gt;By the late 20th century a plethora of choices (especially in the range of potential professions) and more widespread education had allowed it to become fashionable to plan (or design) a career: in this respect the careers of the career counsellor and of the career advisor have grown up. It is also not uncommon for adults in the late 20th/early 21st centuries to have dual or multiple careers, either sequentially or concurrently. Thus, professional identities have become hyphenated or hybridized to reflect this shift in work ethic. Economist Richard Florida notes this trend generally and more specifically among the "creative class."&lt;br /&gt;&lt;br /&gt;Many bright and motivated college students describe a "dream career" with the following characteristics:&lt;br /&gt;&lt;br /&gt;Service: Allows you to help people and advance knowledge.&lt;br /&gt;Action: Doesn't tie you to a desk all the time.&lt;br /&gt;Respect: Your work and contributions are an important part of your community.&lt;br /&gt;Security: Enables you to earn a good living with a secure future.&lt;br /&gt;Mobility: Your skills and knowledge are in demand, wherever you choose to live.&lt;br /&gt;Flexibility: Offers you lots of career options.&lt;br /&gt;Few occupations meet all of these standards. None meets them better than a career in medicine.&lt;br /&gt;&lt;br /&gt;Doctors diagnose illnesses and treat people who suffer from injury or disease. Their professional lives are filled with caring for people, keeping up with advances in medicine, and working as a part of a health care team. Every day in communities around the country, doctors work in neighborhood clinics, hospitals, offices, even homeless shelters and schools. Few fields offer a wider variety of opportunities.&lt;br /&gt;&lt;br /&gt;About one-third of the nation's physicians are primary care doctors who provide lifelong medical services for the entire family. General internists, family physicians, and general pediatricians are all considered primary care doctors. They are the first doctors people consult for medical care. And they are trained to provide the wide range of services children and adults need. When patients' specific health needs require further treatment, primary care physicians send them to see a specialist physician.&lt;br /&gt;&lt;br /&gt;Specialist physicians differ from primary care physicians in that they focus on treating a particular system or part of the body. Surgeons who treat injuries, disease and deformities by performing operative procedures, neurologists who treat disorders of the brain and spinal cord, cardiologists who treat the heart and blood vessels, and ophthalmologists who treat the eye are just a few examples of the many specialties in medicine. These physicians work together with primary care physicians to ensure that patients receive treatment for specific medical problems as well as complete and comprehensive care throughout life. For information about these and other medical specialties visit Careers in Medicine.&lt;br /&gt;&lt;br /&gt;Physicians also do many other things. Physician researchers are at work today developing new treatments for cancer, genetic disorders, and infectious diseases like AIDS. Academic physicians share their skills and wisdom by teaching medical students and residents. Others work with health maintenance organizations, pharmaceutical companies, medical device manufacturers, health insurance companies, or in corporations directing health and safety programs. People with medical skills are in demand everywhere.&lt;br /&gt;&lt;span style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Knowing where to go for school is half the battle, especially with degrees that involve accreditation and licenses of any sort. For instance, I found some&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;noindex&gt;&lt;a href="http://www.medacademy.org/" rel="nofollow" style="text-decoration: none;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;dms programs&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/noindex&gt;&lt;span style="color: black;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&amp;nbsp;out there that might help some of you if you’re interested in going into the medical career. They have several different core programs that you can choose from; MRI technology, psychiatric technician, radiologic technology, ultrasound technology and vocational nursing.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;h4&gt;&lt;span style="color: black;"&gt;&lt;span style="font-weight: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;You’re sure to find something here that fits what you want to do for the rest of your life, provided that it falls within these parameters! If I were you, and if I were interested in any of these careers, I’d go and check this site out. They have four different campuses, which make commuting easy!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;div class="blogger-post-footer"&gt;http://romance-scam.blogspot.com/
http://banscam.blogspot.com/
http://neverscam.blogspot.com/
http://hatescam.blogspot.com/
http://reportyourscam.blogspot.com/
http://bamscam.blogspot.com/
http://igotscam.blogspot.com/
http://arjudba.blogspot.com/
http://scamhack.blogspot.com/
http://scam-mails.blogspot.com/&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4903512494245917620-2568945507434312796?l=unix-in-world.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://unix-in-world.blogspot.com/feeds/2568945507434312796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4903512494245917620&amp;postID=2568945507434312796' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/2568945507434312796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/2568945507434312796'/><link rel='alternate' type='text/html' href='http://unix-in-world.blogspot.com/2009/11/career-with-medical.html' title='Career with Medical'/><author><name>Arju</name><uri>http://www.blogger.com/profile/14751715706838377391</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_8O68IaFjsdA/Sakz3h470fI/AAAAAAAAAOs/MJ4OOGOGlBg/S220/Arju.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4903512494245917620.post-6614526252806422588</id><published>2009-11-04T08:04:00.000-08:00</published><updated>2009-11-04T08:05:46.377-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>init, telinit, runlevel, shutdown, service process control command</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="color:black"&gt;init&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;a name="INITTABREF"&gt;&lt;/a&gt;&lt;span style="color:black"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;init&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command is the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;parent&lt;span class="apple-converted-space"&gt; &lt;/span&gt;of all processes. Called in the final step of a bootup,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;init&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;determines the runlevel of the system from&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black"&gt;/etc/inittab&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;. Invoked by its alias&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;telinit&lt;/b&gt;, and by&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;root&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;only.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="TELINITREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;telinit&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Symlinked to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;init&lt;/b&gt;, this is a means of changing the system runlevel, usually done for system maintenance or emergency filesystem repairs. Invoked only by&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;root&lt;/i&gt;. This command can be dangerous -- be certain you understand it well before using!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="RUNLEVELREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;runlevel&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Shows the current and last runlevel, that is, whether the system is halted (runlevel&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: 10.0pt;color:black"&gt;0&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;), in single-user mode (&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black"&gt;1&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;), in multi-user mode (&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: 10.0pt;color:black"&gt;2&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;or&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: 10.0pt;color:black"&gt;3&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;), in X Windows (&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black"&gt;5&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;), or rebooting (&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black"&gt;6&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;). This command accesses the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: 10.0pt;color:black"&gt;/var/run/utmp&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="HALTREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;halt&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;a name="SHUTDOWNREF"&gt;&lt;/a&gt;&lt;b&gt;shutdown&lt;/b&gt;,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;a name="REBOOTREF"&gt;&lt;/a&gt;&lt;b&gt;reboot&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Command set to shut the system down, usually just prior to a power down.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td width="25" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;    &lt;v:stroke joinstyle="miter"&gt;    &lt;v:formulas&gt;     &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;     &lt;v:f eqn="sum @0 1 0"&gt;     &lt;v:f eqn="sum 0 0 @1"&gt;     &lt;v:f eqn="prod @2 1 2"&gt;     &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;     &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;     &lt;v:f eqn="sum @0 0 1"&gt;     &lt;v:f eqn="prod @6 1 2"&gt;     &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;     &lt;v:f eqn="sum @8 21600 0"&gt;     &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;     &lt;v:f eqn="sum @10 21600 0"&gt;    &lt;/v:formulas&gt;    &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;    &lt;o:lock ext="edit" aspectratio="t"&gt;   &lt;/v:shapetype&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" alt="Warning" style="'width:18pt;height:18pt;mso-wrap-distance-left:3.75pt;"&gt;    &lt;v:imagedata src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image001.gif" href="http://www.tldp.org/LDP/abs/images/warning.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img width="24" height="24" src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image001.gif" hspace="5" alt="Warning" shapes="_x0000_i1025" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;On some Linux distros, the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;halt&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command has 755 permissions, so it   can be invoked by a non-root user. A careless&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;halt&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;in a terminal or a script may shut   down the system!&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="SERVICEREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;service&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Starts or stops a system&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;service&lt;/i&gt;. The startup scripts in&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: 10.0pt;color:black"&gt;/etc/init.d&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;and&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: 10.0pt;color:black"&gt;/etc/rc.d&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;use this command to start services at bootup.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;root# &lt;b&gt;/sbin/service iptables stop&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;st1:place st="on"&gt;&lt;tt&gt;&lt;span style="color:black"&gt;Flushing&lt;/span&gt;&lt;/tt&gt;&lt;/st1:place&gt;&lt;tt&gt;&lt;span style="color:black"&gt; firewall rules:&lt;span style="mso-spacerun:yes"&gt;                                   &lt;/span&gt;[&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;OK&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; Setting chains to policy ACCEPT: filter&lt;span style="mso-spacerun:yes"&gt;                    &lt;/span&gt;[&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;OK&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; Unloading iptables modules:&lt;span style="mso-spacerun:yes"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;                        &lt;/span&gt;[&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;OK&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;]&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;http://romance-scam.blogspot.com/
http://banscam.blogspot.com/
http://neverscam.blogspot.com/
http://hatescam.blogspot.com/
http://reportyourscam.blogspot.com/
http://bamscam.blogspot.com/
http://igotscam.blogspot.com/
http://arjudba.blogspot.com/
http://scamhack.blogspot.com/
http://scam-mails.blogspot.com/&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4903512494245917620-6614526252806422588?l=unix-in-world.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://unix-in-world.blogspot.com/feeds/6614526252806422588/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4903512494245917620&amp;postID=6614526252806422588' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/6614526252806422588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/6614526252806422588'/><link rel='alternate' type='text/html' href='http://unix-in-world.blogspot.com/2009/11/init-telinit-runlevel-shutdown-service.html' title='init, telinit, runlevel, shutdown, service process control command'/><author><name>Arju</name><uri>http://www.blogger.com/profile/14751715706838377391</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_8O68IaFjsdA/Sakz3h470fI/AAAAAAAAAOs/MJ4OOGOGlBg/S220/Arju.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4903512494245917620.post-3261867622995437084</id><published>2009-11-04T08:00:00.000-08:00</published><updated>2009-11-04T08:02:11.096-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>ps, pgrep, pkill, pstree, top, nice, nohup, pidof, fuser, cron command</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="color:black"&gt;ps&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;tt&gt;&lt;i&gt;&lt;span style="font-size:10.0pt;color:black"&gt;P&lt;/span&gt;&lt;/i&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;rocess&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;i&gt;&lt;span style="font-size:10.0pt;color:black"&gt;S&lt;/span&gt;&lt;/i&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;tatistics: lists currently executing processes by owner and PID (process ID). This is usually invoked with&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black"&gt;ax&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;or&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black"&gt;aux&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;options, and may be piped to grep&lt;span class="apple-converted-space"&gt; &lt;/span&gt;or&lt;span class="apple-converted-space"&gt; &lt;/span&gt;sed&lt;span class="apple-converted-space"&gt; &lt;/span&gt;to search for a specific process. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;&lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;ps ax | grep sendmail&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;295 ?&lt;span style="mso-tab-count:1"&gt;   &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;S&lt;span style="mso-tab-count:1"&gt;    &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;0:00 sendmail: accepting connections on port 25&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;To display system processes in graphical&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="quote"&gt;"tree"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;format:&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;ps afjx&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;or&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;ps ax --forest&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="PGREPREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;pgrep&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;a name="PKILLREF"&gt;&lt;/a&gt;&lt;b&gt;pkill&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Combining the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;ps&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command with&lt;span class="apple-converted-space"&gt; &lt;/span&gt;grep&lt;span class="apple-converted-space"&gt; &lt;/span&gt;or&lt;span class="apple-converted-space"&gt; &lt;/span&gt;kill.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;ps a | grep mingetty&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;2212 tty2&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;Ss+&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;0:00 /sbin/mingetty tty2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; 2213 tty3&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;Ss+&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;0:00 /sbin/mingetty tty3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; 2214 tty4&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;Ss+&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;0:00 /sbin/mingetty tty4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; 2215 tty5&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;Ss+&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;0:00 /sbin/mingetty tty5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; 2216 tty6&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;Ss+&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;0:00 /sbin/mingetty tty6&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; 4849 pts/2&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;S+&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;0:00 grep mingetty&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;pgrep mingetty&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;2212 mingetty&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; 2213 mingetty&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; 2214 mingetty&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; 2215 mingetty&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; 2216 mingetty&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Compare the action of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;pkill&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;with&lt;span class="apple-converted-space"&gt; &lt;/span&gt;killall.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="PSTREEREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;pstree&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Lists currently executing processes in&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="quote"&gt;"tree"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;format. The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: 10.0pt;color:black"&gt;-p&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;option shows the PIDs, as well as the process names.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="TOPREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;top&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Continuously updated display of most cpu-intensive processes. The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black"&gt;-b&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;option displays in text mode, so that the output may be parsed or accessed from a script.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;top -b&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;8:30pm&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;up 3 min,&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;3 users,&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;load average: 0.49, 0.32, 0.13&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; 45 processes: 44 sleeping, 1 running, 0 zombie, 0 stopped&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; CPU states: 13.6% user,&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;7.3% system,&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;0.0% nice, 78.9% idle&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; Mem:&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;78396K av,&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;65468K used,&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;12928K free,&lt;span style="mso-spacerun:yes"&gt;       &lt;/span&gt;0K shrd,&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;2352K buff&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; Swap:&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;157208K av,&lt;span style="mso-spacerun:yes"&gt;       &lt;/span&gt;0K used,&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;157208K free&lt;span style="mso-spacerun:yes"&gt;                   &lt;/span&gt;37244K cached&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;PID USER&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;PRI&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;NI&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;SIZE&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;RSS SHARE STAT %CPU %MEM&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;TIME COMMAND&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;848 bozo&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;17&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;0&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;996&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;996&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;800 R&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;5.6&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;1.2&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;0:00 top&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;1 root&lt;span style="mso-spacerun:yes"&gt;       &lt;/span&gt;8&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;0&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;512&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;512&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;444 S&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;0.0&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;0.6&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;0:04 init&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;2 root&lt;span style="mso-spacerun:yes"&gt;       &lt;/span&gt;9&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;0&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;0&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;0&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;0 SW&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;0.0&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;0.0&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;0:00 keventd&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;...&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="NICEREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;nice&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;a name="NICE2REF"&gt;&lt;/a&gt;&lt;span style="color:black"&gt;Run a background job with an altered priority. Priorities run from 19 (lowest) to -20 (highest). Only&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;root&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;may set the negative (higher) priorities. Related commands are&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;renice&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;and&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;snice&lt;/b&gt;, which change the priority of a running process or processes, and&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;skill&lt;/b&gt;, which sends a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;kill&lt;span class="apple-converted-space"&gt; &lt;/span&gt;signal to a process or processes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="NOHUPREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;nohup&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Keeps a command running even after user logs off. The command will run as a foreground process unless followed by&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;&amp;amp;&lt;/span&gt;. If you use&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;nohup&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;within a script, consider coupling it with a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;wait&lt;span class="apple-converted-space"&gt; &lt;/span&gt;to avoid creating an&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;orphan&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;or&lt;span class="apple-converted-space"&gt; &lt;/span&gt;zombie&lt;span class="apple-converted-space"&gt; &lt;/span&gt;process.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="PIDOFREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;pidof&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Identifies&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;process ID (PID)&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;of a running job. Since job control commands, such as&lt;span class="apple-converted-space"&gt; &lt;/span&gt;kill&lt;span class="apple-converted-space"&gt; &lt;/span&gt;and&lt;span class="apple-converted-space"&gt; &lt;/span&gt;renice&lt;span class="apple-converted-space"&gt; &lt;/span&gt;act on the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;PID&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;of a process (not its name), it is sometimes necessary to identify that&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;PID&lt;/i&gt;. The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;pidof&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command is the approximate counterpart to the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;$PPID&lt;span class="apple-converted-space"&gt; &lt;/span&gt;internal variable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;pidof xclock&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;880&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;a name="KILLPROCESS"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;Example.&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;pidof&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;helps kill a process&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#!/bin/bash&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# kill-process.sh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;NOPROCESS=2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;process=xxxyyyzzz&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;# Use nonexistent process.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# For demo purposes only...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# ... don't want to actually kill any actual process with this script.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# If, for example, you wanted to use this script to logoff the Internet,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;process=pppd&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;t=`pidof $process`&lt;span style="mso-spacerun:yes"&gt;       &lt;/span&gt;# Find pid (process id) of $process.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# The pid is needed by 'kill' (can't 'kill' by program name).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;if [ -z "$t" ]&lt;span style="mso-spacerun:yes"&gt;           &lt;/span&gt;# If process not present, 'pidof' returns null.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;echo "Process $process was not running."&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;echo "Nothing killed."&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;exit $NOPROCESS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;fi&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;kill $t&lt;span style="mso-spacerun:yes"&gt;                  &lt;/span&gt;# May need 'kill -9' for stubborn process.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# Need a check here to see if process allowed itself to be killed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# Perhaps another " t=`pidof $process` " or ...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# This entire script could be replaced by&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#&lt;span style="mso-spacerun:yes"&gt;        &lt;/span&gt;kill $(pidof -x process_name)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# or&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#&lt;span style="mso-spacerun:yes"&gt;        &lt;/span&gt;killall process_name&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# but it would not be as instructive.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;exit 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="FUSERREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;fuser&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Identifies the processes (by PID) that are accessing a given file, set of files, or directory. May also be invoked with the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black"&gt;-k&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;option, which kills those processes. This has interesting implications for system security, especially in scripts preventing unauthorized users from accessing system services.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;fuser -u /usr/bin/vim&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;/usr/bin/vim:&lt;span style="mso-spacerun:yes"&gt;         &lt;/span&gt;3207e(bozo)&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;fuser -u /dev/null&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;/dev/null:&lt;span style="mso-spacerun:yes"&gt;            &lt;/span&gt;3009(bozo)&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;3010(bozo)&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;3197(bozo)&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;3199(bozo)&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;One important application for&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;fuser&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;is when physically inserting or removing storage media, such as CD ROM disks or USB flash drives. Sometimes trying a umount&lt;span class="apple-converted-space"&gt; &lt;/span&gt;fails with a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="errorname"&gt;device is busy&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;error message. This means that some user(s) and/or process(es) are accessing the device. An&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;fuser -um /dev/device_name&lt;/b&gt;will clear up the mystery, so you can kill any relevant processes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;umount /mnt/usbdrive&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;umount: /mnt/usbdrive: device is busy&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;fuser -um /dev/usbdrive&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;/mnt/usbdrive:&lt;span style="mso-spacerun:yes"&gt;        &lt;/span&gt;1772c(bozo)&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;kill -9 1772&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;umount /mnt/usbdrive&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;fuser&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command, invoked with the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: 10.0pt;color:black"&gt;-n&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;option identifies the processes accessing a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;port&lt;/i&gt;. This is especially useful in combination with&lt;span class="apple-converted-space"&gt; &lt;/span&gt;nmap.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;root# &lt;b&gt;nmap localhost.localdomain&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;PORT&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;STATE SERVICE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; 25/tcp&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;open&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;smtp&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;root# &lt;b&gt;fuser -un tcp 25&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;25/tcp:&lt;span style="mso-spacerun:yes"&gt;               &lt;/span&gt;2095(root)&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;root# &lt;b&gt;ps ax | grep 2095 | grep -v grep&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;2095 ?&lt;span style="mso-spacerun:yes"&gt;        &lt;/span&gt;Ss&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;0:00 sendmail: accepting connections&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="CRONREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;cron&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Administrative program scheduler, performing such duties as cleaning up and deleting system log files and updating the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="database"&gt;slocate&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;database. This is the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;superuser&lt;/i&gt;version of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;at&lt;span class="apple-converted-space"&gt; &lt;/span&gt;(although each user may have their own&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: 10.0pt;color:black"&gt;crontab&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;file which can be changed with the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;crontab&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command). It runs as a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;daemon&lt;span class="apple-converted-space"&gt; &lt;/span&gt;and executes scheduled entries from&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: 10.0pt;color:black"&gt;/etc/crontab&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td width="25" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;    &lt;v:stroke joinstyle="miter"&gt;    &lt;v:formulas&gt;     &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;     &lt;v:f eqn="sum @0 1 0"&gt;     &lt;v:f eqn="sum 0 0 @1"&gt;     &lt;v:f eqn="prod @2 1 2"&gt;     &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;     &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;     &lt;v:f eqn="sum @0 0 1"&gt;     &lt;v:f eqn="prod @6 1 2"&gt;     &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;     &lt;v:f eqn="sum @8 21600 0"&gt;     &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;     &lt;v:f eqn="sum @10 21600 0"&gt;    &lt;/v:formulas&gt;    &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;    &lt;o:lock ext="edit" aspectratio="t"&gt;   &lt;/v:shapetype&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" alt="Note" style="'width:18pt;height:18pt;mso-wrap-distance-left:3.75pt;"&gt;    &lt;v:imagedata src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image001.gif" href="http://www.tldp.org/LDP/abs/images/note.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img width="24" height="24" src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image001.gif" hspace="5" alt="Note" shapes="_x0000_i1025" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; "&gt; &lt;/span&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;http://romance-scam.blogspot.com/
http://banscam.blogspot.com/
http://neverscam.blogspot.com/
http://hatescam.blogspot.com/
http://reportyourscam.blogspot.com/
http://bamscam.blogspot.com/
http://igotscam.blogspot.com/
http://arjudba.blogspot.com/
http://scamhack.blogspot.com/
http://scam-mails.blogspot.com/&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4903512494245917620-3261867622995437084?l=unix-in-world.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://unix-in-world.blogspot.com/feeds/3261867622995437084/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4903512494245917620&amp;postID=3261867622995437084' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/3261867622995437084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/3261867622995437084'/><link rel='alternate' type='text/html' href='http://unix-in-world.blogspot.com/2009/11/ps-pgrep-pkill-pstree-top-nice-nohup.html' title='ps, pgrep, pkill, pstree, top, nice, nohup, pidof, fuser, cron command'/><author><name>Arju</name><uri>http://www.blogger.com/profile/14751715706838377391</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_8O68IaFjsdA/Sakz3h470fI/AAAAAAAAAOs/MJ4OOGOGlBg/S220/Arju.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4903512494245917620.post-8021073014781671035</id><published>2009-11-04T06:18:00.000-08:00</published><updated>2009-11-04T06:21:22.789-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>System log information in linux using logger and logrotate</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-family:&amp;quot;\0027times new roman\0027&amp;quot;; color:black"&gt;logger&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family:&amp;quot;\0027times new roman\0027&amp;quot;; color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="font-family:&amp;quot;\0027times new roman\0027&amp;quot;; color:black"&gt;Appends a user-generated message to the system log (&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black"&gt;/var/log/messages&lt;/span&gt;&lt;/tt&gt;&lt;span style="font-family:&amp;quot;\0027times new roman\0027&amp;quot;;color:black"&gt;). You do not have to be&lt;i&gt;root&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;to invoke&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;logger&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in" bg="" color="#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black"&gt;logger Experiencing instability in network connection at 23:10, 05/21. # Now, do a 'tail /var/log/messages'.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:&amp;quot;\0027times new roman\0027&amp;quot;; color:black"&gt;By embedding a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;logger&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command in a script, it is possible to write debugging information to&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt; color:black"&gt;/var/log/messages&lt;/span&gt;&lt;/tt&gt;&lt;span style="font-family:&amp;quot;\0027times new roman\0027&amp;quot;; color:black"&gt;.&lt;a name="LOGROTATEREF"&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:&amp;quot;\0027times new roman\0027&amp;quot;; color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;pre&gt;&lt;span style="color:black"&gt;logger -t $0 -i Logging at line "$LINENO".&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# The "-t" option specifies the tag for the logger entry.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# The "-i" option records the process ID.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# tail /var/log/message&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# ...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;# Jul&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;7 20:48:58 localhost ./test.sh[1712]: Logging at line 3.&lt;/span&gt;&lt;span style="font-family:&amp;quot;\0027times new roman\0027&amp;quot;; color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:&amp;quot;\0027times new roman\0027&amp;quot;; color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-family:&amp;quot;\0027times new roman\0027&amp;quot;; color:black"&gt;logrotate&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family:&amp;quot;\0027times new roman\0027&amp;quot;; color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="font-family:&amp;quot;\0027times new roman\0027&amp;quot;; color:black"&gt;This utility manages the system log files, rotating, compressing, deleting, and/or e-mailing them, as appropriate. This keeps the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: 10.0pt;color:black"&gt;/var/log&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="font-family:&amp;quot;\0027times new roman\0027&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:&amp;quot;\0027times new roman\0027&amp;quot;;color:black"&gt;from getting cluttered with old log files. Usually cron runs&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;logrotate&lt;/b&gt;on a daily basis.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="font-family:&amp;quot;\0027times new roman\0027&amp;quot;; color:black"&gt;Adding an appropriate entry to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black"&gt;/etc/logrotate.conf&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="font-family:&amp;quot;\0027times new roman\0027&amp;quot;; color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:&amp;quot;\0027times new roman\0027&amp;quot;; color:black"&gt;makes it possible to manage personal log files, as well as system-wide ones.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;http://romance-scam.blogspot.com/
http://banscam.blogspot.com/
http://neverscam.blogspot.com/
http://hatescam.blogspot.com/
http://reportyourscam.blogspot.com/
http://bamscam.blogspot.com/
http://igotscam.blogspot.com/
http://arjudba.blogspot.com/
http://scamhack.blogspot.com/
http://scam-mails.blogspot.com/&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4903512494245917620-8021073014781671035?l=unix-in-world.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://unix-in-world.blogspot.com/feeds/8021073014781671035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4903512494245917620&amp;postID=8021073014781671035' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/8021073014781671035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/8021073014781671035'/><link rel='alternate' type='text/html' href='http://unix-in-world.blogspot.com/2009/11/system-log-information-in-linux-using.html' title='System log information in linux using logger and logrotate'/><author><name>Arju</name><uri>http://www.blogger.com/profile/14751715706838377391</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_8O68IaFjsdA/Sakz3h470fI/AAAAAAAAAOs/MJ4OOGOGlBg/S220/Arju.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4903512494245917620.post-637535309165463831</id><published>2009-11-04T06:15:00.001-08:00</published><updated>2009-11-04T06:17:19.859-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>uname, arch, lastcomm, lastlog, strace, ltrace, nmap, nc, free, procinfo stat, sar command</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="color:black"&gt;uname&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Output system specifications (OS, kernel version, etc.) to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black"&gt;stdout&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;. Invoked with the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black"&gt;-a&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;option, gives verbose system info. The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: 10.0pt;color:black"&gt;-s&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;option shows only the OS type.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;uname&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;Linux&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;uname -s&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;Linux&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;uname -a&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;Linux iron.bozo 2.6.15-1.2054_FC5 #1 Tue Mar 14 15:48:33 EST 2006&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; i686 i686 i386 GNU/Linux&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="ARCHREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;arch&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Show system architecture. Equivalent to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;uname -m&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;arch&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;i686&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;uname -m&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;i686&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="LASTCOMMREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;lastcomm&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Gives information about previous commands, as stored in the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black"&gt;/var/account/pacct&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;file. Command name and user name can be specified by options. This is one of the GNU accounting utilities.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="LASTLOGREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;lastlog&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;List the last login time of all system users. This references the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black"&gt;/var/log/lastlog&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;lastlog&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;root&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;tty1&lt;span style="mso-spacerun:yes"&gt;                      &lt;/span&gt;Fri Dec&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;7 18:43:21 -0700 2001&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; bin&lt;span style="mso-spacerun:yes"&gt;                                     &lt;/span&gt;**Never logged in**&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; daemon&lt;span style="mso-spacerun:yes"&gt;                                  &lt;/span&gt;**Never logged in**&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; ...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; bozo&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;tty1&lt;span style="mso-spacerun:yes"&gt;                      &lt;/span&gt;Sat Dec&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;8 21:14:29 -0700 2001&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;lastlog | grep root&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;root&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;tty1&lt;span style="mso-spacerun:yes"&gt;                      &lt;/span&gt;Fri Dec&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;7 18:43:21 -0700 2001&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span style="color:black; display:none;mso-hide:all"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td width="25" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;    &lt;v:stroke joinstyle="miter"&gt;    &lt;v:formulas&gt;     &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;     &lt;v:f eqn="sum @0 1 0"&gt;     &lt;v:f eqn="sum 0 0 @1"&gt;     &lt;v:f eqn="prod @2 1 2"&gt;     &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;     &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;     &lt;v:f eqn="sum @0 0 1"&gt;     &lt;v:f eqn="prod @6 1 2"&gt;     &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;     &lt;v:f eqn="sum @8 21600 0"&gt;     &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;     &lt;v:f eqn="sum @10 21600 0"&gt;    &lt;/v:formulas&gt;    &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;    &lt;o:lock ext="edit" aspectratio="t"&gt;   &lt;/v:shapetype&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" alt="Caution" style="'width:18pt;height:18pt;mso-wrap-distance-left:3.75pt;"&gt;    &lt;v:imagedata src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image001.gif" href="http://www.tldp.org/LDP/abs/images/caution.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img width="24" height="24" src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image001.gif" hspace="5" alt="Caution" shapes="_x0000_i1025" /&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;This command will fail if the user invoking it does not have read   permission for the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt"&gt;/var/log/lastlog&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;file.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="LSOFREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;lsof&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;List open files. This command outputs a detailed table of all currently open files and gives information about their owner, size, the processes associated with them, and more. Of course,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;lsof&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;may be piped to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;grep&lt;span class="apple-converted-space"&gt; &lt;/span&gt;and/or&lt;span class="apple-converted-space"&gt; &lt;/span&gt;awk&lt;span class="apple-converted-space"&gt; &lt;/span&gt;to parse and analyze its results.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;lsof&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;COMMAND&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;PID&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;USER&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;FD&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;TYPE&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;DEVICE&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;SIZE&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;NODE NAME&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; init&lt;span style="mso-spacerun:yes"&gt;         &lt;/span&gt;1&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;root&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;mem&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;REG&lt;span style="mso-spacerun:yes"&gt;        &lt;/span&gt;3,5&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;30748&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;30303 /sbin/init&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; init&lt;span style="mso-spacerun:yes"&gt;         &lt;/span&gt;1&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;root&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;mem&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;REG&lt;span style="mso-spacerun:yes"&gt;        &lt;/span&gt;3,5&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;73120&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;8069 /lib/ld-2.1.3.so&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; init&lt;span style="mso-spacerun:yes"&gt;         &lt;/span&gt;1&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;root&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;mem&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;REG&lt;span style="mso-spacerun:yes"&gt;        &lt;/span&gt;3,5&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;931668&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;8075 /lib/libc-2.1.3.so&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; cardmgr&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;213&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;root&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;mem&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;REG&lt;span style="mso-spacerun:yes"&gt;        &lt;/span&gt;3,5&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;36956&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;30357 /sbin/cardmgr&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; ...&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;lsof&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command is a useful, if complex administrative tool. If you are unable to dismount a filesystem and get an error message that it is still in use, then running&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;lsof&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;helps determine which files are still open on that filesystem. The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black"&gt;-i&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;option lists open network socket files, and this can help trace intrusion or hack attempts.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;lsof -an -i tcp&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;COMMAND&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;PID USER&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;FD&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;TYPE DEVICE SIZE NODE NAME&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; firefox 2330 bozo&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;32u IPv4&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;9956&lt;span style="mso-spacerun:yes"&gt;       &lt;/span&gt;TCP 66.0.118.137:57596-&gt;67.112.7.104:http ...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; firefox 2330 bozo&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;38u IPv4&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;10535&lt;span style="mso-spacerun:yes"&gt;       &lt;/span&gt;TCP 66.0.118.137:57708-&gt;216.79.48.24:http ...&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="STRACEREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;strace&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black"&gt;S&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;ystem&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;trace&lt;/b&gt;: diagnostic and debugging tool for tracing&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;system calls&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;and signals. This command and&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;ltrace&lt;/b&gt;, following, are useful for diagnosing why a given program or package fails to run . . . perhaps due to missing libraries or related causes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;strace df&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;execve("/bin/df", ["df"], [/* 45 vars */]) = 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; uname({sys="Linux", node="bozo.localdomain", ...}) = 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; brk(0)&lt;span style="mso-spacerun:yes"&gt;                                  &lt;/span&gt;= 0x804f5e4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; ...&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;This is the Linux equivalent of the Solaris&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;truss&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="LTRACEREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;ltrace&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black"&gt;L&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;ibrary&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;trace&lt;/b&gt;: diagnostic and debugging tool that traces&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;library calls&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;invoked by a given command.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;ltrace df&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;__libc_start_main(0x804a910, 1, 0xbfb589a4, 0x804fb70, 0x804fb68 &lt;unfinished&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; setlocale(6, "")&lt;span style="mso-spacerun:yes"&gt;                                 &lt;/span&gt;= "en_US.UTF-8"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bindtextdomain("coreutils", "/usr/share/locale") = "/usr/share/locale"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;textdomain("coreutils")&lt;span style="mso-spacerun:yes"&gt;                          &lt;/span&gt;= "coreutils"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;__cxa_atexit(0x804b650, 0, 0, 0x8052bf0, 0xbfb58908) = 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;getenv("DF_BLOCK_SIZE")&lt;span style="mso-spacerun:yes"&gt;                          &lt;/span&gt;= NULL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; ...&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="NMAPREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;nmap&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black"&gt;N&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;etwork&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;map&lt;/b&gt;per and port scanner. This command scans a server to locate open ports and the services associated with those ports. It can also report information about packet filters and firewalls. This is an important security tool for locking down a network against hacking attempts.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#!/bin/bash&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;SERVER=$HOST&lt;span style="mso-spacerun:yes"&gt;                           &lt;/span&gt;# localhost.localdomain (127.0.0.1).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;PORT_NUMBER=25&lt;span style="mso-spacerun:yes"&gt;                         &lt;/span&gt;# SMTP port.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;nmap $SERVER | grep -w "$PORT_NUMBER"&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;# Is that particular port open?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#&lt;span style="mso-spacerun:yes"&gt;              &lt;/span&gt;grep -w matches whole words only,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#+&lt;span style="mso-spacerun:yes"&gt;             &lt;/span&gt;so this wouldn't match port 1025, for example.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;exit 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# 25/tcp&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;open&lt;span style="mso-spacerun:yes"&gt;        &lt;/span&gt;smtp&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="NCREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;nc&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;nc&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;(&lt;i&gt;netcat&lt;/i&gt;) utility is a complete toolkit for connecting to and listening to TCP and UDP ports. It is useful as a diagnostic and testing tool and as a component in simple script-based HTTP clients and servers.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;nc localhost.localdomain 25&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;220 localhost.localdomain ESMTP Sendmail 8.13.1/8.13.1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; Thu, 31 Mar 2005 15:41:35 -0700&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;a name="ISCAN"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;Example. Checking a remote server for&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;identd&lt;/i&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#! /bin/sh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;## Duplicate DaveG's ident-scan thingie using netcat. Oooh, he'll be p*ssed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;## Args: target port [port port port ...]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;## Hose stdout _and_ stderr together.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;##&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;##&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;Advantages: runs slower than ident-scan, giving remote inetd less cause&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;##+ for alarm, and only hits the few known daemon ports you specify.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;##&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;Disadvantages: requires numeric-only port args, the output sleazitude,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;##+ and won't work for r-services when coming from high source ports.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# Script author: Hobbit &lt;hobbit@avian.org&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# Used in ABS Guide with permission.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# ---------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;E_BADARGS=65&lt;span style="mso-spacerun:yes"&gt;       &lt;/span&gt;# Need at least two args.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;TWO_WINKS=2&lt;span style="mso-spacerun:yes"&gt;        &lt;/span&gt;# How long to sleep.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;THREE_WINKS=3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;IDPORT=113&lt;span style="mso-spacerun:yes"&gt;         &lt;/span&gt;# Authentication "tap ident" port.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;RAND1=999&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;RAND2=31337&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;TIMEOUT0=9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;TIMEOUT1=8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;TIMEOUT2=4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# ---------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;case "${2}" in&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;"" ) echo "Need HOST and at least one PORT." ; exit $E_BADARGS ;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;esac&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# Ping 'em once and see if they *are* running identd.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;nc -z -w $TIMEOUT0 "$1" $IDPORT || \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;{ echo "Oops, $1 isn't running identd." ; exit 0 ; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;-z scans for listening daemons.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;-w $TIMEOUT = How long to try to connect.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# Generate a randomish base port.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;RP=`expr $$ % $RAND1 + $RAND2`&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;TRG="$1"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;shift&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:   black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;while test "$1" ; do&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;nc -v -w $TIMEOUT1 -p ${RP} "$TRG" ${1} &lt; /dev/null &gt; /dev/null &amp;amp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;PROC=$!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;sleep $THREE_WINKS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;echo "${1},${RP}" | nc -w $TIMEOUT2 -r "$TRG" $IDPORT 2&gt;&amp;amp;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;sleep $TWO_WINKS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# Does this look like a lamer script or what . . . ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# ABS Guide author comments: "Ain't really all that bad . . .&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#+&lt;span style="mso-spacerun:yes"&gt;                            &lt;/span&gt;kinda clever, actually."&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;kill -HUP $PROC&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;RP=`expr ${RP} + 1`&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;shift&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;done&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;exit $?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;Notes:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;-----&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;Try commenting out line 30 and running this script&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#+ with "localhost.localdomain 25" as arguments.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;For more of Hobbit's 'nc' example scripts,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#+ look in the documentation:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#+ the /usr/share/doc/nc-X.XX/scripts directory.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;And, of course, there's Dr. Andrew Tridgell's notorious one-line script in the BitKeeper Affair:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black"&gt;echo clone | nc thunk.org 5000 &gt; e2fsprogs.dat&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="FREEREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;free&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Shows memory and cache usage in tabular form. The output of this command lends itself to parsing, using&lt;span class="apple-converted-space"&gt; &lt;/span&gt;grep,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;awk&lt;span class="apple-converted-space"&gt; &lt;/span&gt;or&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;Perl&lt;/b&gt;. The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;procinfo&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command shows all the information that&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;free&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;does, and much more.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;/span&gt;&lt;/tt&gt;&lt;b&gt;&lt;span style="color:black"&gt;free&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;total&lt;span style="mso-spacerun:yes"&gt;       &lt;/span&gt;used&lt;span style="mso-spacerun:yes"&gt;       &lt;/span&gt;free&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;shared&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;buffers&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;cached&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;Mem:&lt;span style="mso-spacerun:yes"&gt;         &lt;/span&gt;30504&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;28624&lt;span style="mso-spacerun:yes"&gt;       &lt;/span&gt;1880&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;15820&lt;span style="mso-spacerun:yes"&gt;       &lt;/span&gt;1608&lt;span style="mso-spacerun:yes"&gt;       &lt;/span&gt;16376&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;-/+ buffers/cache:&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;10640&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;19864&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;Swap:&lt;span style="mso-spacerun:yes"&gt;        &lt;/span&gt;68540&lt;span style="mso-spacerun:yes"&gt;       &lt;/span&gt;3128&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;65412&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;To show unused RAM memory:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;/span&gt;&lt;/tt&gt;&lt;b&gt;&lt;span style="color:black"&gt;free | grep Mem | awk '{ print $4 }'&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;1880&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="PROCINFOREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;procinfo&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Extract and list information and statistics from the&lt;span class="apple-converted-space"&gt; /proc&lt;/span&gt;&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span style="color:black"&gt;pseudo-filesystem. This gives a very extensive and detailed listing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;procinfo | grep Bootup&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;Bootup: Wed Mar 21 15:15:50 2001&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;Load average: 0.04 0.21 0.34 3/47 6829&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="LSDEVREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;lsdev&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;List devices, that is, show installed hardware.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;lsdev&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;Device&lt;span style="mso-spacerun:yes"&gt;            &lt;/span&gt;DMA&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;IRQ&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;I/O Ports&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; ------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; cascade&lt;span style="mso-spacerun:yes"&gt;             &lt;/span&gt;4&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;2 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;dma&lt;span style="mso-spacerun:yes"&gt;                          &lt;/span&gt;0080-008f&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; dma1&lt;span style="mso-spacerun:yes"&gt;                         &lt;/span&gt;0000-001f&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; dma2&lt;span style="mso-spacerun:yes"&gt;                         &lt;/span&gt;00c0-00df&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; fpu&lt;span style="mso-spacerun:yes"&gt;                          &lt;/span&gt;00f0-00ff&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; ide0&lt;span style="mso-spacerun:yes"&gt;                     &lt;/span&gt;14&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;01f0-01f7 03f6-03f6&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; ...&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="DUREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;du&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Show (disk) file usage, recursively. Defaults to current working directory, unless otherwise specified.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;/span&gt;&lt;/tt&gt;&lt;b&gt;&lt;span style="color:black"&gt;du –ach&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;1.0k&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;./wi.sh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; 1.0k&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;./tst.sh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; 1.0k&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;./random.file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; 6.0k&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; 6.0k&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;total&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="DFREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;df&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Shows filesystem usage in tabular form.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;/span&gt;&lt;/tt&gt;&lt;b&gt;&lt;span style="color:black"&gt;df&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;Filesystem&lt;span style="mso-spacerun:yes"&gt;           &lt;/span&gt;1k-blocks&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;Used Available Use% Mounted on&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; /dev/hda5&lt;span style="mso-spacerun:yes"&gt;               &lt;/span&gt;273262&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;92607&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;166547&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;36% /&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; /dev/hda8&lt;span style="mso-spacerun:yes"&gt;               &lt;/span&gt;222525&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;123951&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;87085&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;59% /home&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; /dev/hda7&lt;span style="mso-spacerun:yes"&gt;              &lt;/span&gt;1408796&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;1075744&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;261488&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;80% /usr&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="DMESGREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;dmesg&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Lists all system bootup messages to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black"&gt;stdout&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;. Handy for debugging and ascertaining which device drivers were installed and which system interrupts in use. The output of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;dmesg&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;may, of course, be parsed with&lt;span class="apple-converted-space"&gt; &lt;/span&gt;grep,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;sed, or&lt;span class="apple-converted-space"&gt; &lt;/span&gt;awk&lt;span class="apple-converted-space"&gt; &lt;/span&gt;from within a script.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;dmesg | grep hda&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;Kernel command line: ro root=/dev/hda2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; hda: IBM-DLGA-23080, ATA DISK drive&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; hda: 6015744 sectors (3080 MB) w/96KiB Cache, CHS=746/128/63&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; hda: hda1 hda2 hda3 &lt;&gt; hda4&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="STATREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;stat&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Gives detailed and verbose&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;em&gt;stat&lt;/em&gt;istics on a given file (even a directory or device file) or set of files.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;stat test.cru&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;File: "test.cru"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;Size: 49970&lt;span style="mso-spacerun:yes"&gt;        &lt;/span&gt;Allocated Blocks: 100&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;Filetype: Regular File&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;Mode: (0664/-rw-rw-r--)&lt;span style="mso-spacerun:yes"&gt;         &lt;/span&gt;Uid: (&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;501/ bozo)&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;Gid: (&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;501/ bozo)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; Device:&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;3,8&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;Inode: 18185 &lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;Links: 1&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;Access: Sat Jun&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;2 16:40:24 2001&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; Modify: Sat Jun&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;2 16:40:24 2001&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; Change: Sat Jun&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;2 16:40:24 2001&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;If the target file does not exist,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;stat&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;returns an error message.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;stat nonexistent-file&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;nonexistent-file: No such file or directory&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;In a script, you can use&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;stat&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;to extract information about files (and filesystems) and set variables accordingly.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#!/bin/bash&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# fileinfo2.sh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# Per suggestion of Joël Bourquard and . . .&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# http://www.linuxquestions.org/questions/showthread.php?t=410766&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;FILENAME=testfile.txt&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;file_name=$(stat -c%n "$FILENAME")&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;# Same as "$FILENAME" of course.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;file_owner=$(stat -c%U "$FILENAME")&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;file_size=$(stat -c%s "$FILENAME")&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;Certainly easier than using "ls -l $FILENAME"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#+ and then parsing with sed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;file_inode=$(stat -c%i "$FILENAME")&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;file_type=$(stat -c%F "$FILENAME")&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;file_access_rights=$(stat -c%A "$FILENAME")&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;echo "File name:&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;$file_name"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;echo "File owner:&lt;span style="mso-spacerun:yes"&gt;         &lt;/span&gt;$file_owner"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;echo "File size:&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;$file_size"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;echo "File inode:&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;$file_inode"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;echo "File type:&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;$file_type"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;echo "File access rights: $file_access_rights"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;exit 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;sh fileinfo2.sh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;File name:&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;testfile.txt&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;File owner:&lt;span style="mso-spacerun:yes"&gt;         &lt;/span&gt;bozo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;File size:&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;418&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;File inode:&lt;span style="mso-spacerun:yes"&gt;         &lt;/span&gt;1730378&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;File type:&lt;span style="mso-spacerun:yes"&gt;       &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;regular file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;File access rights: -rw-rw-r--&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="VMSTATREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;vmstat&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Display virtual memory statistics.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;vmstat&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;procs&lt;span style="mso-spacerun:yes"&gt;                      &lt;/span&gt;memory&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;swap&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;io system&lt;span style="mso-spacerun:yes"&gt;         &lt;/span&gt;cpu&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; r&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;b&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;w&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;swpd&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;free&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;buff&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;cache&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;si&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;so&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;bi&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;bo&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;in&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;cs&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;us&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;sy id&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; 0&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;0&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;0&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;0&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;11040&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;2636&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;38952&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;0&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;0&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;33&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;7&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;271&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;88&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;8&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;3 89&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="NETSTATREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;netstat&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Show current network statistics and information, such as routing tables and active connections. This utility accesses information in&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black"&gt;/proc/net&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black"&gt;netstat -r&lt;/span&gt;&lt;/b&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;is equivalent to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;route.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;netstat&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;Active Internet connections (w/o servers)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; Proto Recv-Q Send-Q Local Address&lt;span style="mso-spacerun:yes"&gt;           &lt;/span&gt;Foreign Address&lt;span style="mso-spacerun:yes"&gt;         &lt;/span&gt;State&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;Active UNIX domain sockets (w/o servers)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; Proto RefCnt Flags&lt;span style="mso-spacerun:yes"&gt;       &lt;/span&gt;Type&lt;span style="mso-spacerun:yes"&gt;       &lt;/span&gt;State&lt;span style="mso-spacerun:yes"&gt;         &lt;/span&gt;I-Node Path&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; unix&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;11&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;[ ]&lt;span style="mso-spacerun:yes"&gt;         &lt;/span&gt;DGRAM&lt;span style="mso-spacerun:yes"&gt;                    &lt;/span&gt;906&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;/dev/log&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; unix&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;3&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;[ ]&lt;span style="mso-spacerun:yes"&gt;         &lt;/span&gt;STREAM&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;CONNECTED&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;4514&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;/tmp/.X11-unix/X0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; unix&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;3&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;[ ]&lt;span style="mso-spacerun:yes"&gt;         &lt;/span&gt;STREAM&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;CONNECTED&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;4513&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; . . .&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span style="color:black; display:none;mso-hide:all"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td width="25" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1026" type="#_x0000_t75" alt="Note" style="'width:18pt;height:18pt;"&gt;    &lt;v:imagedata src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image002.gif" href="http://www.tldp.org/LDP/abs/images/note.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img width="24" height="24" src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image002.gif" hspace="5" alt="Note" shapes="_x0000_i1026" /&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;A&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;netstat -lptu&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;shows&lt;span class="apple-converted-space"&gt; &lt;/span&gt;sockets&lt;span class="apple-converted-space"&gt; &lt;/span&gt;that are listening to ports, and the   associated processes. This can be useful for determining whether a computer   has been hacked or compromised.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="UPTIMEREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;uptime&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Shows how long the system has been running, along with associated statistics.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;uptime&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;10:28pm&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;up&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;1:57,&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;3 users,&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;load average: 0.17, 0.34, 0.27&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span style="color:black; display:none;mso-hide:all"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td width="25" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1027" type="#_x0000_t75" alt="Note" style="'width:18pt;height:18pt;"&gt;    &lt;v:imagedata src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image002.gif" href="http://www.tldp.org/LDP/abs/images/note.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img width="24" height="24" src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image002.gif" hspace="5" alt="Note" shapes="_x0000_i1027" /&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;A&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;load average&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;of 1 or less indicates that the   system handles processes immediately. A load average greater than 1 means   that processes are being queued. When the load average gets above 3, then   system performance is significantly degraded.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="HNAMEREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;hostname&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Lists the system's host name. This command sets the host name in an&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black"&gt;/etc/rc.d&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;setup script (&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt; color:black"&gt;/etc/rc.d/rc.sysinit&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;or similar). It is equivalent to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;uname -n&lt;/b&gt;, and a counterpart to the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;$HOSTNAME&lt;span class="apple-converted-space"&gt; &lt;/span&gt;internal variable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;hostname&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;localhost.localdomain&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;echo $HOSTNAME&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;localhost.localdomain&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Similar to the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;hostname&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command are the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;domainname&lt;/b&gt;,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;dnsdomainname&lt;/b&gt;,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;nisdomainname&lt;/b&gt;, and&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;ypdomainname&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;commands. Use these to display or set the system DNS or NIS/YP domain name. Various options to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;hostname&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;also perform these functions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="HOSTIDREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;hostid&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Echo a 32-bit hexadecimal numerical identifier for the host machine.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;hosted&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;7f0100&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span style="color:black; display:none;mso-hide:all"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td width="25" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1028" type="#_x0000_t75" alt="Note" style="'width:18pt;height:18pt;"&gt;    &lt;v:imagedata src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image002.gif" href="http://www.tldp.org/LDP/abs/images/note.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img width="24" height="24" src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image002.gif" hspace="5" alt="Note" shapes="_x0000_i1028" /&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;This command allegedly fetches a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="quote"&gt;"unique"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;serial   number for a particular system. Certain product registration procedures use   this number to brand a particular user license. Unfortunately,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;hostid&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;only returns the machine network   address in hexadecimal, with pairs of bytes transposed.&lt;/p&gt;   &lt;p&gt;The network address of a typical non-networked Linux machine, is found in&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt"&gt;/etc/hosts&lt;/span&gt;&lt;/tt&gt;.&lt;/p&gt;   &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;background:#E0E0E0"&gt;    &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;     &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;cat /etc/hosts&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;127.0.0.1&lt;span style="mso-spacerun:yes"&gt;               &lt;/span&gt;localhost.localdomain localhost&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;    &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;   &lt;p&gt;As it happens, transposing the bytes of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt"&gt;127.0.0.1&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;, we get&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt"&gt;0.127.1.0&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;,   which translates in hex to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt"&gt;007f0100&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;, the exact equivalent of   what&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;hostid&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;returns, above. There exist only a   few million other Linux machines with this identical&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;hostid&lt;/i&gt;.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="SARREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;sar&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Invoking&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;sar&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;(System Activity Reporter) gives a very detailed rundown on system statistics. The Santa Cruz Operation (&lt;span class="quote"&gt;"Old"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;SCO) released&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;sar&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;as Open Source in June, 1999.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;This command is not part of the base Linux distribution, but may be obtained as part of the&lt;/span&gt; sysstat utilities package, written by Sebastien Godard.&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;sar&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;Linux 2.4.9 (brooks.seringas.fr) &lt;span style="mso-tab-count:1"&gt;     &lt;/span&gt;09/26/03&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;10:30:00&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;CPU&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;%user&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;%nice &lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;%system&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;%iowait&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;%idle&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;10:40:00&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;all&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;2.21&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;10.90&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;65.48&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;0.00&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;21.41&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;10:50:00&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;all&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;3.36&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;0.00&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;72.36&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;0.00&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;24.28&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;11:00:00&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;all&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;1.12&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;0.00&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;80.77&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;0.00&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;18.11&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;Average:&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;        &lt;/span&gt;all&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;2.23&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;3.63&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;72.87&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;0.00&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;21.27&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;14:32:30&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;LINUX RESTART&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;15:00:00&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;CPU&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;%user&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;%nice&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;%system&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;%iowait&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;%idle&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;15:10:00&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;all&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;8.59&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;2.40&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;17.47&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;0.00&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;71.54&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;15:20:00&lt;span style="mso-spacerun:yes"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;all&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;4.07&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;1.00&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;11.95&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;0.00&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;82.98&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;15:30:00&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;all&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;0.79&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;2.94&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;7.56&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;0.00&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;88.71&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;Average:&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;all&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;6.33&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;1.70&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;14.71&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;0.00&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;77.26&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;           &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="READELFREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;readelf&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Show information and statistics about a designated&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;elf&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;binary. This is part of the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;binutils&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;package.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;readelf -h /bin/bash&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;ELF Header:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;Magic:&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;Class:&lt;span style="mso-spacerun:yes"&gt;                             &lt;/span&gt;ELF32&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;Data:&lt;span style="mso-spacerun:yes"&gt;                              &lt;/span&gt;2's complement, little endian&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;Version:&lt;span style="mso-spacerun:yes"&gt;                           &lt;/span&gt;1 (current)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;OS/ABI:&lt;span style="mso-spacerun:yes"&gt;                            &lt;/span&gt;UNIX - System V&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;ABI Version:&lt;span style="mso-spacerun:yes"&gt;                       &lt;/span&gt;0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;Type:&lt;span style="mso-spacerun:yes"&gt;                              &lt;/span&gt;EXEC (Executable file)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;. . .&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="SIZEREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;size&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;size [/path/to/binary]&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command gives the segment sizes of a binary executable or archive file. This is mainly of use to programmers.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;size /bin/bash&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;text&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;data&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;bss&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;dec&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;hex filename&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;495971&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;22496&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;17392&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;535859&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;82d33 /bin/bash&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;http://romance-scam.blogspot.com/
http://banscam.blogspot.com/
http://neverscam.blogspot.com/
http://hatescam.blogspot.com/
http://reportyourscam.blogspot.com/
http://bamscam.blogspot.com/
http://igotscam.blogspot.com/
http://arjudba.blogspot.com/
http://scamhack.blogspot.com/
http://scam-mails.blogspot.com/&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4903512494245917620-637535309165463831?l=unix-in-world.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://unix-in-world.blogspot.com/feeds/637535309165463831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4903512494245917620&amp;postID=637535309165463831' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/637535309165463831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/637535309165463831'/><link rel='alternate' type='text/html' href='http://unix-in-world.blogspot.com/2009/11/uname-arch-lastcomm-lastlog-strace.html' title='uname, arch, lastcomm, lastlog, strace, ltrace, nmap, nc, free, procinfo stat, sar command'/><author><name>Arju</name><uri>http://www.blogger.com/profile/14751715706838377391</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_8O68IaFjsdA/Sakz3h470fI/AAAAAAAAAOs/MJ4OOGOGlBg/S220/Arju.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4903512494245917620.post-2879935480934953160</id><published>2009-11-04T06:00:00.000-08:00</published><updated>2009-11-04T06:04:25.857-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>tty, stty, setterm, test. setserial, getty, agetty, mesg, wall terminal commands</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;tty&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Echoes the name (filename) of the current user's terminal. Note that each separate&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;xterm&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;window counts as a different terminal.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;tty&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;/dev/pts/1&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="STTYREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black;"&gt;stty&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Shows and/or changes terminal settings. This complex command, used in a script, can control terminal behavior and the way output displays. See the info page, and study it carefully.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;a name="ERASE"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Example. Setting an&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;erase&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;character&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#!/bin/bash&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# erase.sh: Using "stty" to set an erase character when reading input.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo -n "What is your name? "&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;read name&lt;span style="mso-spacerun:yes"&gt;                      &lt;/span&gt;#&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;Try to backspace&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;span style="mso-spacerun:yes"&gt;                               &lt;/span&gt;#+ to erase characters of input.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;span style="mso-spacerun:yes"&gt;              &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;                 &lt;/span&gt;#&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;Problems?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo "Your name is $name."&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;stty erase '#'&lt;span style="mso-spacerun:yes"&gt;                 &lt;/span&gt;#&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;Set "hashmark" (#) as erase character.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo -n "What is your name? "&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;read name&lt;span style="mso-spacerun:yes"&gt;                      &lt;/span&gt;#&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;Use # to erase last character typed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo "Your name is $name."&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;exit 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Even after the script exits, the new key value remains set.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Exercise: How would you reset the erase character to the default value?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;a name="SECRETPW"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Example&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;secret password&lt;/i&gt;: Turning off terminal echoing&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#!/bin/bash&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# secret-pw.sh: secret password&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo -n "Enter password "&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;read passwd&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo "password is $passwd"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo -n "If someone had been looking over your shoulder, "&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo "your password would have been compromised."&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo &amp;amp;&amp;amp; echo&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;# Two line-feeds in an "and list."&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;stty -echo&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;# Turns off screen echo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo -n "Enter password again "&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;read passwd&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo "password is $passwd"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;stty echo&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;# Restores screen echo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;exit 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Do an 'info stty' for more on this useful-but-tricky command.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;A creative use of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;stty&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;is detecting a user keypress (without hitting&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;ENTER&lt;/b&gt;).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;a name="KEYPRESS"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Example. Keypress detection&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#!/bin/bash&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# keypress.sh: Detect a user keypress ("hot keys").&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;old_tty_settings=$(stty -g)&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;# Save old settings (why?).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;stty -icanon&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;Keypress=$(head -c1)&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;# or $(dd bs=1 count=1 2&gt; /dev/null)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;span style="mso-spacerun:yes"&gt;                              &lt;/span&gt;# on non-GNU systems&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo "Key pressed was \""$Keypress"\"."&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;stty "$old_tty_settings"&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;# Restore old settings.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Thanks, Stephane Chazelas.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;exit 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" style="mso-cellspacing:1.5pt;  margin-left:.5in;mso-padding-alt:3.75pt 3.75pt 3.75pt 3.75pt"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:3.75pt 3.75pt 3.75pt 3.75pt"&gt;   &lt;p&gt;&lt;a name="TERMINALSREF"&gt;&lt;/a&gt;&lt;a name="AEN14583"&gt;&lt;/a&gt;&lt;b&gt;terminals and modes&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p&gt;Normally, a terminal works in the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;canonical&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;mode. When a user hits a key, the   resulting character does not immediately go to the program actually running   in this terminal. A buffer local to the terminal stores keystrokes. When the   user hits the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;ENTER&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;key, this sends all the stored   keystrokes to the program running. There is even a basic line editor inside   the terminal.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;background:#E0E0E0"&gt;    &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;     &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;stty –a&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;speed 9600 baud; rows 36; columns 96; line = 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt; intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = &lt;undef&gt;; eol2 = &lt;undef&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/undef&gt;&lt;/undef&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt; ...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt; isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;span style="mso-spacerun:yes"&gt;                &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;    &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;   &lt;p&gt;Using canonical mode, it is possible to redefine the special keys for the   local terminal line editor.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;background:#E0E0E0"&gt;    &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;     &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;cat &gt; filexxx&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="color:black;"&gt;wha&lt;ctl-w&gt;I&lt;ctl-h&gt;foo bar&lt;ctl-u&gt;hello world&lt;enter&gt;&lt;/enter&gt;&lt;/ctl-u&gt;&lt;/ctl-h&gt;&lt;/ctl-w&gt;&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="color:black;"&gt;&lt;ctl-d&gt;&lt;/ctl-d&gt;&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;cat filexxx&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;hello world&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;span style="mso-tab-count:2"&gt;            &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;wc -c &lt;&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;/b&gt;&lt;/tt&gt;&lt;b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;&lt;b&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;12&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;span style="mso-tab-count:2"&gt;             &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;span style="mso-spacerun:yes"&gt;             &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/b&gt;&lt;/td&gt;    &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;   &lt;p&gt;The process controlling the terminal receives only 12 characters (11   alphabetic ones, plus a newline), although the user hit 26 keys.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p&gt;In non-canonical (&lt;span class="quote"&gt;"raw"&lt;/span&gt;) mode, every   key hit (including special editing keys such as&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;ctl-H&lt;/b&gt;) sends a character   immediately to the controlling process.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p&gt;The Bash prompt disables both&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;"&gt;icanon&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;and&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;"&gt;echo&lt;/span&gt;&lt;/tt&gt;,   since it replaces the basic terminal line editor with its own more elaborate   one. For example, when you hit&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;ctl-A&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;at the Bash prompt, there's no&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;^A&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;echoed by the terminal, but Bash   gets a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;\1&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;character, interprets it, and moves   the cursor to the begining of the line.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p&gt;&lt;em&gt;Stéphane Chazelas&lt;/em&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="SETTERMREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black;"&gt;setterm&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Set certain terminal attributes. This command writes to its terminal's&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;stdout&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;a string that changes the behavior of that terminal.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;setterm -cursor off&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;setterm&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command can be used within a script to change the appearance of text written to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;stdout&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;, although there are certainly better tools&lt;span class="apple-converted-space"&gt; &lt;/span&gt;available for this purpose.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;setterm -bold on&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo bold hello&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;setterm -bold off&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo normal hello&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="TSETREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black;"&gt;tset&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Show or initialize terminal settings. This is a less capable version of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;stty&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;tset –r&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;Terminal type is xterm-xfree86.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt; Kill is control-U (^U).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt; Interrupt is control-C (^C).&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="SETSERIALREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black;"&gt;setserial&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Set or display serial port parameters. This command must be run by&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;root&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;and is usually found in a system setup script.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# From /etc/pcmcia/serial script:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;IRQ=`setserial /dev/$DEVICE | sed -e 's/.*IRQ: //'`&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;setserial /dev/$DEVICE irq 0 ; setserial /dev/$DEVICE irq $IRQ&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="GETTYREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black;"&gt;getty&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;a name="AGETTYREF"&gt;&lt;/a&gt;&lt;b&gt;agetty&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;The initialization process for a terminal uses&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;getty&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;or&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;agetty&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;to set it up for login by a user. These commands are not used within user shell scripts. Their scripting counterpart is&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;stty&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="MESGREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black;"&gt;mesg&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Enables or disables write access to the current user's terminal. Disabling access would prevent another user on the network to&lt;span class="apple-converted-space"&gt; write &lt;/span&gt;to the terminal.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td width="25" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;    &lt;v:stroke joinstyle="miter"&gt;    &lt;v:formulas&gt;     &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;     &lt;v:f eqn="sum @0 1 0"&gt;     &lt;v:f eqn="sum 0 0 @1"&gt;     &lt;v:f eqn="prod @2 1 2"&gt;     &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;     &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;     &lt;v:f eqn="sum @0 0 1"&gt;     &lt;v:f eqn="prod @6 1 2"&gt;     &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;     &lt;v:f eqn="sum @8 21600 0"&gt;     &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;     &lt;v:f eqn="sum @10 21600 0"&gt;    &lt;/v:formulas&gt;    &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;    &lt;o:lock ext="edit" aspectratio="t"&gt;   &lt;/v:shapetype&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" alt="Tip" style="'width:18.75pt;height:18pt;mso-wrap-distance-left:3.75pt;"&gt;    &lt;v:imagedata src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image001.gif" href="http://www.tldp.org/LDP/abs/images/tip.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img border="0" width="25" height="24" src="file:///E:/Documents%20and%20Settings/Arju/Local%20Settings/Temp/msohtml1/01/clip_image001.gif" hspace="5" alt="Tip" shapes="_x0000_i1025" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;It can be quite annoying to have a message about ordering pizza suddenly   appear in the middle of the text file you are editing. On a multi-user   network, you might therefore wish to disable write access to your terminal   when you need to avoid interruptions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="WALLREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black;"&gt;wall&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;This is an acronym for&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="quote"&gt;"write&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="quote"&gt;all,"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;i.e., sending a message to all users at every terminal logged into the network. It is primarily a system administrator's tool, useful, for example, when warning everyone that the system will shortly go down due to a problem.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;wall System going down for maintenance in 5 minutes!&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;Broadcast message from bozo (pts/1) Sun Jul&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;8 13:53:27 2001...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt; System going down for maintenance in 5 minutes!&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span style=" display:none;mso-hide:allcolor:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td width="25" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1026" type="#_x0000_t75" alt="Note" style="'width:18pt;height:18pt;"&gt;    &lt;v:imagedata src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image002.gif" href="http://www.tldp.org/LDP/abs/images/note.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img border="0" width="24" height="24" src="file:///E:/Documents%20and%20Settings/Arju/Local%20Settings/Temp/msohtml1/01/clip_image002.gif" hspace="5" alt="Note" shapes="_x0000_i1026" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;If write access to a particular terminal has been disabled with&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;mesg&lt;/b&gt;, then&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;wall&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;cannot send a message to that   terminal.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;http://romance-scam.blogspot.com/
http://banscam.blogspot.com/
http://neverscam.blogspot.com/
http://hatescam.blogspot.com/
http://reportyourscam.blogspot.com/
http://bamscam.blogspot.com/
http://igotscam.blogspot.com/
http://arjudba.blogspot.com/
http://scamhack.blogspot.com/
http://scam-mails.blogspot.com/&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4903512494245917620-2879935480934953160?l=unix-in-world.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://unix-in-world.blogspot.com/feeds/2879935480934953160/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4903512494245917620&amp;postID=2879935480934953160' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/2879935480934953160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/2879935480934953160'/><link rel='alternate' type='text/html' href='http://unix-in-world.blogspot.com/2009/11/tty-stty-setterm-test-setserial-getty.html' title='tty, stty, setterm, test. setserial, getty, agetty, mesg, wall terminal commands'/><author><name>Arju</name><uri>http://www.blogger.com/profile/14751715706838377391</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_8O68IaFjsdA/Sakz3h470fI/AAAAAAAAAOs/MJ4OOGOGlBg/S220/Arju.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4903512494245917620.post-3382015056313527916</id><published>2009-11-04T05:50:00.001-08:00</published><updated>2009-11-04T05:52:08.890-08:00</updated><title type='text'>Users, groups, chown, chgrp, useradd, userdel, usermod, id, who, w, last ac command</title><content type='html'>&lt;p&gt;&lt;b&gt;&lt;span style="color:black"&gt;Users and Groups Commands Lists&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="USERSREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;users&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Show all logged on users. This is the approximate equivalent of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;who -q&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="GROUPSCMDREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;groups&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Lists the current user and the groups she belongs to. This corresponds to the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.tldp.org/LDP/abs/html/internalvariables.html#GROUPSREF"&gt;&lt;span style="color:windowtext;text-decoration:none;text-underline:none"&gt;$GROUPS&lt;/span&gt;&lt;/a&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;internal variable, but gives the group names, rather than the numbers.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;groups&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bozita cdrom cdwriter audio xgrp&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;echo $GROUPS&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;501&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="CHOWNREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;chown&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;a name="CHGRPREF"&gt;&lt;/a&gt;&lt;b&gt;chgrp&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;chown&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command changes the ownership of a file or files. This command is a useful method that&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;root&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;can use to shift file ownership from one user to another. An ordinary user may not change the ownership of files, not even her own files.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;root# &lt;b&gt;chown bozo *.txt&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;chgrp&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command changes the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;i&gt;&lt;span style="font-size: 10.0pt;color:black"&gt;group&lt;/span&gt;&lt;/i&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;ownership of a file or files. You must be owner of the file(s) as well as a member of the destination group (or&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;root&lt;/i&gt;) to use this operation.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black"&gt;chgrp --recursive dunderheads *.data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;The "dunderheads" group will now own all the "*.data" files&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#+ all the way down the $PWD directory tree (that's what "recursive" means).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="USERADDREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;useradd&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;userdel&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;useradd&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;administrative command adds a user account to the system and creates a home directory for that particular user, if so specified. The corresponding&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;userdel&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command removes a user account from the system&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;a name="AEN14257"&gt;&lt;/a&gt;&lt;a href="http://www.tldp.org/LDP/abs/html/system.html#FTN.AEN14257#FTN.AEN14257"&gt;&lt;span style="mso-bookmark:AEN14257"&gt;&lt;span class="footnote"&gt;&lt;span style="color:windowtext; text-decoration:none;text-underline:none"&gt;[2]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-bookmark:AEN14257"&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="mso-bookmark:AEN14257"&gt;&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;and deletes associated files.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td width="25" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;    &lt;v:stroke joinstyle="miter"&gt;    &lt;v:formulas&gt;     &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;     &lt;v:f eqn="sum @0 1 0"&gt;     &lt;v:f eqn="sum 0 0 @1"&gt;     &lt;v:f eqn="prod @2 1 2"&gt;     &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;     &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;     &lt;v:f eqn="sum @0 0 1"&gt;     &lt;v:f eqn="prod @6 1 2"&gt;     &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;     &lt;v:f eqn="sum @8 21600 0"&gt;     &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;     &lt;v:f eqn="sum @10 21600 0"&gt;    &lt;/v:formulas&gt;    &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;    &lt;o:lock ext="edit" aspectratio="t"&gt;   &lt;/v:shapetype&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" alt="Note" style="'width:18pt;height:18pt;mso-wrap-distance-left:3.75pt;"&gt;    &lt;v:imagedata src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image001.gif" href="http://www.tldp.org/LDP/abs/images/note.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img border="0" width="24" height="24" src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image001.gif" hspace="5" alt="Note" shapes="_x0000_i1025" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;adduser&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command is a synonym for&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;useradd&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;and is usually a symbolic link to   it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="USERMODREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;usermod&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Modify a user account. Changes may be made to the password, group membership, expiration date, and other attributes of a given user's account. With this command, a user's password may be locked, which has the effect of disabling the account.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="GROUPMODREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;groupmod&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Modify a given group. The group name and/or ID number may be changed using this command.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="IDREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;id&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;id&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command lists the real and effective user IDs and the group IDs of the user associated with the current process. This is the counterpart to the&lt;/span&gt; &lt;a href="http://www.tldp.org/LDP/abs/html/internalvariables.html#UIDREF"&gt;&lt;span style="color:windowtext;text-decoration:none;text-underline:none"&gt;$UID&lt;/span&gt;&lt;/a&gt;,&lt;a href="http://www.tldp.org/LDP/abs/html/internalvariables.html#EUIDREF"&gt;&lt;span style="color:windowtext;text-decoration:none;text-underline:none"&gt;$EUID&lt;/span&gt;&lt;/a&gt;, and &lt;a href="http://www.tldp.org/LDP/abs/html/internalvariables.html#GROUPSREF"&gt;&lt;span style="color:windowtext;text-decoration:none;text-underline:none"&gt;$GROUPS&lt;/span&gt;&lt;/a&gt; internal Bash variables.&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;id&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;uid=501(bozo) gid=501(bozo) groups=501(bozo),22(cdrom),80(cdwriter),81(audio)&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;echo $UID&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:   black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;501&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span style="color:black; display:none;mso-hide:all"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td width="25" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1026" type="#_x0000_t75" alt="Note" style="'width:18pt;height:18pt;"&gt;    &lt;v:imagedata src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image001.gif" href="http://www.tldp.org/LDP/abs/images/note.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img border="0" width="24" height="24" src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image001.gif" hspace="5" alt="Note" shapes="_x0000_i1026" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;id&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command shows the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;em&gt;effective&lt;/em&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;IDs only when they differ from the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;em&gt;real&lt;/em&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;ones.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="LIDREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="color:black"&gt;lid&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;lid&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;(list ID) command shows the group(s) that a given user belongs to, or alternately, the users belonging to a given group. May be invoked only by root.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;root# &lt;b&gt;lid bozo&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; bozo(gid=500)&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;root# &lt;b&gt;lid daemon&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; bin(gid=1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;daemon(gid=2)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;adm(gid=4)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;lp(gid=7)&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="WHOREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;who&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Show all users logged on to the system.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;who&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bozo&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;tty1&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;Apr 27 17:45&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; bozo&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;pts/0&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;Apr 27 17:46&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; bozo&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;pts/1&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;Apr 27 17:47&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; bozo&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;pts/2&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;Apr 27 17:49&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: 10.0pt;color:black"&gt;-m&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;gives detailed information about only the current user. Passing any two arguments to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;who&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;is the equivalent of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;who -m&lt;/b&gt;, as in&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;who am i&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;or&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;who The &lt;st1:state st="on"&gt;&lt;st1:place st="on"&gt;Man&lt;span style="font-weight:normal"&gt;.&lt;/span&gt;&lt;/st1:place&gt;&lt;/st1:state&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;who –m&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;localhost.localdomain!bozo&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;pts/2&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;Apr 27 17:49&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;a name="WHOAMIREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;whoami&lt;/span&gt;&lt;/b&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;is similar to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;who -m&lt;/b&gt;, but only lists the user name.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;whoami&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bozo&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="WREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;w&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Show all logged on users and the processes belonging to them. This is an extended version of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;who&lt;/b&gt;. The output of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;w&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;may be piped to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: 10.0pt;color:black"&gt;&lt;a href="http://www.tldp.org/LDP/abs/html/textproc.html#GREPREF"&gt;&lt;span style="color:black;text-decoration:none;text-underline:none"&gt;grep&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;to find a specific user and/or process.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;w | grep startx&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bozo&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;tty1&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;-&lt;span style="mso-spacerun:yes"&gt;                 &lt;/span&gt;4:22pm&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;6:41&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;4.47s&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;0.45s&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;startx&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="LOGNAMEREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;logname&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Show current user's login name (as found in&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black"&gt;/var/run/utmp&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;). This is a near-equivalent to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;whoami, above.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;logname&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bozo&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;whoami&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bozo&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;However . . .&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;su&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;Password: ......&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash# &lt;b&gt;whoami&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;root&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash# &lt;b&gt;logname&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bozo&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span style="color:black; display:none;mso-hide:all"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td width="25" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1027" type="#_x0000_t75" alt="Note" style="'width:18pt;height:18pt;"&gt;    &lt;v:imagedata src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image001.gif" href="http://www.tldp.org/LDP/abs/images/note.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img border="0" width="24" height="24" src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image001.gif" hspace="5" alt="Note" shapes="_x0000_i1027" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;While&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;logname&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;prints the name of the logged in   user,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;whoami&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;gives the name of the user attached   to the current process. As we have just seen, sometimes these are not the   same.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="SUREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;su&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Runs a program or script as a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;s&lt;/b&gt;ubstitute&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;u&lt;/b&gt;ser.&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;su rjones&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;starts a shell as user&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;em&gt;rjones&lt;/em&gt;. A naked&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;su&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;defaults to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;root&lt;/i&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="SUDOREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;sudo&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Runs a command as&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;root&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;(or another user). This may be used in a script, thus permitting a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;regular user&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;to run the script.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black"&gt;#!/bin/bash&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# Some commands.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;sudo cp /root/secretfile /home/bozo/secret&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black"&gt;# Some more commands.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;The file&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: 10.0pt;color:black"&gt;/etc/sudoers&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black"&gt;holds the names of users permitted to invoke&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;sudo&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="PASSWDREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;passwd&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Sets, changes, or manages a user's password.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="color:black"&gt;&lt;/span&gt;ac&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Show users' logged in time, as read from&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black"&gt;/var/log/wtmp&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;. This is one of the GNU accounting utilities.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;ac&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt;        &lt;/span&gt;total&lt;span style="mso-spacerun:yes"&gt;       &lt;/span&gt;68.08&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="LASTREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;last&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;List&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;em&gt;last&lt;/em&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;logged in users, as read from&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: 10.0pt;color:black"&gt;/var/log/wtmp&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;. This command can also show remote logins.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;For example, to show the last few times the system rebooted:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;bash$ &lt;b&gt;last reboot&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;reboot&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;system boot&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;2.6.9-1.667&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;Fri Feb&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;4 18:18&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;(00:02)&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;reboot&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;system boot&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;2.6.9-1.667&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;Fri Feb&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;4 15:20&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;(01:27)&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;reboot&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;system boot&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;2.6.9-1.667&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;Fri Feb&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;4 12:56&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;(00:49)&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;reboot&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;system boot&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;2.6.9-1.667&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;Thu Feb&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;3 21:08&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;(02:17)&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;. . .&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black"&gt; wtmp begins Tue Feb&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;1 12:50:09 2005&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="NEWGRPREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black"&gt;newgrp&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black"&gt;Change user's&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;group ID&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;without logging out. This permits access to the new group's files. Since users may be members of multiple groups simultaneously, this command finds only limited use.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;http://romance-scam.blogspot.com/
http://banscam.blogspot.com/
http://neverscam.blogspot.com/
http://hatescam.blogspot.com/
http://reportyourscam.blogspot.com/
http://bamscam.blogspot.com/
http://igotscam.blogspot.com/
http://arjudba.blogspot.com/
http://scamhack.blogspot.com/
http://scam-mails.blogspot.com/&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4903512494245917620-3382015056313527916?l=unix-in-world.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://unix-in-world.blogspot.com/feeds/3382015056313527916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4903512494245917620&amp;postID=3382015056313527916' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/3382015056313527916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/3382015056313527916'/><link rel='alternate' type='text/html' href='http://unix-in-world.blogspot.com/2009/11/users-groups-chown-chgrp-useradd.html' title='Users, groups, chown, chgrp, useradd, userdel, usermod, id, who, w, last ac command'/><author><name>Arju</name><uri>http://www.blogger.com/profile/14751715706838377391</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_8O68IaFjsdA/Sakz3h470fI/AAAAAAAAAOs/MJ4OOGOGlBg/S220/Arju.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4903512494245917620.post-2046340798804277637</id><published>2009-11-04T05:38:00.000-08:00</published><updated>2009-11-04T05:41:20.835-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Medical'/><title type='text'>Private Home Health Care Services</title><content type='html'>&lt;span class="Apple-style-span"   style="  ;font-family:Verdana;font-size:12px;"&gt;&lt;div class="bodycopy-serif-leaded" style="padding-top: 7px; text-align: left; "&gt; For many americans, provate Home Helth Care is not a option due to financial burdens or lack of long term insurance coverage. Most of us need assistance after being discharged from a hospital or rehabilitation facility in order to make a smooth and comfortable transition "YOUR" home. Our welcome home program provides the following services:&lt;br /&gt;&lt;br /&gt;&lt;span class="bodycopy-serif-leaded" align="left"&gt;&lt;img alt="" src="http://www.horizoncareservice.com/images/arrow_down_green_pic_j5cg.jpg" /&gt;&lt;strong&gt;Some of HorizonCareService Solutions Provided Start With:&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style="margin-top: 4px; "&gt;&lt;li class="bodycopy-serif-leaded"&gt;&lt;div style="text-align: left; "&gt;&lt;span style="color:#000000;"&gt;Assistance with packing your personal belongs prior to leaving a facility&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li class="bodycopy-serif-leaded"&gt;&lt;div style="text-align: left; "&gt;&lt;span style="color:#000000;"&gt;Transportation home from any facility in a timely manner&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li class="bodycopy-serif-leaded"&gt;&lt;div style="text-align: left; "&gt;&lt;span style="color:#000000;"&gt;We ensure all medical equipment and supplies are delivered or picked up for home use&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li class="bodycopy-serif-leaded"&gt;&lt;div style="text-align: left; "&gt;&lt;span style="color:#000000;"&gt;Medication and perscription pick ups, fills, refills, etc...&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li class="bodycopy-serif-leaded"&gt;&lt;div style="text-align: left; "&gt;&lt;span style="color:#000000;"&gt;All medical equipment will be set up in your home where you feel most comfortable&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li class="bodycopy-serif-leaded"&gt;&lt;div style="text-align: left; "&gt;&lt;span style="color:#000000;"&gt;Home safety inspection, we want to make sure you home is safe - rugs, cords, and more&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li class="bodycopy-serif-leaded"&gt;&lt;div style="text-align: left; "&gt;&lt;span style="color:#000000;"&gt;Home preperation after saftey check we vacum, dust, set up and clean to you satisfaction&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li class="bodycopy-serif-leaded"&gt;&lt;div style="text-align: left; "&gt;&lt;span style="color:#000000;"&gt;We even clean your kitchen, do the grocery shopping &amp;amp; cook your meals to prefection &lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left; "&gt;&lt;br /&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana; font-size: 12px; "&gt;&lt;span class="bodycopy-serif-leaded" align="left"&gt;&lt;br /&gt;&lt;img alt="" src="http://www.horizoncareservice.com/images/arrow_down_green_pic_j5cg.jpg" /&gt;&lt;/span&gt;&lt;span style="font-family:Arial;"&gt;&lt;strong&gt;&lt;span style="font-size:100%;"&gt; &lt;span style="color:#800080;"&gt;HorizonCareService&lt;/span&gt; &lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size: 13px; "&gt;is the nation's number one rated, trusted and the most nationally respected agency network of &lt;span style="font-size: 13px; color:#000000;"&gt;Home Care Services&lt;/span&gt; non-medical, private duty home care agencies providing senior care, elder care, personal care, respite care and companion care to help the elderly and adults continue to live their lives in the comfort of their own homes.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Arial;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"   style="font-family:Arial;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana; font-size: 12px; "&gt;&lt;ul style="margin-top: 4px; "&gt;&lt;li class="bodycopy-serif-leaded"&gt;&lt;div style="text-align: left; "&gt;Assistance in Hygiene&lt;/div&gt;&lt;/li&gt;&lt;li class="bodycopy-serif-leaded"&gt;&lt;div style="text-align: left; "&gt;Meal preparation/Diet monitoring&lt;/div&gt;&lt;/li&gt;&lt;li class="bodycopy-serif-leaded"&gt;&lt;div style="text-align: left; "&gt;Light housekeeping&lt;/div&gt;&lt;/li&gt;&lt;li class="bodycopy-serif-leaded"&gt;&lt;div style="text-align: left; "&gt;Errands and Shopping&lt;/div&gt;&lt;/li&gt;&lt;li class="bodycopy-serif-leaded"&gt;&lt;div style="text-align: left; "&gt;Joyful companionship&lt;/div&gt;&lt;/li&gt;&lt;li class="bodycopy-serif-leaded"&gt;&lt;div style="text-align: left; "&gt;Affordable Hourly rates!&lt;/div&gt;&lt;/li&gt;&lt;li class="bodycopy-serif-leaded"&gt;&lt;div style="text-align: left; "&gt;Live in, Live- out, sleep-over&lt;/div&gt;&lt;/li&gt;&lt;li class="bodycopy-serif-leaded"&gt;&lt;div style="text-align: left; "&gt;Mornings, mid-day, evenings&lt;/div&gt;&lt;/li&gt;&lt;li class="bodycopy-serif-leaded"&gt;&lt;div style="text-align: left; "&gt;Temporary or Long term&lt;/div&gt;&lt;/li&gt;&lt;li class="bodycopy-serif-leaded"&gt;&lt;div style="text-align: left; "&gt;Weekends, holidays&lt;/div&gt;&lt;/li&gt;&lt;li class="bodycopy-serif-leaded"&gt;&lt;div style="text-align: left; "&gt;Respite for family caregivers&lt;/div&gt;&lt;/li&gt;&lt;li class="bodycopy-serif-leaded"&gt;&lt;div style="text-align: left; "&gt;More &lt;a href="http://www.horizoncareservice.com/Care_Services.Contact.html" style="color: rgb(0, 0, 0); "&gt;&lt;span style="color:#0000ff;"&gt;Contact Us &lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt;&lt;li class="bodycopy-serif-leaded"&gt;&lt;div style="text-align: left; "&gt;&lt;strong&gt;Length of HomeHealthCare Services - HorizonCareService&lt;/strong&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style="margin-top: 4px; "&gt;&lt;li class="RightSideBullets"&gt;&lt;div style="text-align: left; "&gt;Hourly Care&lt;/div&gt;&lt;/li&gt;&lt;li class="RightSideBullets"&gt;&lt;div style="text-align: left; "&gt;24/7 Multiple Shift Care&lt;/div&gt;&lt;/li&gt;&lt;li class="RightSideBullets"&gt;&lt;div style="text-align: left; "&gt;Live In Care&lt;/div&gt;&lt;/li&gt;&lt;li class="RightSideBullets"&gt;&lt;div style="text-align: left; "&gt;Weekends &amp;amp; Holidays&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style="text-align: left; "&gt;&lt;span&gt;&lt;strong&gt;&lt;span class="bodycopy-serif-leaded" align="left"&gt;&lt;img alt="" src="http://www.horizoncareservice.com/images/arrow_down_green_pic_j5cg.jpg" /&gt;Basic &lt;/span&gt;Types of Home Care Services&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul style="margin-top: 4px; "&gt;&lt;li class="RightSideBullets"&gt;&lt;div style="text-align: left; "&gt;Activities of Daily Living 'ADL'&lt;/div&gt;&lt;/li&gt;&lt;li class="RightSideBullets"&gt;&lt;div style="text-align: left; "&gt;Custodial Care  &lt;/div&gt;&lt;/li&gt;&lt;li class="RightSideBullets"&gt;&lt;div style="text-align: left; "&gt;Assistance in Dressing&lt;/div&gt;&lt;/li&gt;&lt;li class="RightSideBullets"&gt;&lt;div style="text-align: left; "&gt;Bathing/Showering&lt;/div&gt;&lt;/li&gt;&lt;li class="RightSideBullets"&gt;&lt;div style="text-align: left; "&gt;Medication Reminders&lt;/div&gt;&lt;/li&gt;&lt;li class="RightSideBullets"&gt;&lt;div style="text-align: left; "&gt;Hospice support&lt;/div&gt;&lt;/li&gt;&lt;li class="RightSideBullets"&gt;&lt;div style="text-align: left; "&gt;Meal Preparation&lt;/div&gt;&lt;/li&gt;&lt;li class="RightSideBullets"&gt;&lt;div style="text-align: left; "&gt;Light Housekeeping&lt;/div&gt;&lt;/li&gt;&lt;li class="RightSideBullets"&gt;&lt;div style="text-align: left; "&gt;Errands and Shopping&lt;/div&gt;&lt;/li&gt;&lt;li class="RightSideBullets"&gt;&lt;div style="text-align: left; "&gt;Doctors Visits&lt;/div&gt;&lt;/li&gt;&lt;li class="RightSideBullets"&gt;&lt;div style="text-align: left; "&gt;Joyful Companionship&lt;/div&gt;&lt;/li&gt;&lt;li class="RightSideBullets"&gt;&lt;div style="text-align: left; "&gt;Respite for Family Caregivers&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style="text-align: left; "&gt;&lt;span&gt;&lt;strong&gt;&lt;span class="bodycopy-serif-leaded" align="left"&gt;&lt;img alt="" src="http://www.horizoncareservice.com/images/arrow_down_green_pic_j5cg.jpg" /&gt;Exclusive Home Care &lt;/span&gt;Practices&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul style="margin-top: 4px; "&gt;&lt;li class="RightSideBullets"&gt;&lt;div style="text-align: left; "&gt;Licensed in requiring States&lt;/div&gt;&lt;/li&gt;&lt;li class="RightSideBullets"&gt;&lt;div style="text-align: left; "&gt;Experienced Caregivers&lt;/div&gt;&lt;/li&gt;&lt;li class="RightSideBullets"&gt;&lt;div style="text-align: left; "&gt;Comprehensive Caregiver/Applicant Background investigation including criminal checks&lt;/div&gt;&lt;/li&gt;&lt;li class="RightSideBullets"&gt;&lt;div style="text-align: left; "&gt;Agencies required to be bonded and insured&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p style="text-align: left; "&gt;&lt;span&gt;&lt;strong&gt;&lt;span class="bodycopy-serif-leaded" align="left"&gt;&lt;img alt="" src="http://www.horizoncareservice.com/images/arrow_down_green_pic_j5cg.jpg" /&gt;&lt;/span&gt;Special Home Care Practices&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="RightSideBullets" style="text-align: left; "&gt;Many HorizonCareService.com Agencies offer specialized Home Care Services for Senior-Elder clients in South Florida with Alzheimer’s and other illnesses.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-size: 14px; "&gt;&lt;span style="font-size: 13px; "&gt;&lt;span style="font-size: 14px; "&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span class="bodycopy-serif-leaded" align="left"&gt;&lt;img alt="" src="http://www.horizoncareservice.com/images/arrow_down_green_pic_j5cg.jpg" /&gt;&lt;/span&gt; &lt;span style="color:#800080;"&gt;HorizonCareService&lt;/span&gt; &lt;/strong&gt;&lt;span style="font-size: 13px; "&gt;is the nation's number one rated, trusted and the most nationally respected agency network of &lt;span style="font-size: 13px; color:#000000;"&gt;Home Care Services&lt;/span&gt; non-medical, private duty home care agencies providing senior care, elder care, personal care, respite care and companion care to help the elderly and adults continue to live their lives in the comfort of their own homes.&lt;/span&gt; &lt;a href="http://www.horizoncareservice.com/Care_Services.Contact.html" style="color: rgb(0, 0, 0); "&gt;&lt;span style="color:#0000ff;"&gt;Contact Us&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-size: 14px; "&gt;&lt;span style="font-size: 13px; "&gt;&lt;span style="font-size: 14px; "&gt;&lt;span style="font-size: 14px; "&gt;&lt;span style="font-size: 16px; "&gt;&lt;span style="font-size: 14px; "&gt;&lt;div class="bodycopy-serif-leaded" style="padding-top: 8px; text-align: left; "&gt;&lt;br /&gt;&lt;strong&gt;&lt;span class="bodycopy-serif-leaded" align="left"&gt;&lt;img alt="" src="http://www.horizoncareservice.com/images/arrow_down_green_pic_j5cg.jpg" /&gt;&lt;/span&gt; &lt;span style="color:#800080;"&gt;Horizon CareService&lt;/span&gt;&lt;/strong&gt; &lt;span style="font-size: 13px; "&gt;is the family alternative to assisted living facilities and nursing homes. Our franchised home care agencies send caring and experienced caregivers that provide up to 24 hour care in the comfort of your own home, at affordable rates. Our primary motivation is to formulate a one on one plan with our valuable clients to make it possible for home, health, or in homecare clients to remain living in the comfort of their own homes instead of having to endure the thought of placing your loved ones in a nursing home or institutional facility.&lt;/span&gt;&lt;span style="font-size: 13px; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span class="intro-copy-small-bold"&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="bodycopy-serif-leaded" align="left"&gt;&lt;img alt="" src="http://www.horizoncareservice.com/images/arrow_down_green_pic_j5cg.jpg" /&gt;&lt;/span&gt; &lt;span style="font-size: 14px; color:#800080;"&gt;HorizonCareService - &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 14px; font-family:Arial, Helvetica, sans-serif;color:#800080;"&gt;Choose Your Own Caregiver&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-size: 14px; "&gt;&lt;span class="bodycopy-serif-leaded"&gt;&lt;span style="font-size: 13px; "&gt;At &lt;span style="font-size: 13px; "&gt;HorizonCareService&lt;/span&gt;, the standard that we ingrain in our franchised agencies is for you to always have a choice in caregivers. Our agencies work to match the needs of your loved one with a caring&lt;span style="font-size: 13px; color:#000000;"&gt;HorizonCareService Professional Companion&lt;/span&gt;&lt;span style="font-size: 14px; color:#000000;"&gt;*&lt;/span&gt; who is experienced in providing for such needs. Your local HorizonCareService office will arrange for you and your family to interview the caregiver that we will recommend before any services are performed. HorizonCareService' senior, elder, in-home services provide cost effective care instead of expensive home health care. Home health care nurses dictate your schedule. With HorizonCareService home care services for the elderly; you keep your schedule the way it currently is? You're in control over your own care. You push the buttons and we produce the service you expect.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;p class="bodycopy-serif-leaded" style="padding-top: 8px; text-align: left; "&gt;&lt;strong&gt;&lt;span class="blue-subhead31"&gt;&lt;span style="font-size: 16px; color:#800080;"&gt;&lt;u&gt;&lt;span class="intro-copy-small-bold"&gt;&lt;span style="font-family:Arial;font-size:100%;"&gt;&lt;span class="bodycopy-serif-leaded" align="left"&gt;&lt;img alt="" src="http://www.horizoncareservice.com/images/arrow_down_green_pic_j5cg.jpg" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; HorizonCare - Services&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;span style="font-size: 12px; "&gt;We begin by reviewing your needs through discussions with involved family members; when necessary we consult with the physician(s) of the care recipient, social workers, hospitals, or nursing home staff.&lt;/span&gt;&lt;/p&gt;&lt;p class="bodycopy-serif-leaded" style="padding-top: 8px; text-align: left; "&gt;&lt;span style="font-size: 12px; "&gt;Next, working in conjunction with the family, we develop an individualized program to manage your daily needs. We match your needs to the best possible caregiver, bring them to your home and ask you to participate in the selection process.&lt;/span&gt;&lt;/p&gt;&lt;p class="bodycopy-serif-leaded" style="padding-top: 8px; text-align: left; "&gt;&lt;span style="font-size: 12px; "&gt;After the &lt;span style="color:#000000;"&gt;&lt;span style="font-size: 12px; "&gt;Horizon &lt;/span&gt;&lt;span style="font-size: 12px; "&gt;Home CareService Companion&lt;/span&gt;&lt;/span&gt;* has been placed in your home, we continue our unique system of continued personalized contacts through telephone check-in, home visits. Most important, we continually communicate with the caregiver who is providing care to you.&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;http://romance-scam.blogspot.com/
http://banscam.blogspot.com/
http://neverscam.blogspot.com/
http://hatescam.blogspot.com/
http://reportyourscam.blogspot.com/
http://bamscam.blogspot.com/
http://igotscam.blogspot.com/
http://arjudba.blogspot.com/
http://scamhack.blogspot.com/
http://scam-mails.blogspot.com/&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4903512494245917620-2046340798804277637?l=unix-in-world.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://unix-in-world.blogspot.com/feeds/2046340798804277637/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4903512494245917620&amp;postID=2046340798804277637' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/2046340798804277637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/2046340798804277637'/><link rel='alternate' type='text/html' href='http://unix-in-world.blogspot.com/2009/11/private-home-health-care-services.html' title='Private Home Health Care Services'/><author><name>Arju</name><uri>http://www.blogger.com/profile/14751715706838377391</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_8O68IaFjsdA/Sakz3h470fI/AAAAAAAAAOs/MJ4OOGOGlBg/S220/Arju.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4903512494245917620.post-3109172793418394241</id><published>2009-11-03T08:12:00.000-08:00</published><updated>2009-11-03T08:23:59.816-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shell script'/><title type='text'>Linux Shell script exercise with time and date commands</title><content type='html'>&lt;p&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Time/date and timing&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="DATEREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black;"&gt;date&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Simply invoked,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;date&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;prints the date and time to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;stdout&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;. Where this command gets interesting is in its formatting and parsing options.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;a name="EX51"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Example . Using&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;date&lt;/i&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#!/bin/bash&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Exercising the 'date' command&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo "The number of days since the year's beginning is `date +%j`."&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Needs a leading '+' to invoke formatting.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# %j gives day of year.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo "The number of seconds elapsed since 01/01/1970 is `date +%s`."&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;%s yields number of seconds since "UNIX epoch" began,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#+ but how is this useful?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;prefix=temp&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;suffix=$(date +%s)&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;# The "+%s" option to 'date' is GNU-specific.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;filename=$prefix.$suffix&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo "Temporary filename = $filename"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;It's great for creating "unique and random" temp filenames,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#+ even better than using $$.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Read the 'date' man page for more formatting options.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;exit 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;-u&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;option gives the UTC (Universal Coordinated Time).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;date&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;Fri Mar 29 21:07:39 MST 2002&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;date -u&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;Sat Mar 30 04:07:42 UTC 2002&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;This option facilitates calculating the time between different dates.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;a name="DATECALC"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Example &lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;Date&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;calculations&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#!/bin/bash&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# date-calc.sh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Author: Nathan Coulter&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Used in ABS Guide with permission (thanks!).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;MPHR=60&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;# Minutes per hour.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;HPD=24&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;# Hours per day.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;diff () {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;span style="mso-spacerun:yes"&gt;        &lt;/span&gt;printf '%s' $(( $(date -u -d"$TARGET" +%s) -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;span style="mso-spacerun:yes"&gt;            &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;            &lt;/span&gt;$(date -u -d"$CURRENT" +%s)))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#&lt;span style="mso-spacerun:yes"&gt;                       &lt;/span&gt;%d = day of month.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;CURRENT=$(date -u -d '2007-09-01 17:30:24' '+%F %T.%N %Z')&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;TARGET=$(date -u -d'2007-12-25 12:30:00' '+%F %T.%N %Z')&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# %F = full date, %T = %H:%M:%S, %N = nanoseconds, %Z = time zone.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;printf '\nIn 2007, %s ' \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;span style="mso-spacerun:yes"&gt;       &lt;/span&gt;"$(date -d"$CURRENT +&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;span style="mso-spacerun:yes"&gt;        &lt;/span&gt;$(( $(diff) /$MPHR /$MPHR /$HPD / 2 )) days" '+%d %B')" &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#&lt;span style="mso-spacerun:yes"&gt;       &lt;/span&gt;%B = name of month&lt;span style="mso-spacerun:yes"&gt;                &lt;/span&gt;^ halfway&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;printf 'was halfway between %s ' "$(date -d"$CURRENT" '+%d %B')"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;printf 'and %s\n' "$(date -d"$TARGET" '+%d %B')"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;printf '\nOn %s at %s, there were\n' \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;span style="mso-spacerun:yes"&gt;        &lt;/span&gt;$(date -u -d"$CURRENT" +%F) $(date -u -d"$CURRENT" +%T)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;DAYS=$(( $(diff) / $MPHR / $MPHR / $HPD ))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;CURRENT=$(date -d"$CURRENT +$DAYS days" '+%F %T.%N %Z')&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;HOURS=$(( $(diff) / $MPHR / $MPHR ))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;CURRENT=$(date -d"$CURRENT +$HOURS hours" '+%F %T.%N %Z')&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;MINUTES=$(( $(diff) / $MPHR ))&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;CURRENT=$(date -d"$CURRENT +$MINUTES minutes" '+%F %T.%N %Z')&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;printf '%s days, %s hours, ' "$DAYS" "$HOURS"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;printf '%s minutes, and %s seconds ' "$MINUTES" "$(diff)"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;printf 'until Christmas Dinner!\n\n'&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;Exercise:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;--------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;Rewrite the diff () function to accept passed parameters,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#+ rather than using global variables.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;a name="DATERANDREF"&gt;&lt;/a&gt;&lt;span style="color:black;"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;date&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command has quite a number of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;output&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;options. For example&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;%N&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;gives the nanosecond portion of the current time. One interesting use for this is to generate random integers.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;date +%N | sed -e 's/000$//' -e 's/^0//'&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;span style="mso-spacerun:yes"&gt;           &lt;/span&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;Strip off leading and trailing zeroes, if present.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;Length of generated integer depends on&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#+ how many zeroes stripped off.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# 115281032&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# 63408725&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# 394504284&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;There are many more options (try&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;man date&lt;/b&gt;).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;date +%j&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Echoes day of the year (days elapsed since January 1).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;date +%k%M&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Echoes hour and minute in 24-hour format, as a single digit string.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# The 'TZ' parameter permits overriding the default time zone.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;date&lt;span style="mso-spacerun:yes"&gt;                 &lt;/span&gt;# Mon Mar 28 21:42:16 MST 2005&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;TZ=EST date&lt;span style="mso-spacerun:yes"&gt;          &lt;/span&gt;# Mon Mar 28 23:42:16 EST 2005&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Thanks, Frank Kannemann and Pete Sjoberg, for the tip.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;SixDaysAgo=$(date --date='6 days ago')&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;OneMonthAgo=$(date --date='1 month ago')&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;# Four weeks back (not a month!)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;OneYearAgo=$(date --date='1 year ago')&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="ZDUMPREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black;"&gt;zdump&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Time zone dump: echoes the time in a specified time zone.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;zdump EST&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;EST&lt;span style="mso-spacerun:yes"&gt;  &lt;/span&gt;Tue Sep 18 22:09:22 2001 EST&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="TIMREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black;"&gt;time&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Outputs verbose timing statistics for executing a command.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;time ls -l /&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;gives something like this:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;real&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;0m0.067s&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt; user&lt;span style="mso-spacerun:yes"&gt;    &lt;/span&gt;0m0.004s&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt; sys&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;0m0.005s&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td width="25" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;    &lt;v:stroke joinstyle="miter"&gt;    &lt;v:formulas&gt;     &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;     &lt;v:f eqn="sum @0 1 0"&gt;     &lt;v:f eqn="sum 0 0 @1"&gt;     &lt;v:f eqn="prod @2 1 2"&gt;     &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;     &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;     &lt;v:f eqn="sum @0 0 1"&gt;     &lt;v:f eqn="prod @6 1 2"&gt;     &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;     &lt;v:f eqn="sum @8 21600 0"&gt;     &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;     &lt;v:f eqn="sum @10 21600 0"&gt;    &lt;/v:formulas&gt;    &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;    &lt;o:lock ext="edit" aspectratio="t"&gt;   &lt;/v:shapetype&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" alt="Note" style="'width:18pt;height:18pt;mso-wrap-distance-left:3.75pt;"&gt;    &lt;v:imagedata src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image001.gif" href="http://www.tldp.org/LDP/abs/images/note.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img border="0" width="24" height="24" src="file:///E:/Documents%20and%20Settings/Arju/Local%20Settings/Temp/msohtml1/01/clip_image001.gif" hspace="5" alt="Note" shapes="_x0000_i1025" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;As of&lt;span class="apple-converted-space"&gt; VERSION 2.0&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;of Bash,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;time&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;became a shell reserved word, with   slightly altered behavior in a pipeline.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="TOUCHREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black;"&gt;touch&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Utility for updating access/modification times of a file to current system time or other specified time, but also useful for creating a new file. The command&lt;/span&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;touch zzz&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;will create a new file of zero length, named&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;zzz&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;, assuming that&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;zzz&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;did not previously exist. Time-stamping empty files in this way is useful for storing date information, for example in keeping track of modification times on a project.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes"&gt;   &lt;td width="25" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1026" type="#_x0000_t75" alt="Note" style="'width:18pt;height:18pt;"&gt;    &lt;v:imagedata src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image001.gif" href="http://www.tldp.org/LDP/abs/images/note.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img border="0" width="24" height="24" src="file:///E:/Documents%20and%20Settings/Arju/Local%20Settings/Temp/msohtml1/01/clip_image001.gif" hspace="5" alt="Note" shapes="_x0000_i1026" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td colspan="2" valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;touch&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command is equivalent to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;"&gt;:   &gt;&gt; newfile&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;or&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;"&gt;&gt;&gt;   newfile&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;(for   ordinary files).&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:1;mso-yfti-lastrow:yes"&gt;   &lt;td width="25" colspan="2" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1027" type="#_x0000_t75" alt="Tip" style="'width:18.75pt;"&gt;    &lt;v:imagedata src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image002.gif" href="http://www.tldp.org/LDP/abs/images/tip.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img border="0" width="25" height="24" src="file:///E:/Documents%20and%20Settings/Arju/Local%20Settings/Temp/msohtml1/01/clip_image002.gif" hspace="5" alt="Tip" shapes="_x0000_i1027" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;Before doing a cp -u&lt;span class="apple-converted-space"&gt; &lt;/span&gt;(&lt;i&gt;copy/update&lt;/i&gt;), use&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;touch&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;to update the time stamp of files   you don't wish overwritten.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p&gt;As an example, if the directory&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;"&gt;/home/bozo/tax_audit&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;contains the files&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;"&gt;spreadsheet-051606.data&lt;/span&gt;&lt;/tt&gt;,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;"&gt;spreadsheet-051706.data&lt;/span&gt;&lt;/tt&gt;,   and&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;"&gt;spreadsheet-051806.data&lt;/span&gt;&lt;/tt&gt;, then doing a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;touch spreadsheet*.data&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;will protect these files from being   overwritten by files with the same names during a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;cp -u   /home/bozo/financial_info/spreadsheet*data /home/bozo/tax_audit&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;    &lt;tr height="0"&gt;   &lt;td width="29" style="border:none"&gt;&lt;/td&gt;   &lt;td width="4" style="border:none"&gt;&lt;/td&gt;   &lt;td width="640" style="border:none"&gt;&lt;/td&gt;  &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="ATREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black;"&gt;at&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;at&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;job control command executes a given set of commands at a specified time. Superficially, it resembles&lt;span class="apple-converted-space"&gt; cron&lt;/span&gt;, however,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;at&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;is chiefly useful for one-time execution of a command set.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;at 2pm January 15&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;prompts for a set of commands to execute at that time. These commands should be shell-script compatible, since, for all practical purposes, the user is typing in an executable shell script a line at a time. Input terminates with a&lt;span class="apple-converted-space"&gt; CTRL+D&lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Using either the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;-f&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;option or input redirection (&lt;span class="token"&gt;&lt;&lt;/span&gt;),&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;at&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;reads a command list from a file. This file is an executable shell script, though it should, of course, be non-interactive. Particularly clever is including the run-parts&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command in the file to execute a different set of scripts.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;at 2:30 am Friday&lt;/b&gt; &lt;&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;job 2 at 2000-10-27 02:30&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;span style="mso-tab-count:1"&gt;        &lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;      &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="BATCHREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black;"&gt;batch&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;batch&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;job control command is similar to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;at&lt;/b&gt;, but it runs a command list when the system load drops below&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;.8&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;. Like&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;at&lt;/b&gt;, it can read commands from a file with the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;-f&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;option.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" style="mso-cellspacing:1.5pt;  margin-left:.5in;mso-padding-alt:3.75pt 3.75pt 3.75pt 3.75pt"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:3.75pt 3.75pt 3.75pt 3.75pt"&gt;   &lt;p&gt;&lt;a name="BATCHPROCREF"&gt;&lt;/a&gt;&lt;a name="AEN10420"&gt;&lt;/a&gt;The concept of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;batch processing&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;dates back to the era of mainframe   computers. It means running a set of commands without user intervention.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="CALREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black;"&gt;cal&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Prints a neatly formatted monthly calendar to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;stdout&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;. Will do current year or a large range of past and future years.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="SLEEPREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black;"&gt;sleep&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;This is the shell equivalent of a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;wait loop&lt;/i&gt;. It pauses for a specified number of seconds, doing nothing. It can be useful for timing or in processes running in the background, checking for a specific event every so often (polling).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;sleep 3&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;# Pauses 3 seconds.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span style=" display:none;mso-hide:allcolor:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes"&gt;   &lt;td width="25" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1028" type="#_x0000_t75" alt="Note" style="'width:18pt;height:18pt;"&gt;    &lt;v:imagedata src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image001.gif" href="http://www.tldp.org/LDP/abs/images/note.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img border="0" width="24" height="24" src="file:///E:/Documents%20and%20Settings/Arju/Local%20Settings/Temp/msohtml1/01/clip_image001.gif" hspace="5" alt="Note" shapes="_x0000_i1028" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;sleep&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command defaults to seconds, but   minute, hours, or days may also be specified.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;background:#E0E0E0"&gt;    &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;     &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;sleep 3 h&lt;span style="mso-spacerun:yes"&gt;   &lt;/span&gt;# Pauses 3 hours!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;    &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:1;mso-yfti-lastrow:yes"&gt;   &lt;td width="25" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1029" type="#_x0000_t75" alt="Note" style="'width:18pt;height:18pt;"&gt;    &lt;v:imagedata src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image001.gif" href="http://www.tldp.org/LDP/abs/images/note.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img border="0" width="24" height="24" src="file:///E:/Documents%20and%20Settings/Arju/Local%20Settings/Temp/msohtml1/01/clip_image001.gif" hspace="5" alt="Note" shapes="_x0000_i1029" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;The&lt;span class="apple-converted-space"&gt; watch&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command may be a better choice than&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;sleep&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;for running commands at timed   intervals.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="USLEEPREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black;"&gt;usleep&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;i&gt;&lt;span style="color:black;"&gt;Microsleep&lt;/span&gt;&lt;/i&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;(the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;u&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;may be read as the Greek&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;mu&lt;/i&gt;, or&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;micro-&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;prefix). This is the same as&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;sleep&lt;/b&gt;, above, but&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="quote"&gt;"sleeps"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;in microsecond intervals. It can be used for fine-grained timing, or for polling an ongoing process at very frequent intervals.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;usleep 30&lt;span style="mso-spacerun:yes"&gt;     &lt;/span&gt;# Pauses 30 microseconds.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;This command is part of the Red Hat&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;initscripts / rc-scripts&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;package.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes"&gt;   &lt;td width="25" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1030" type="#_x0000_t75" alt="Caution" style="'width:18pt;"&gt;    &lt;v:imagedata src="file:///E:\Documents%20and%20Settings\Arju\Local%20Settings\Temp\msohtml1\01\clip_image003.gif" href="http://www.tldp.org/LDP/abs/images/caution.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img border="0" width="24" height="24" src="file:///E:/Documents%20and%20Settings/Arju/Local%20Settings/Temp/msohtml1/01/clip_image003.gif" hspace="5" alt="Caution" shapes="_x0000_i1030" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;usleep&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command does not provide   particularly accurate timing, and is therefore unsuitable for critical timing   loops.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;a name="HWCLOCKREF"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:black;"&gt;hwclock&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;a name="CLOCKREF"&gt;&lt;/a&gt;&lt;b&gt;clock&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;hwclock&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command accesses or adjusts the machine's hardware clock. Some options require&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;root&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;privileges. The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;/etc/rc.d/rc.sysinit&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;startup file uses&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;hwclock&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;to set the system time from the hardware clock at bootup.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;clock&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command is a synonym for&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;hwclock&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;http://romance-scam.blogspot.com/
http://banscam.blogspot.com/
http://neverscam.blogspot.com/
http://hatescam.blogspot.com/
http://reportyourscam.blogspot.com/
http://bamscam.blogspot.com/
http://igotscam.blogspot.com/
http://arjudba.blogspot.com/
http://scamhack.blogspot.com/
http://scam-mails.blogspot.com/&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4903512494245917620-3109172793418394241?l=unix-in-world.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://unix-in-world.blogspot.com/feeds/3109172793418394241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4903512494245917620&amp;postID=3109172793418394241' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/3109172793418394241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/3109172793418394241'/><link rel='alternate' type='text/html' href='http://unix-in-world.blogspot.com/2009/11/linux-shell-script-exercise-with-time.html' title='Linux Shell script exercise with time and date commands'/><author><name>Arju</name><uri>http://www.blogger.com/profile/14751715706838377391</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_8O68IaFjsdA/Sakz3h470fI/AAAAAAAAAOs/MJ4OOGOGlBg/S220/Arju.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4903512494245917620.post-1552253165112905864</id><published>2009-11-03T08:00:00.000-08:00</published><updated>2009-11-03T08:07:02.370-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sports'/><title type='text'>golfsport in Germany</title><content type='html'>If you ever want to know about the history and winner in golfsport in Germany then the year comes is 1911. In that time golf tournament was was first staged and the winner was Harry Vardon. &lt;br /&gt;&lt;br /&gt;In the next year the champion was another of the Great Triumvirate of late 19th and early 20th century British golfers, John Henry Taylor. &lt;br /&gt;&lt;br /&gt;After that for about 10 years the tournament was cancelled. But it was played each year from 1926 to 1939. During these time, Percy Alliss won five times, Auguste Boyer four times and Henry Cotton three.&lt;br /&gt;&lt;br /&gt;After World War II the event wasn't revived until 1951. It was a European Tour event from the tour's first official season in 1972 until 1999. It was played on many different courses around Germany; the last two stagings on the European Tour were at Sporting Club Berlin. It first had a title sponsor in 1978 and there were several different sponsors over the following two decades. In the 1980s and 1990s Germany's greatest 20th century golfer Bernhard Langer equalled Percy Alliss's record of five wins. In 1999 the prize fund was €1,005,982, and despite its national open status the tournament was only the fourth richest European Tour event played in Germany that year, behind the German Masters, the Deutsche Bank-SAP Open TPC of Europe and the BMW International Open.&lt;br /&gt;&lt;br /&gt;Annually, the lowest scoring amateur at the German Open receives the coveted "Haubenreich Trophy", named in honor of the Haubenreich family. The Haubenreich family long-owned a German golf superstore in Stuttgart (Golfenreich), and is recognized for its tremendous contributions to German golf. &lt;br /&gt;&lt;br /&gt;The family can trace its roots back to a Teutonic Knight named Hans Haubenreich who is credited with orchestrating the Knights' victory over a Hun-related tribe at the Battle of Brestacre. Haubenreich claimed Brestacre for the Knights, and the family has upheld the Brest legacy ever since.&lt;br /&gt;&lt;br /&gt;If you want to find some golf sport you can check, &lt;br /&gt;&lt;a href=http://www.golfakademie-gmbh.de/&gt; Golf shop&lt;/a&gt;, &lt;a href=http://www.golf-chiemsee.eu/urlaub-am-chiemsee/&gt; Urlaub Chiemsee&lt;/a&gt;, &lt;a href=http://www.pro-golf.de/golfkurse/&gt; Golfkurse Platzreife&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;http://romance-scam.blogspot.com/
http://banscam.blogspot.com/
http://neverscam.blogspot.com/
http://hatescam.blogspot.com/
http://reportyourscam.blogspot.com/
http://bamscam.blogspot.com/
http://igotscam.blogspot.com/
http://arjudba.blogspot.com/
http://scamhack.blogspot.com/
http://scam-mails.blogspot.com/&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4903512494245917620-1552253165112905864?l=unix-in-world.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://unix-in-world.blogspot.com/feeds/1552253165112905864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4903512494245917620&amp;postID=1552253165112905864' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/1552253165112905864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4903512494245917620/posts/default/1552253165112905864'/><link rel='alternate' type='text/html' href='http://unix-in-world.blogspot.com/2009/11/golfsport-in-germany.html' title='golfsport in Germany'/><author><name>Arju</name><uri>http://www.blogger.com/profile/14751715706838377391</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_8O68IaFjsdA/Sakz3h470fI/AAAAAAAAAOs/MJ4OOGOGlBg/S220/Arju.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4903512494245917620.post-2750447245632581339</id><published>2009-09-22T19:28:00.000-07:00</published><updated>2009-09-22T21:29:43.066-07:00</updated><title type='text'>Special characters in shell script</title><content type='html'>&lt;span class="Apple-style-span"  style=" ;font-family:'times new roman';"&gt;&lt;div class="CHAPTER"&gt;&lt;p&gt;&lt;/p&gt;&lt;h1&gt;&lt;span class="Apple-style-span" style="font-size: 16px; font-weight: normal; "&gt;What makes a character&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;special&lt;/i&gt;? If it has a meaning beyond its&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;literal meaning&lt;/i&gt;, a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;meta-meaning, then we refer to it as a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;special character&lt;/i&gt;.&lt;/span&gt;&lt;/h1&gt;  &lt;p&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Special Characters Found In Scripts and Elsewhere&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;#&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Comments.&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;Lines beginning with a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;#&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;(with the exception of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;#!&lt;/span&gt;) are comments and will&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;em&gt;not&lt;/em&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;be executed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# This line is a comment.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Comments may also occur following the end of a command.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo "A comment will follow." # Comment here.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#                            ^ Note whitespace before #&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Comments may also follow&lt;span class="apple-converted-space"&gt; &lt;/span&gt;whitespace&lt;span class="apple-converted-space"&gt; &lt;/span&gt;at the beginning of a line.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# A tab precedes this comment.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Comments may even be embedded within a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;pipe.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;initial=( `cat "$startfile" | sed -e '/#/d' | tr -d '\n' |\&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Delete lines containing '#' comment character.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;           sed -e 's/\./\. /g' -e 's/_/_ /g'` )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Excerpted from life.sh script&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span style=" display:none;mso-hide:allcolor:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td width="25" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;    &lt;v:stroke joinstyle="miter"&gt;    &lt;v:formulas&gt;     &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;     &lt;v:f eqn="sum @0 1 0"&gt;     &lt;v:f eqn="sum 0 0 @1"&gt;     &lt;v:f eqn="prod @2 1 2"&gt;     &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;     &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;     &lt;v:f eqn="sum @0 0 1"&gt;     &lt;v:f eqn="prod @6 1 2"&gt;     &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;     &lt;v:f eqn="sum @8 21600 0"&gt;     &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;     &lt;v:f eqn="sum @10 21600 0"&gt;    &lt;/v:formulas&gt;    &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;    &lt;o:lock ext="edit" aspectratio="t"&gt;   &lt;/v:shapetype&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" alt="Caution" style="'width:18pt;height:18pt;mso-wrap-distance-left:3.75pt;"&gt;    &lt;v:imagedata src="file:///E:\DOCUME~2\Arju\LOCALS~1\Temp\msohtml1\01\clip_image001.gif" href="http://www.tldp.org/LDP/abs/images/caution.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img border="0" width="24" height="24" src="file:///E:/DOCUME~2/Arju/LOCALS~1/Temp/msohtml1/01/clip_image001.gif" hspace="5" alt="Caution" shapes="_x0000_i1025" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;A command may not follow a comment on the same line. There is no method of   terminating the comment, in order for&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="quote"&gt;"live code"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;to   begin on the same line. Use a new line for the next command.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td width="25" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1026" type="#_x0000_t75" alt="Note" style="'width:18pt;height:18pt;"&gt;    &lt;v:imagedata src="file:///E:\DOCUME~2\Arju\LOCALS~1\Temp\msohtml1\01\clip_image002.gif" href="http://www.tldp.org/LDP/abs/images/note.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img border="0" width="24" height="24" src="file:///E:/DOCUME~2/Arju/LOCALS~1/Temp/msohtml1/01/clip_image002.gif" hspace="5" alt="Note" shapes="_x0000_i1026" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;Of course, a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;quoted&lt;span class="apple-converted-space"&gt; &lt;/span&gt;or an&lt;span class="apple-converted-space"&gt; &lt;/span&gt;escaped&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;#&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;in an&lt;span class="apple-converted-space"&gt; &lt;/span&gt;echo&lt;span class="apple-converted-space"&gt; &lt;/span&gt;statement does&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;em&gt;not&lt;/em&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;begin a comment. Likewise, a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;#&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;appears in&lt;span class="apple-converted-space"&gt; &lt;/span&gt;certain   parameter-substitution constructs&lt;span class="apple-converted-space"&gt; &lt;/span&gt;and   in&lt;span class="apple-converted-space"&gt; &lt;/span&gt;numerical   constant expressions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;background:#E0E0E0"&gt;    &lt;tbody&gt;&lt;tr&gt;     &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo "The # here does not begin a comment."&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo 'The # here does not begin a comment.'&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo The \# here does not begin a comment.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo The # here begins a comment.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo ${PATH#*:}       # Parameter substitution, not a comment.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo $(( 2#101011 ))  # Base conversion, not a comment.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Thanks, S.C.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;    &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;   &lt;p&gt;The standard&lt;span class="apple-converted-space"&gt; &lt;/span&gt;quoting and   escape&lt;span class="apple-converted-space"&gt; &lt;/span&gt;characters (" '   \) escape the #.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Certain&lt;span class="apple-converted-space"&gt; &lt;/span&gt;pattern matching operations&lt;span class="apple-converted-space"&gt; &lt;/span&gt;also use the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;#&lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Command separator [semicolon].&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;Permits putting two or more commands on the same line.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo hello; echo there&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;if [ -x "$filename" ]; then    #  Note the space after the semicolon.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#+                   ^^&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  echo "File $filename exists."; cp $filename $filename.bak&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;else   #                       ^^&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  echo "File $filename not found."; touch $filename&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;fi; echo "File test complete."&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Note that the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="quote"&gt;"&lt;/span&gt;&lt;span class="token"&gt;;&lt;/span&gt;&lt;span class="quote"&gt;"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;sometimes needs to be&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;escaped&lt;/i&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;;;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Terminator in a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;case&lt;span class="apple-converted-space"&gt; &lt;/span&gt;option [double semicolon].&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;case "$variable" in&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  abc)  echo "\$variable = abc" ;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  xyz)  echo "\$variable = xyz" ;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;esac&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;;;&amp;amp;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;;&amp;amp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Terminators&lt;span class="apple-converted-space"&gt; &lt;/span&gt;in a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;case&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;option (version 4+&lt;span class="apple-converted-space"&gt; &lt;/span&gt;of Bash).&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span class="quote"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;"dot"&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="apple-converted-space"&gt;&lt;b&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:black;"&gt;command [period].&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;Equivalent to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;source&lt;span class="apple-converted-space"&gt; &lt;/span&gt;. This is a bash&lt;span class="apple-converted-space"&gt; &lt;/span&gt;builtin.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span class="quote"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;"dot"&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:black;"&gt;, as a component of a filename.&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;When working with filenames, a leading dot is the prefix of a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="quote"&gt;"hidden"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;file, a file that an&lt;span class="apple-converted-space"&gt; &lt;/span&gt;ls&lt;span class="apple-converted-space"&gt; &lt;/span&gt;will not normally show.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;touch .hidden-file&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;ls -l&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;          &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;total 10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt; -rw-r--r--    1 bozo      4034 Jul 18 22:04 data1.addressbook&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt; -rw-r--r--    1 bozo      4602 May 25 13:58 data1.addressbook.bak&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt; -rw-r--r--    1 bozo       877 Dec 17  2000 employment.addressbook&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;ls -al&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;         &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;total 14&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt; drwxrwxr-x    2 bozo  bozo      1024 Aug 29 20:54 ./&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt; drwx------   52 bozo  bozo      3072 Aug 29 20:51 ../&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt; -rw-r--r--    1 bozo  bozo      4034 Jul 18 22:04 data1.addressbook&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt; -rw-r--r--    1 bozo  bozo      4602 May 25 13:58 data1.addressbook.bak&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt; -rw-r--r--    1 bozo  bozo       877 Dec 17  2000 employment.addressbook&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt; -rw-rw-r--    1 bozo  bozo         0 Aug 29 20:54 .hidden-file&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;                &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;When considering directory names,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;a single dot&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;represents the current working directory, and&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;two dots&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;denote the parent directory.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;pwd&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;/home/bozo/projects&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;cd .&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;pwd&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;/home/bozo/projects&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;cd ..&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;pwd&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;/home/bozo/&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;                &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;dot&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;often appears as the destination (directory) of a file movement command, in this context meaning&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;current directory&lt;/i&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;cp /home/bozo/current_work/junk/* .&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;                &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Copy all the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="quote"&gt;"junk"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;files to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;$PWD.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span class="quote"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;"dot"&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="apple-converted-space"&gt;&lt;b&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:black;"&gt;character match.&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;When&lt;span class="apple-converted-space"&gt; &lt;/span&gt;matching characters, as part of a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;regular expression, a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="quote"&gt;"dot"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;matches a single character.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;"&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;partial quoting&lt;span class="apple-converted-space"&gt; &lt;/span&gt;[double quote].&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;em&gt;&lt;span style="color:black;"&gt;"STRING"&lt;/span&gt;&lt;/em&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;preserves (from interpretation) most of the special characters within&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;em&gt;STRING&lt;/em&gt;. See&lt;span class="apple-converted-space"&gt; &lt;/span&gt;Chapter 5.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;'&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;full quoting&lt;span class="apple-converted-space"&gt; &lt;/span&gt;[single quote].&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;em&gt;&lt;span style="color:black;"&gt;'STRING'&lt;/span&gt;&lt;/em&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;preserves all special characters within&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;em&gt;STRING&lt;/em&gt;. This is a stronger form of quoting than&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;em&gt;"STRING"&lt;/em&gt;. See&lt;span class="apple-converted-space"&gt; &lt;/span&gt;Chapter 5.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;comma operator.&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;comma operator&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="footnote"&gt;[1]&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;links together a series of arithmetic operations. All are evaluated, but only the last one is returned.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;let "t2 = ((a = 9, 15 / 3))"  # Set "a =&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;               9" and "t2 = 15 / 3"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;comma&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;operator can also concatenate strings.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;for file in /{,usr/}bin/*calc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#             ^    Find all executable files ending in "calc"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#+                 in /bin and /usr/bin directories.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;do&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;        if [ -x "$file" ]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;        then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;          echo $file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;        fi&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;done&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# /bin/ipcalc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# /usr/bin/kcalc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# /usr/bin/oidcalc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# /usr/bin/oocalc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Thank you, Rory Winston, for pointing this out.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;,&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Lowercase conversion&lt;span class="apple-converted-space"&gt; &lt;/span&gt;in&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;parameter substitution&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;(added in&lt;span class="apple-converted-space"&gt; &lt;/span&gt;version 4&lt;span class="apple-converted-space"&gt; &lt;/span&gt;of Bash).&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;\&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;escape&lt;span class="apple-converted-space"&gt; &lt;/span&gt;[backslash].&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;A quoting mechanism for single characters.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;\X&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;i&gt;&lt;span style="color:black;"&gt;escapes&lt;/span&gt;&lt;/i&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;the character&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;em&gt;X&lt;/em&gt;. This has the effect of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="quote"&gt;"quoting"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;em&gt;X&lt;/em&gt;, equivalent to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;em&gt;'X'&lt;/em&gt;. The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;\&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;may be used to quote&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;and&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;'&lt;/span&gt;, so they are expressed literally.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;See&lt;span class="apple-converted-space"&gt; &lt;/span&gt;Chapter 5&lt;span class="apple-converted-space"&gt; &lt;/span&gt;for an in-depth explanation of escaped characters.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;/&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Filename path separator [forward slash].&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;Separates the components of a filename (as in&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;/home/bozo/projects/Makefile&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;This is also the division&lt;span class="apple-converted-space"&gt; &lt;/span&gt;arithmetic operator.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;`&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;command substitution.&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;`command`&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;construct makes available the output of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;command&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;for assignment to a variable. This is also known as&lt;span class="apple-converted-space"&gt; &lt;/span&gt;backquotes&lt;span class="apple-converted-space"&gt; &lt;/span&gt;or backticks.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;null command [colon].&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;This is the shell equivalent of a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="quote"&gt;"NOP"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;(&lt;/span&gt;&lt;tt&gt;&lt;i&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;no op&lt;/span&gt;&lt;/i&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;, a do-nothing operation). It may be considered a synonym for the shell builtin&lt;span class="apple-converted-space"&gt; &lt;/span&gt;true. The&lt;span class="quote"&gt;"&lt;/span&gt;&lt;span class="token"&gt;:&lt;/span&gt;&lt;span class="quote"&gt;"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command is itself a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;Bash&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;builtin, and its&lt;span class="apple-converted-space"&gt; &lt;/span&gt;exit status&lt;span class="apple-converted-space"&gt; &lt;/span&gt;is&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;true&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;(&lt;span class="returnvalue"&gt;0&lt;/span&gt;).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo $?   # 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Endless loop:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;while :&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;do&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;   operation-1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;   operation-2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;   ...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;   operation-n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;done&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Same as:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#    while true&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#    do&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#      ...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#    done&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Placeholder in if/then test:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;if condition&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;then :   # Do nothing and branch ahead&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;else     # Or else ...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;   take-some-action&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;fi&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Provide a placeholder where a binary operation is expected.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;: ${username=`whoami`}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# ${username=`whoami`}   Gives an error without the leading :&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#                        unless "username" is a command or builtin...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Provide a placeholder where a command is expected in a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;here document. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Evaluate string of variables using&lt;span class="apple-converted-space"&gt; &lt;/span&gt;parameter substitution.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;: ${HOSTNAME?} ${USER?} ${MAIL?}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#  Prints error message&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#+ if one or more of essential environmental variables not set.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Variable expansion / substring replacement&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;In combination with the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;&gt;&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;redirection operator, truncates a file to zero length, without changing its permissions. If the file did not previously exist, creates it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;: &gt; data.xxx   # File "data.xxx" now empty.         &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Same effect as   cat /dev/null &gt;data.xxx&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# However, this does not fork a new process, since ":" is a builtin.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;In combination with the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;&gt;&gt;&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;redirection operator, has no effect on a pre-existing target file (&lt;/span&gt;&lt;tt&gt;&lt;b&gt;&lt;span style=" ;font-size:10.0pt;color:black;"&gt;: &gt;&gt; target_file&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;). If the file did not previously exist, creates it.&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td width="25" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1027" type="#_x0000_t75" alt="Note" style="'width:18pt;height:18pt;"&gt;    &lt;v:imagedata src="file:///E:\DOCUME~2\Arju\LOCALS~1\Temp\msohtml1\01\clip_image002.gif" href="http://www.tldp.org/LDP/abs/images/note.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img border="0" width="24" height="24" src="file:///E:/DOCUME~2/Arju/LOCALS~1/Temp/msohtml1/01/clip_image002.gif" hspace="5" alt="Note" shapes="_x0000_i1027" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;This applies to regular files, not pipes, symlinks,   and certain special files.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;May be used to begin a comment line, although this is not recommended. Using&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;#&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;for a comment turns off error checking for the remainder of that line, so almost anything may appear in a comment. However, this is not the case with&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;:&lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;: This is a comment that generates an error, ( if [ $x -eq 3] ).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="quote"&gt;"&lt;/span&gt;&lt;span class="token"&gt;:&lt;/span&gt;&lt;span class="quote"&gt;"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;also serves as a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;field&lt;span class="apple-converted-space"&gt; &lt;/span&gt;separator, in&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;"&gt;/etc/passwd&lt;/span&gt;&lt;/tt&gt;, and in the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;$PATH&lt;span class="apple-converted-space"&gt; &lt;/span&gt;variable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;echo $PATH&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/sbin:/usr/sbin:/usr/games&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;!&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;reverse (or negate) the sense of a test or exit status [bang].&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;!&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;operator inverts the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;exit status&lt;span class="apple-converted-space"&gt; &lt;/span&gt;of the command to which it is applied. It also inverts the meaning of a test operator. This can, for example, change the sense of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;equal&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;(&lt;span class="apple-converted-space"&gt; &lt;/span&gt;=&lt;span class="apple-converted-space"&gt; &lt;/span&gt;) to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;not-equal&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;( != ). The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;!&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;operator is a Bash&lt;span class="apple-converted-space"&gt; &lt;/span&gt;keyword.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;In a different context, the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;!&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;also appears in&lt;span class="apple-converted-space"&gt; &lt;/span&gt;indirect variable references.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;In yet another context, from the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;command line&lt;/i&gt;, the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;!&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;invokes the Bash&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;history mechanism&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;(see&lt;span class="apple-converted-space"&gt; &lt;/span&gt;Appendix J). Note that within a script, the history mechanism is disabled.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;*&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;wild card [asterisk].&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;*&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;character serves as a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="quote"&gt;"wild card"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;for filename expansion in&lt;span class="apple-converted-space"&gt; &lt;/span&gt;globbing. By itself, it matches every filename in a given directory.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;echo *&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;abs-book.sgml add-drive.sh agram.sh alias.sh&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;              &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;*&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;also represents&lt;span class="apple-converted-space"&gt; &lt;/span&gt;any number (or zero) characters&lt;span class="apple-converted-space"&gt; &lt;/span&gt;in a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;regular expression.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;*&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;arithmetic operator.&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;In the context of arithmetic operations, the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;*&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;denotes multiplication.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;**&lt;/span&gt;&lt;/span&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;A double asterisk can represent the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;exponentiation&lt;span class="apple-converted-space"&gt; &lt;/span&gt;operator or&lt;span class="apple-converted-space"&gt; &lt;/span&gt;extended file-match&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;globbing&lt;/i&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;?&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;test operator.&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;Within certain expressions, the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;?&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;indicates a test for a condition.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;In a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;double-parentheses construct, the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;?&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;can serve as an element of a C-style&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;trinary&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;operator,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;?:&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;(( var0 = var1&lt;98?9:21&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#                ^ ^&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# if [ "$var1" -lt 98 ]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#   var0=9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#   var0=21&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# fi&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;In a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;parameter substitution&lt;span class="apple-converted-space"&gt; &lt;/span&gt;expression, the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;?&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;tests whether a variable has been set.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;?&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;wild card.&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;?&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;character serves as a single-character&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="quote"&gt;"wild card"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;for filename expansion in&lt;span class="apple-converted-space"&gt; &lt;/span&gt;globbing, as well as&lt;span class="apple-converted-space"&gt; &lt;/span&gt;representing one character&lt;span class="apple-converted-space"&gt; &lt;/span&gt;in an&lt;span class="apple-converted-space"&gt; &lt;/span&gt;extended regular expression.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;$&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Variable substitution&lt;span class="apple-converted-space"&gt; &lt;/span&gt;(contents of a variable).&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;var1=5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;var2=23skidoo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo $var1     # 5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo $var2     # 23skidoo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;A&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;$&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;prefixing a variable name indicates the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;value&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;the variable holds.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;$&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;end-of-line.&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;In a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;regular expression, a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="quote"&gt;"$"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;addresses the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;end of a line&lt;span class="apple-converted-space"&gt; &lt;/span&gt;of text.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;${}&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Parameter substitution.&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;$*&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;$@&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;positional parameters.&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;$?&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;exit status variable.&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;$? variable&lt;span class="apple-converted-space"&gt; &lt;/span&gt;holds the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;exit status&lt;span class="apple-converted-space"&gt; &lt;/span&gt;of a command, a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;function, or of the script itself.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;$$&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;process ID variable.&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;$$ variable&lt;span class="apple-converted-space"&gt; &lt;/span&gt;holds the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;process ID&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="footnote"&gt;[2]&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;of the script in which it appears.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;()&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;command group.&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td colspan="2" style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;(a=hello; echo $a)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td width="25" valign="top" style="width:18.75pt;background:transparent;   padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1028" type="#_x0000_t75" alt="Important" style="'width:18pt;"&gt;    &lt;v:imagedata src="file:///E:\DOCUME~2\Arju\LOCALS~1\Temp\msohtml1\01\clip_image003.gif" href="http://www.tldp.org/LDP/abs/images/important.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img border="0" width="24" height="24" src="file:///E:/DOCUME~2/Arju/LOCALS~1/Temp/msohtml1/01/clip_image003.gif" hspace="5" alt="Important" shapes="_x0000_i1028" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="background:transparent;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;A listing of commands within&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;tt&gt;&lt;i&gt;&lt;span style="font-size:10.0pt;"&gt;parentheses&lt;/span&gt;&lt;/i&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;starts a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;subshell.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p&gt;Variables inside parentheses, within the subshell, are not visible to the   rest of the script. The parent process, the script,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;cannot read   variables created in the child process, the subshell.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;background:#E0E0E0"&gt;    &lt;tbody&gt;&lt;tr&gt;     &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;a=123&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;( a=321; )           &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo "a = $a"   # a = 123&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# "a" within parentheses acts like a local variable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;    &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;array initialization.&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;Array=(element1 element2 element3)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;{xxx,yyy,zzz,...}&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Brace expansion.&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo \"{These,words,are,quoted}\"   # " prefix and suffix&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# "These" "words" "are" "quoted"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;cat {file1,file2,file3} &gt; combined_file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Concatenates the files file1, file2, and file3 into combined_file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;cp file22.{txt,backup}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Copies "file22.txt" to "file22.backup"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;A command may act upon a comma-separated list of file specs within&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;i&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;braces&lt;/span&gt;&lt;/i&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;.&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="footnote"&gt;[3]&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;Filename expansion (globbing) applies to the file specs between the braces.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td width="25" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1029" type="#_x0000_t75" alt="Caution" style="'width:18pt;"&gt;    &lt;v:imagedata src="file:///E:\DOCUME~2\Arju\LOCALS~1\Temp\msohtml1\01\clip_image001.gif" href="http://www.tldp.org/LDP/abs/images/caution.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img border="0" width="24" height="24" src="file:///E:/DOCUME~2/Arju/LOCALS~1/Temp/msohtml1/01/clip_image001.gif" hspace="5" alt="Caution" shapes="_x0000_i1029" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;No spaces allowed within the braces&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;em&gt;unless&lt;/em&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;the spaces are quoted or escaped.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;"&gt;echo {file1,file2}\ :{\ A,"   B",' C'}&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;"&gt;file1 : A file1 : B file1 : C file2 : A   file2 : B file2 : C&lt;/span&gt;&lt;/tt&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;{a..z}&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Extended Brace expansion.&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo {a..z} # a b c d e f g h i j k l m n o p q r s t u v w x y z&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Echoes characters between a and z.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo {0..3} # 0 1 2 3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Echoes characters between 0 and 3.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;{a..z}&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;extended brace expansion&lt;span class="apple-converted-space"&gt; &lt;/span&gt;construction is a feature introduced in&lt;span class="apple-converted-space"&gt; &lt;/span&gt;version 3&lt;span class="apple-converted-space"&gt; &lt;/span&gt;of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;Bash&lt;/i&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;{}&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Block of code [curly brackets].&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;Also referred to as an&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;inline group&lt;/i&gt;, this construct, in effect, creates an&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;anonymous function&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;(a function without a name). However, unlike in a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="quote"&gt;"standard"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;function, the variables inside a code block remain visible to the remainder of the script.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;{ local a;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="color:black;"&gt;              a=123; }&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash: local: can only be used in a&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;function&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;              &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-top:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in; margin-bottom:.0001pt"&gt;&lt;span style="display:none;mso-hide:allcolor:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;a=123&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;{ a=321; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo "a = $a"   # a = 321   (value inside code block)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Thanks, S.C.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;The code block enclosed in braces may have&lt;span class="apple-converted-space"&gt; &lt;/span&gt;I/O redirected&lt;span class="apple-converted-space"&gt; &lt;/span&gt;to and from it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Example 3-1. Code blocks and I/O redirection&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#!/bin/bash&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# &lt;st1:city st="on"&gt;&lt;st1:place st="on"&gt;Reading&lt;/st1:place&gt;&lt;/st1:city&gt; lines in /etc/fstab.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;File=/etc/fstab&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;read line1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;read line2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;} &lt; $File&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo "First line in $File is:"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo "$line1"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo "Second line in $File is:"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo "$line2"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;exit 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Now, how do you parse the separate fields of each line?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Hint: use awk, or . . .&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# . . . Hans-Joerg Diers suggests using the "set" Bash builtin.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Example 3-2. Saving the output of a code block to a file&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td colspan="2" style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#!/bin/bash&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# rpm-check.sh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#  Queries an rpm file for description, listing,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#+ and whether it can be installed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#  Saves output to a file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#  This script illustrates using a code block.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;SUCCESS=0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;E_NOARGS=65&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;if [ -z "$1" ]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  echo "Usage: `basename $0` rpm-file"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  exit $E_NOARGS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;fi  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;{ # Begin code block.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  echo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  echo "Archive Description:"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  rpm -qpi $1       # Query description.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  echo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  echo "Archive Listing:"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  rpm -qpl $1       # Query listing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  echo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  rpm -i --test $1  # Query whether rpm file can be installed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  if [ "$?" -eq $SUCCESS ]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;    echo "$1 can be installed."&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;    echo "$1 cannot be installed."&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  fi  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  echo              # End code block.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;} &gt; "$1.test"       # Redirects output of everything in block to file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo "Results of rpm test in file $1.test"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# See rpm man page for explanation of options.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;exit 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td width="25" valign="top" style="width:18.75pt;background:transparent;   padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1030" type="#_x0000_t75" alt="Note" style="'width:18pt;height:18pt;"&gt;    &lt;v:imagedata src="file:///E:\DOCUME~2\Arju\LOCALS~1\Temp\msohtml1\01\clip_image002.gif" href="http://www.tldp.org/LDP/abs/images/note.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img border="0" width="24" height="24" src="file:///E:/DOCUME~2/Arju/LOCALS~1/Temp/msohtml1/01/clip_image002.gif" hspace="5" alt="Note" shapes="_x0000_i1030" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="background:transparent;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;Unlike a command group within (parentheses), as above, a code block   enclosed by {braces} will&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;em&gt;not&lt;/em&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;normally launch a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;subshell.&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="footnote"&gt;[4]&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;{}&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;placeholder for text.&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;Used after&lt;span class="apple-converted-space"&gt; &lt;/span&gt;xargs&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;"&gt;-i&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;(&lt;i&gt;replace strings&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;option). The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;{}&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;double curly brackets are a placeholder for output text.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;ls . | xargs -i -t cp ./{} $1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#            ^^         ^^&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# From "ex42.sh" (copydir.sh) example.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;anchor id="semicolonesc"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;{} \;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;pathname.&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;Mostly used in&lt;span class="apple-converted-space"&gt; &lt;/span&gt;find&lt;span class="apple-converted-space"&gt; &lt;/span&gt;constructs. This is&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;em&gt;not&lt;/em&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;a shell&lt;span class="apple-converted-space"&gt; &lt;/span&gt;builtin.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td width="25" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1031" type="#_x0000_t75" alt="Note" style="'width:18pt;height:18pt;"&gt;    &lt;v:imagedata src="file:///E:\DOCUME~2\Arju\LOCALS~1\Temp\msohtml1\01\clip_image002.gif" href="http://www.tldp.org/LDP/abs/images/note.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img border="0" width="24" height="24" src="file:///E:/DOCUME~2/Arju/LOCALS~1/Temp/msohtml1/01/clip_image002.gif" hspace="5" alt="Note" shapes="_x0000_i1031" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="quote"&gt;"&lt;/span&gt;&lt;span class="token"&gt;;&lt;/span&gt;&lt;span class="quote"&gt;"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;ends the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;"&gt;-exec&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;option of a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;find&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;command sequence. It needs to be   escaped to protect it from interpretation by the shell.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;[ ]&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;test.&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Test&lt;span class="apple-converted-space"&gt; &lt;/span&gt;expression between&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;[ ]&lt;/b&gt;. Note that&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;[&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;is part of the shell&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;builtin&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;test&lt;span class="apple-converted-space"&gt; &lt;/span&gt;(and a synonym for it),&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;em&gt;not&lt;/em&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;a link to the external command&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;/usr/bin/test&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;[[ ]]&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;test.&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Test expression between&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;[[ ]]&lt;/span&gt;. More flexible than the single-bracket&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;[ ]&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;test, this is a shell&lt;span class="apple-converted-space"&gt; &lt;/span&gt;keyword.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;See the discussion on the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;[[ ... ]] construct.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;[ ]&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;array element.&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;In the context of an&lt;span class="apple-converted-space"&gt; &lt;/span&gt;array, brackets set off the numbering of each element of that array.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;Array[1]=slot_1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo ${Array[1]}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;[ ]&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;range of characters.&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;As part of a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;regular expression, brackets delineate a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;range of characters&lt;span class="apple-converted-space"&gt; &lt;/span&gt;to match.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;(( ))&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;integer expansion.&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Expand and evaluate integer expression between&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;(( ))&lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;See the discussion on the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;(( ... )) construct.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;&amp;amp;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;&gt;&amp;amp;&lt;/span&gt;&lt;/span&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;&lt;&lt;/span&gt;&lt;/span&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;&lt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;redirection.&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;scriptname &gt;filename&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;redirects the output of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;scriptname&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;to file&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;filename&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;. Overwrite&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;filename&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;if it already exists.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;command &amp;amp;&gt;filename&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;redirects both the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;"&gt;stdout&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;and the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;stderr&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;command&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;filename&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;command &gt;&amp;amp;2&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;redirects&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;stdout&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;command&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;stderr&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;scriptname &gt;&gt;filename&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;appends the output of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;scriptname&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;to file&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;filename&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;. If&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;filename&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;does not already exist, it is created.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;[i]&lt;&gt;filename&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;opens file&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;filename&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;for reading and writing, and assigns&lt;span class="apple-converted-space"&gt; &lt;/span&gt;file descriptor&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;i&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;to it. If&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;filename&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;does not exist, it is created.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;process substitution.&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;(command)&gt;&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;&lt;(command)&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;In a different context, the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="quote"&gt;"&lt;/span&gt;&lt;span class="token"&gt;&lt;&lt;/span&gt;&lt;span class="quote"&gt;"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;and&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="quote"&gt;"&lt;/span&gt;&lt;span class="token"&gt;&gt;&lt;/span&gt;&lt;span class="quote"&gt;"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;characters act as&lt;span class="apple-converted-space"&gt; &lt;/span&gt;string comparison operators.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;In yet another context, the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="quote"&gt;"&lt;/span&gt;&lt;span class="token"&gt;&lt;&lt;/span&gt;&lt;span class="quote"&gt;"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;and&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="quote"&gt;"&lt;/span&gt;&lt;span class="token"&gt;&gt;&lt;/span&gt;&lt;span class="quote"&gt;"&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;characters act as&lt;span class="apple-converted-space"&gt; &lt;/span&gt;integer comparison operators. See also&lt;span class="apple-converted-space"&gt; &lt;/span&gt;Example 15-9.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;&lt;&lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;redirection used in a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;here document.&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;&lt;&lt;&lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;redirection used in a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;here string.&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;&lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;ASCII comparison.&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;veg1=carrots&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;veg2=tomatoes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;if [[ "$veg1" &lt; "$veg2" ]]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  echo "Although $veg1 precede $veg2 in the dictionary,"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  echo -n "this does not necessarily imply anything "&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  echo "about my culinary preferences."&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  echo "What kind of dictionary are you using, anyhow?"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;fi&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;\&lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;,&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;\&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;word boundary&lt;span class="apple-converted-space"&gt; &lt;/span&gt;in a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;regular expression.&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;bash$&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="Courier New&amp;quot;; font-family:&amp;quot;;font-size:10.0pt;color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;b&gt;&lt;span style=" ;font-size:10.0pt;color:black;"&gt;grep '\&lt;the\&gt;' textfile&lt;/the\&gt;&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;|&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;pipe.&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;Passes the output (&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;stdout&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;of a previous command to the input (&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;stdin&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;) of the next one, or to the shell. This is a method of chaining commands together.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo ls -l | sh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#  Passes the output of "echo ls -l" to the shell,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#+ with the same result as a simple "ls -l".&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;cat *.lst | sort | uniq&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Merges and sorts all ".lst" files, then deletes duplicate lines.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span style=" display:none;mso-hide:allcolor:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" style="mso-cellspacing:1.5pt;  margin-left:.5in;mso-padding-alt:3.75pt 3.75pt 3.75pt 3.75pt"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:3.75pt 3.75pt 3.75pt 3.75pt"&gt;   &lt;p&gt;A pipe, as a classic method of interprocess   communication, sends the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;"&gt;stdout&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;of   one&lt;span class="apple-converted-space"&gt; &lt;/span&gt;process&lt;span class="apple-converted-space"&gt; &lt;/span&gt;to the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;"&gt;stdin&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;of another. In a typical case, a   command, such as&lt;span class="apple-converted-space"&gt; &lt;/span&gt;cat&lt;span class="apple-converted-space"&gt; &lt;/span&gt;or&lt;span class="apple-converted-space"&gt; &lt;/span&gt;echo, pipes   a stream of data to a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;filter&lt;/i&gt;, a command that transforms its input for   processing.&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="footnote"&gt;[5]&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;"&gt;cat $filename1 $filename2 | grep   $search_word&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p&gt;For an interesting note on the complexity of using UNIX pipes, see&lt;span class="apple-converted-space"&gt; &lt;/span&gt;the UNIX   FAQ, Part 3.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;The output of a command or commands may be piped to a script.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#!/bin/bash&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# uppercase.sh : Changes input to uppercase.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;tr 'a-z' 'A-Z'&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#  Letter ranges must be quoted&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#+ to prevent filename generation from single-letter filenames.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;exit 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Now, let us pipe the output of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;b&gt;ls -l&lt;/b&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;to this script.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;ls -l | ./uppercase.sh&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;-RW-RW-R--    1 BOZO  BOZO       109 APR  7 19:49 1.TXT&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt; -RW-RW-R--    1 BOZO  BOZO       109 APR 14 16:48 2.TXT&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt; -RW-R--R--    1 BOZO  BOZO       725 APR 20 20:56 DATA-FILE&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;              &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal" style="margin-left:.5in"&gt;&lt;span style=" display:none;mso-hide:allcolor:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td width="25" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1032" type="#_x0000_t75" alt="Note" style="'width:18pt;height:18pt;"&gt;    &lt;v:imagedata src="file:///E:\DOCUME~2\Arju\LOCALS~1\Temp\msohtml1\01\clip_image002.gif" href="http://www.tldp.org/LDP/abs/images/note.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img border="0" width="24" height="24" src="file:///E:/DOCUME~2/Arju/LOCALS~1/Temp/msohtml1/01/clip_image002.gif" hspace="5" alt="Note" shapes="_x0000_i1032" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;"&gt;stdout&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;of   each process in a pipe must be read as the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;"&gt;stdin&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;of   the next. If this is not the case, the data stream will&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;block&lt;/i&gt;, and the pipe will not   behave as expected.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;background:#E0E0E0"&gt;    &lt;tbody&gt;&lt;tr&gt;     &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;cat file1 file2 | ls -l | sort&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# The output from "cat file1 file2" disappears.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;    &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;   &lt;p&gt;A pipe runs as a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;child   process, and therefore cannot alter script variables.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;background:#E0E0E0"&gt;    &lt;tbody&gt;&lt;tr&gt;     &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;variable="initial_value"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo "new_value" | read variable&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo "variable = $variable"     # variable = initial_value&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;    &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;   &lt;p&gt;If one of the commands in the pipe aborts, this prematurely terminates   execution of the pipe. Called a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;broken   pipe&lt;/i&gt;, this condition sends a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;tt&gt;&lt;i&gt;&lt;span style="font-size:10.0pt;"&gt;SIGPIPE&lt;/span&gt;&lt;/i&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;signal.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;&gt;|&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;force redirection (even if the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;noclobber option&lt;span class="apple-converted-space"&gt; &lt;/span&gt;is set).&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;This will forcibly overwrite an existing file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;||&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;OR logical operator.&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;In a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;test construct, the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;||&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;operator causes a return of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="returnvalue"&gt;0&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;(success) if&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;em&gt;either&lt;/em&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;of the linked test conditions is true.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;&amp;amp;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Run job in background.&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;A command followed by an&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;&amp;amp;&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;will run in the background.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;sleep 10 &amp;amp;&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;[1] 850&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;[1]+  Done                    sleep 10&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;              &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Within a script, commands and even&lt;span class="apple-converted-space"&gt; &lt;/span&gt;loops&lt;span class="apple-converted-space"&gt; &lt;/span&gt;may run in the background.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Example 3-3. Running a loop in the background&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td colspan="2" style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#!/bin/bash&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# background-loop.sh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;for i in 1 2 3 4 5 6 7 8 9 10            # First loop.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;do&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  echo -n "$i "&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;done &amp;amp; # Run this loop in background.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;       # Will sometimes execute after second loop.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo   # This 'echo' sometimes will not display.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;for i in 11 12 13 14 15 16 17 18 19 20   # Second loop.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;do&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  echo -n "$i "&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;done  &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;echo   # This 'echo' sometimes will not display.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# ======================================================&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# The expected output from the script:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# 1 2 3 4 5 6 7 8 9 10 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# 11 12 13 14 15 16 17 18 19 20 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Sometimes, though, you get:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# 11 12 13 14 15 16 17 18 19 20 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# 1 2 3 4 5 6 7 8 9 10 bozo $&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# (The second 'echo' doesn't execute. Why?)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Occasionally also:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# (The first 'echo' doesn't execute. Why?)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# Very rarely something like:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# 11 12 13 1 2 3 4 5 6 7 8 9 10 14 15 16 17 18 19 20 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;# The foreground loop preempts the background one.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;exit 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#  Nasimuddin Ansari suggests adding    sleep 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#+ after the   echo -n "$i"   in lines 6 and 14,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#+ for some real fun.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td width="25" valign="top" style="width:18.75pt;background:transparent;   padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1033" type="#_x0000_t75" alt="Caution" style="'width:18pt;"&gt;    &lt;v:imagedata src="file:///E:\DOCUME~2\Arju\LOCALS~1\Temp\msohtml1\01\clip_image001.gif" href="http://www.tldp.org/LDP/abs/images/caution.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img border="0" width="24" height="24" src="file:///E:/DOCUME~2/Arju/LOCALS~1/Temp/msohtml1/01/clip_image001.gif" hspace="5" alt="Caution" shapes="_x0000_i1033" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="background:transparent;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;A command run in the background within a script may cause the script to   hang, waiting for a keystroke. Fortunately, there is a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;remedyfor   this.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;AND logical operator.&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;In a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;test construct, the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="token"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;operator causes a return of&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;span class="returnvalue"&gt;0&lt;/span&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;(success) only if&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;em&gt;both&lt;/em&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;the linked test conditions are true.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;-&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;option, prefix.&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;Option flag for a command or filter. Prefix for an operator. Prefix for a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;default parameter&lt;span class="apple-converted-space"&gt; &lt;/span&gt;in&lt;span class="apple-converted-space"&gt; &lt;/span&gt;parameter substitution.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;COMMAND -[Option1][Option2][...]&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;ls -al&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;sort -dfu $filename&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;if [ $file1 -ot $file2 ]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;then #      ^&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  echo "File $file1 is older than $file2."&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;fi&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;if [ "$a" -eq "$b" ]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;then      ^&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  echo "$a is equal to $b."&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;fi&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;if [ "$c" -eq 24 -a "$d" -eq 47 ]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;then      ^              ^&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;  echo "$c equals 24 and $d equals 47."&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;fi&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;param2=${param1:-$DEFAULTVAL}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;#               ^&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;--&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;double-dash&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;--&lt;/span&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;prefixes&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;long&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;(verbatim) options to commands.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;sort --ignore-leading-blanks&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;Used with a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;Bash builtin, it means the&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;end of options&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;to that particular command.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td width="25" valign="top" style="width:18.75pt;padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p class="MsoNormal" align="center" style="text-align:center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1034" type="#_x0000_t75" alt="Tip" style="'width:18.75pt;"&gt;    &lt;v:imagedata src="file:///E:\DOCUME~2\Arju\LOCALS~1\Temp\msohtml1\01\clip_image004.gif" href="http://www.tldp.org/LDP/abs/images/tip.gif"&gt;   &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;img border="0" width="25" height="24" src="file:///E:/DOCUME~2/Arju/LOCALS~1/Temp/msohtml1/01/clip_image004.gif" hspace="5" alt="Tip" shapes="_x0000_i1034" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="top" style="padding:.75pt .75pt .75pt .75pt"&gt;   &lt;p&gt;This provides a handy means of removing files whose&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;em&gt;names begin with a dash&lt;/em&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;background:#E0E0E0"&gt;    &lt;tbody&gt;&lt;tr&gt;     &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;ls -l&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;-rw-r--r-- 1 bozo bozo 0 Nov 25 12:29 -badname&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;rm -- -badname&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;ls -l&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;total 0&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;    &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;   &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p style="margin-left:.5in"&gt;&lt;span style="color:black;"&gt;The&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;i&gt;double-dash&lt;/i&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;is also used in conjunction with&lt;span class="apple-converted-space"&gt; &lt;/span&gt;set.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;set -- $variable&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;(as in&lt;span class="apple-converted-space"&gt; &lt;/span&gt;Example 14-19)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span class="token"&gt;&lt;span style="color:black;"&gt;-&lt;/span&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="margin-left:.5in"&gt;&lt;b&gt;&lt;span style="color:black;"&gt;redirection from/to&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;stdin&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;b&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:black;"&gt;or&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;color:black;"&gt;stdout&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span class="apple-converted-space"&gt;&lt;b&gt;&lt;span style="color:black;"&gt; &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="color:black;"&gt;[dash].&lt;/span&gt;&lt;/b&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoNormalTable" border="1" cellpadding="0" width="90%" style="width:90.0%;mso-cellspacing:1.5pt;margin-left:.5in;background:#E0E0E0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding:.75pt .75pt .75pt .75pt"&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;bash$ &lt;b&gt;cat -&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="color:black;"&gt;abc&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;abc&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span style="color:black;"&gt;...&lt;/span&gt;&lt;/tt&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span style="color:black;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="color:black;"&gt;Ctl-D&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;span s
