<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4312797801908181440</id><updated>2024-09-16T15:42:16.124-07:00</updated><title type='text'>aix commands</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://essentialaix.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4312797801908181440/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://essentialaix.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>TopBlogger</name><uri>http://www.blogger.com/profile/05320680504592548554</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4312797801908181440.post-4310856444502384985</id><published>2010-10-25T07:08:00.000-07:00</published><updated>2010-10-25T07:08:52.408-07:00</updated><title type='text'>INTRODUCTION</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Lucida Grande&#39;; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 11px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;This is my unix command help file which has been built up over the years. This file was built primarily for my own reference and is&amp;nbsp;&lt;/span&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;not&lt;/span&gt;&lt;/i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;intended to be an authoratative guide to all commands for AIX - often if there is a very short description for a command, you can take this as RTFM. I am&amp;nbsp;&lt;/span&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;not&lt;/span&gt;&lt;/i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;a systems administrator, but have been called on to do the job occasionally (and install a box or two) - this helpfile should be ideal for people who use AIX, but aren&#39;t responsible for the deep magic required for hardware configuration.&lt;br /&gt;
&lt;br /&gt;
You may find this file helpful despite the numerous omissions nonetheless. This file was originally a plain text file but I have converted to HTML using&amp;nbsp;&lt;/span&gt; &lt;a href=&quot;http://www.softwareonline.org/&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Lemmy&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;(A&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#vi&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;vi&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;clone for Windows).&lt;br /&gt;
&lt;br /&gt;
Because it has been hand-converted from the original text document, there&#39;s a few hangovers from it that I just can&#39;t be bothered to remove such as the caps headings. Additionally, some browsers may not render certain characters.&lt;br /&gt;
&lt;br /&gt;
I&#39;ve tried (and quite probably failed) to keep several conventions within this document - any command, if mentioned in the description of another command should have a bookmark link to the description of that command; all examples are in blue text - apologies to&amp;nbsp;&lt;/span&gt;  &lt;a href=&quot;http://lynx.browser.org/&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;lynx&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;users, but examples should be written so that they&#39;re recognisable anyway (and if you&#39;re using lynx, you probably know unix quite well anyway so I don&#39;t really know why I&#39;m apologising ;-). If a command has more than one useful option, I&#39;ve tried to put them into &amp;lt;UL&amp;gt; Unordered list tags.&lt;br /&gt;
&lt;br /&gt;
If a command stands almost alone, or is complex within itself, it doesn&#39;t appear in this file but in it&#39;s own separate file (with a link if I&#39;ve converted it to html. Examples are&amp;nbsp;&lt;/span&gt; &lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#vi&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;vi&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;and&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#awk&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;awk&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://essentialaix.blogspot.com/feeds/4310856444502384985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://essentialaix.blogspot.com/2010/10/introduction.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4312797801908181440/posts/default/4310856444502384985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4312797801908181440/posts/default/4310856444502384985'/><link rel='alternate' type='text/html' href='http://essentialaix.blogspot.com/2010/10/introduction.html' title='INTRODUCTION'/><author><name>TopBlogger</name><uri>http://www.blogger.com/profile/05320680504592548554</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4312797801908181440.post-5264002425269205036</id><published>2010-10-25T07:06:00.001-07:00</published><updated>2010-10-25T07:06:44.807-07:00</updated><title type='text'>BASIC FILE HANDLING</title><content type='html'>&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;ls&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ls&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;dl&gt;&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- list files in directory; use with options&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-l (long format)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-a (list . files too)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-r (reverse order)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-t (newest appears first)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-d (do not go beyond current directory)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-i (show inodes)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;For a more detailed description of ls see&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#ls%20-l&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ls -l&lt;/span&gt;&lt;/a&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;more&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;more&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- used to control input by pages - like the dos /p argument with dir. e.g.
$ more /etc/motd *******************************************************************************
* *
* *
* Welcome to AIX Version 4.1! *
* *
* *
* Please see the README file in /usr/lpp/bos for information pertinent to *
* this release of the AIX Operating System. *
* *
* *
*******************************************************************************
motd: END

Useful keys for use with more:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;b (back a page)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&#39; (go to top)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;v (vi the file)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;/ (Search)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;q (quit)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&#39; &#39; (down a page)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Control-G (View current line number&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;lt;CR&amp;gt; (down a line)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;See also&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#pg&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;pg&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;which is extremely similar&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;pg&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;pg&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- used to control input by pages - like the dos /p argument. pg performs the same function as the&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#more&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;more&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;command but has different control, as it is based on&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#ex&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ex&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;
Helpful keys for pg:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;1 (go to top)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;$ (go to bottom)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;h (help)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;/ (Search)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;? (Search back)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;q (quit)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-1 (back a page)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;pwd&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;pwd&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- show&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;p&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;resent&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;w&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;orking&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;d&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;irectory. e.g.
$ pwd
/usr/live/data/epx/vss2

To change the current working directory use&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#cd&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;cd&lt;/span&gt;&lt;/a&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;cd&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;cd&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- change directory (without arguments, this is the same as&amp;nbsp;$ cd $HOME&amp;nbsp;or&amp;nbsp;$ cd ~)&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;cp&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;cp&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;lt;source&amp;gt; &amp;lt;destination&amp;gt; - copies a file from one location to another. e.g.
$ cp /etc/hosts /etc/hosts.backup # make a backup of the hosts file
$ cp /etc/motd /tmp/jon/ # Copy file /etc/motd to directory /tmp/jon/
Options&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-f (to force the copy to occur)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-r (to recursively copy a directory)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-p (to attempt to preserve permissions when copying)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;synonym: copy&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;mv&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;mv&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;lt;source&amp;gt; &amp;lt;destination&amp;gt; - move a file from one location to another. e.g.
$ mv /tmp/jon/handycommands.txt . # move handycommands in /tmp/jon to current directory
$ mv -f vihelp vihelp.txt # Move file vihelp to vihelp.txt (forced)
Options&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-f (to force the move to occur)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-r (to recursively move a directory)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-p (to attempt to preserve permissions when moving)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;synonym: move
.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;rm&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;rm&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;lt;filename&amp;gt; - removes a file. e.g.
$ rm /tmp/jon/*.unl # remove all *.unl files in /tmp/jon
$ rm -r /tmp/jon/usr # remove all files recursively&amp;nbsp;Options&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-f (to force the removal of the file)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-r (to recursively remove a directory)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;du&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;du&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Recursively lists directories and their sizes. e.g.
$ du /etc # list recursively all directories off /etc
712 /etc/objrepos
64 /etc/security/audit
536 /etc/security
104 /etc/uucp
8 /etc/vg
232 /etc/lpp/diagnostics/data
240 /etc/lpp/diagnostics
248 /etc/lpp
16 /etc/aliasesDB
16 /etc/acct
8 /etc/ncs
8 /etc/sm
8 /etc/sm.bak
4384 /etc
The sizes displayed are in 512K blocks. To view this in 1024K blocks use the option -k&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;lp&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;lp&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;-d&amp;lt;Printername&amp;gt; &amp;lt;Filename&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;send file to printer. e.g.&amp;nbsp;$ lp -dhplas14 /etc/motd # send file /etc/motd to printer hplas14
$ lp /etc/motd # send file /etc/motd to default printer&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;cat&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;cat&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- print a file to stdout (screen). e.g.
$ cat /etc/motd # display file /etc/motd to screen
*******************************************************************************
* *
* *
* Welcome to AIX Version 4.1! *
* *
* *
* Please see the README file in /usr/lpp/bos for information pertinent to *
* this release of the AIX Operating System. *
* *
* *
*******************************************************************************
cat is also useful for concatenating several files. e.g.
$ cat fontfile IN* &amp;gt; newfile # appends fontfile and all files beginning with IN to newfile
Though this might seem an essentially useless command, because most unix commands always take a filename argument, it does in fact come in extremely useful at more advanced levels.&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://www.ling.helsinki.fi/~reriksso/unix/award.html#cat&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Awards&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;are given out occasionally for the most useless usage of cat. If an option of &#39;-&#39; is specified, cat will take its input from stdin.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;&lt;/dl&gt;&lt;h3&gt;&lt;a href=&quot;&quot; name=&quot;INPUTS, OUTPUTS AND WILDCARDS&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;INPUTS, OUTPUTS AND WILDCARDS&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;&lt;dl&gt;&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;
Unix commands generally get their information from the screen, and output to it. There are three main &#39;streams&#39; which unix uses to get/place it&#39;s information on. These streams are called:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;stdin (Standard Input) - normally, what you type into the screen&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;stdout (Standard Output) - normally, what is output to the screen&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;stderr (Standard Error) - normally, error messages which go to the screen&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;
any of these may be redirected by the following symbols:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;lt; &amp;lt;filename&amp;gt; take input from &amp;lt;filename&amp;gt; rather than the screen. e.g.&lt;br /&gt;
$ ksh &amp;lt; x # will read all commands from the file x and execute them using the Korn shell.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;gt; &amp;lt;filename&amp;gt;&amp;nbsp;take output from the command and place it in &amp;lt;filename&amp;gt;. e.g.&lt;br /&gt;
$ ls &amp;gt; x&amp;nbsp;will place the output of the command &#39;ls&#39; in the file x&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;gt;&amp;gt; &amp;lt;filename&amp;gt;&amp;nbsp;take output from the command and append it to &amp;lt;filename&amp;gt;. e.g.&lt;br /&gt;
$ ls /tmp &amp;gt;&amp;gt; x&amp;nbsp;will place the output of the command &#39;ls&#39; and append it to the file x&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;2&amp;gt; &amp;lt;filename&amp;gt; take any error messages from the command and put it in &amp;lt;filename&amp;gt;. e.g.&lt;br /&gt;
$ ls /tmp 2&amp;gt;/dev/null&amp;nbsp;would throw away any error messages that are produced by ls (sorry, /dev/null is a file that, if written to, the information disappears never to be seen again).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;command1 | command2&amp;nbsp;Pipe - Takes the standard output of the first command, and turns it into the standard input of the second command. The output of the second command will then be put on the standard output (which, again, may be a pipe) e.g.&lt;br /&gt;
$ ls | more&amp;nbsp;will send the output of &#39;ls&#39; into the command &#39;more&#39;, thus producing a directory listing which stops after every page. This method is called piping.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;
command1 &amp;amp; - the ampersand (&amp;amp;) forces command1 to run in the background. so that you may continue to type other commands in the shell, while command1 executes. It is not advisable to run a command in the background if it outputs to the screen, or takes it&#39;s input from the screen

See also&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#tee&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;tee&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;which allows splitting of the input stream and output to several different places at once.
&lt;/span&gt;&lt;/dd&gt;&lt;/dl&gt;&lt;h4&gt;&lt;a href=&quot;&quot; name=&quot;Wildcards&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Wildcards&lt;/span&gt;&lt;/a&gt;&lt;/h4&gt;&lt;dl&gt;&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;B Bib Baby Fox Fib

There are various wildcards which you may use. One is &#39;*&#39; which means 0 or more characters. e.g. &#39;B*&#39; will match &#39;B,Bib and Baby&#39; from the list above, another wildcard is &#39;?&#39; which matches 1 character, e.g. &#39;?ib&#39; will match &#39;Bib and Fib&#39;. Wildcards differ depending on the program in use:&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#awk&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;awk&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;derivatives (&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#awk&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;awk&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;,&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#sed&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;sed&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;,&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#grep&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;grep&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;,&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#ex&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ex&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;,&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#vi&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;vi&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;,&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#expr&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;expr&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;and others) have the following special characters:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;^ beginning of the line&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;$ end of the line&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;. any character&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;* one or more of the preceding character&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;.* any number of characters&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;\n Carriage return&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;\t Tab character&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;\&amp;lt;char&amp;gt; Treat &amp;lt;char&amp;gt; as is (so, \$ would try to match a &#39;$&#39;)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Given the following four lines:

Chargeable calls in bundle: $47.50
Chargeable calls out of bundle: $20.50
Other bundle charges: $0.00
Total Charge: $20.50

$ grep &quot;^Charg.*bundle.*\$.*&quot;
would match the first two lines.
In english - match all lines which start with &#39;Charg&#39;, then have any number of characters and then the word &#39;bundle&#39;, then have any number of characters, and then a dollar symbol, and then have any number of characters following to the end of the line&lt;/span&gt;&lt;/dd&gt;&lt;/dl&gt;&lt;h3&gt;&lt;a href=&quot;&quot; name=&quot;OTHER FILE HANDLING COMMANDS&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;OTHER FILE HANDLING COMMANDS&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;&lt;dl&gt;&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;
&lt;/span&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;type&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;type&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;command&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- show where the source of a command is: e.g.
$ type sendmail
sendmail is /usr/sbin/sendmail
This command is merely an alias for &#39;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#whence&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;whence&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;-v&#39;&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;whence&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;whence&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;command&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- show where the source of a command is: shell builtin command. See&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#type&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;type&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;
Use option: -v for verbose mode&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;which&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;which&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;command&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- show where the source of a command is held. Almost the same as&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#type&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;type&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#whence&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;whence&lt;/span&gt;&lt;/a&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;chmod&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;chmod&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;Octal Permissions&amp;gt; &amp;lt;file(s)&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- change file permissions. e.g.
$ chmod 666 handycommands
changes the permissions (seen by&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#ls%20-l&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ls -l&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;) of the file handycommands to&amp;nbsp;-rw-rw-rw-
r = 4, w = 2, x = 1. In the above example if we wanted read and write permission for a particular file then we would use r + w = 6. If we then wanted to have the file have read-write permissions for User, Group and All, then we would have permissions of 666. Therefore the command to change is that above.
$ chmod 711 a.out
Changes permissions to:&amp;nbsp;-rwx--x--x
Additional explanation of file permissions and user/group/all meaning are given in the description of&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#ls%20-l&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ls -l&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;
You may specify chmod differently - by expressing it in terms of + and - variables. For example
$ chmod u+s /usr/bin/su
will modify the &quot;sticky bit&quot; on su, which allows it to gain the same access on the file as the owner of it. What it means is &quot;add s permission to user&quot;. So a file that started off with permissions of &quot;-rwxr-xr-x&quot; will change to &quot;rwsr-xr-x&quot; when the above command is executed. You may use &quot;u&quot; for owner permissions, &quot;g&quot; for group permissions and &quot;a&quot; for all.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;chown&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;chown&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;Login Name&amp;gt; &amp;lt;file(s)&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- Change ownership of a file. Must be done as root. e.g.
chown informix *.dat&amp;nbsp;# change all files ending .dat to be owned by informix&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;chgrp&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;chgrp&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;Group Name&amp;gt; &amp;lt;file(s)&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- Change group ownership of a file. Must be done as root. e.g.
chgrp sys /.netrc&amp;nbsp;# change file /.netrc to be owned by the group sys&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;mvdir&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;mvdir&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;Source Directory&amp;gt; &amp;lt;Destination Directory&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- move a directory - can only be done&amp;nbsp;&lt;/span&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;within&lt;/span&gt;&lt;/i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;a volume group. To move a directory between volume groups you need to use&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#mv&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;mv -r&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;
or&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#find&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;find &amp;lt;dirname&amp;gt; -print&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;|&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#cpio&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;cpio -pdumv &amp;lt;dirname2&amp;gt;&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#rm&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;rm -r &amp;lt;dirname&amp;gt;&lt;/span&gt;&lt;/a&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;cpdir&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;cpdir&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;Source Directory&amp;gt; &amp;lt;Destination Directory&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- copy a directory. See&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#mvdir&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;mvdir&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;
&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;rmdir&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;rmdir&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;Directory&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- this is crap - use&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#rm&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;rm -r&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;instead&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;rmdir&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;mkdir&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;Directory&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- Creates a directory. e.g.
$ mkdir /tmp/jon/&amp;nbsp;# create directory called /tmp/jon/&amp;nbsp;&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;find&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;find&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;pathname&amp;gt; -name &quot;searchkey&quot; -print&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- search for files - e.g.
$ find . -name &quot;system.log&quot; -print&amp;nbsp;# will find all files (with full path names) called system.log - Wildcards are allowed, e.g.
$ find /tmp -name &quot;sl.*&quot; -atime +0 -print&amp;nbsp;# will print out all files in /tmp/ that start sl. and which haven&#39;t been accessed for a day. Helpful for finding lost files, or finding stuff in enormous directories. Other useful options include:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-atime +&amp;lt;days&amp;gt; - finds files that haven&#39;t been accessed for 1+days also, ctime (creation time) and mtime (modify time)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-prune  - stay in current directory - don&#39;t look in dirs off the directory specified in path names - e.g.&lt;br /&gt;
$ find /tmp -user &quot;compgnc&quot; -prune -print&amp;nbsp;# will find all files in /tmp which user compgnc owns and will not search lower directories (e.g. /tmp/usr)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-size +&amp;lt;blocks&amp;gt; - finds files that are bigger than &amp;lt;blocks&amp;gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-exec rm {} \; - remove all files found...dangerous command - e.g.&lt;br /&gt;
$ find /tmp -name &quot;sl.*&quot; -atime +0 -prune -print -exec rm {} \;&amp;nbsp;# will remove all files in /tmp starting &#39;sl.&#39; that haven&#39;t been accessed for a day. Spacing of this command is important! Most exec commands are possible:&lt;br /&gt;
$ find /usr2/calltest -name &quot;*.4gl&quot; -print -exec&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#grep&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;grep&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&quot;CHECK&quot; {} \; |&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#pg&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;pg&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-ok - like exec only it prompts for confirmation after each occurence. e.g.&lt;br /&gt;
$ find /tmp/disk7 -name &quot;*&quot; -print -ok&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#doswrite&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;doswrite&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;-a {} {} \;&amp;nbsp;# Please note that you MUST end any exec or ok option with an escaped semicolon (\;).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-user &amp;lt;username&amp;gt; - finds all files owned by &amp;lt;username&amp;gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-group &amp;lt;groupname&amp;gt; - finds all files with a group of &amp;lt;groupname&amp;gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;ln&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ln&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;-s &amp;lt;Directory&amp;gt; &amp;lt;symbolic link&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- create a symbolic link to a different directory from current directory: e.g.
$ ln -s /usr/uniplex/compgnc /u/compgnc/uni&amp;nbsp;# would create a link called &#39;uni&#39; in the directory /u/compgnc. From then on, typing cd uni would cd to /usr/uniplex/compgnc. You can also give two files the same name. e.g.
$ ln make.e_enquiry makefile&amp;nbsp;# would link the two files so that they are identical, and when you change one, you change the other. You may also create a symbolic link to a host(!). Instead of typing &#39;rlogin hpserver&#39; every time, by typing
$ ln -s /usr/bin/rsh hpserver&amp;nbsp;# will create a link so that whenever you type &#39;hpserver&#39; it will execute a remote shell on the machine.
Option -f forces the link to occur&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;head&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;head&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;-&amp;lt;Number&amp;gt; &amp;lt;FileName&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- prints out the first few line of a file to screen. Specify number to indicate how many lines (default is 10). e.g. If you sent something to a labels printer and it wasn&#39;t lined up, then you could print the first few labels again using:
$ head -45 label1.out |&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#lp&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;lp&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;-dlocal1&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;tail&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;tail&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;-&amp;lt;Number&amp;gt; &amp;lt;FileName&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- prints out the end of a file. Very similar to&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#head&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;head&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;but with a very useful option &#39;-f&#39; which allows you to follow the end of a file as it is being created.e.g.
$ tail -f vlink.log&amp;nbsp;# follow end of vlink.log file as it is created.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;wc&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;wc&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;-&amp;lt;options&amp;gt; &amp;lt;FileName&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- Word Count (wc) program. Counts the number of chars, words, and lines in a file or in a pipe. Options:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-l (lines)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-c (chars)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-w (words)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;To find out how many files there are in a directory do&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#ls&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ls&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;| wc -l&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;split&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;split&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;-&amp;lt;split&amp;gt; &amp;lt;FileName&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- Splits a file into several files.e.g.
$ split -5000 CALLS1&amp;nbsp;# will split file CALLS1 into smaller files of 5000 lines each called xaa, xab, xac, etc.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;tr&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;tr&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;character&amp;gt; &amp;lt;other character&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- translates characters. e.g.
$&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#cat&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;cat&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;handycommands | tr &quot;\t&quot; &quot; &quot;&amp;nbsp;# will take the file handycommands and translate all tabs into spaces. Useful when messing about with awk or you need to convert some input (e.g. that from&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#tty&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;tty&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;) to a unique filename that does not contain special characters. e.g.
$&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#tty&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;tty&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;| tr &quot;/&quot; &quot;.&quot;&amp;nbsp;# produces for example .dev.pts.7&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;od&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;od&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;options&amp;gt; &amp;lt;filename&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- od converts nasty (binary save) files into character representations. Useful when back-compiling, examining raw .dat files,etc. Use with option &#39;-c&#39; for character display (recommended).&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;script&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;script&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- starts recording everything in the shell to a file by default &#39;typescript&#39;. Press ^D to finish the script. Provides a log of everything used. Has almost the same effect as&amp;nbsp;$&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#ksh&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ksh&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;|&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#tee&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;tee&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;typescript
Used for debugging shells, seeing error messages which flash off the screen too quickly, etc.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;cut&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;cut&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- cut&#39;s the file or pipe into various fields. e.g.
$ cut -d &quot;|&quot; -f1,2,3 active.unl&amp;nbsp;# will take the file active.unl which is delimited by pipe symbols and print the first 3 fields options:&amp;nbsp;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-d &amp;lt;delimiter&amp;gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-f &amp;lt;fields&amp;gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Not too useful as you can&#39;t specify the delimiter as merely white space (defaults to tab) Alternatively, you can &#39;cut&#39; up files by character positioning (useful with a fixed width file). e.g.
$ cut -c8-28 &quot;barcode.txt&quot;&amp;nbsp;# would cut columns 8 to 28 out of the barcode.txt file.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;paste&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;paste&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- paste will join two files together horizontally rather than just tacking one on to the end of the other. e.g. If you had one file with two lines:&lt;/span&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Name:
Employee Number:&lt;/span&gt;&lt;/i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;and another file with the lines:&lt;/span&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Fred Bloggs
E666&lt;/span&gt;&lt;/i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;then by doing:
$ paste file1 file2 &amp;gt; file3&amp;nbsp;# this would then produce (in file3).&amp;nbsp;&lt;/span&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Name: Fred Bloggs
Employee Number: E666&lt;/span&gt;&lt;/i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Note that paste puts horizontal tabs between the files, so you may need a&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#sed&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;sed&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&#39;s/&amp;nbsp;&amp;nbsp;&amp;nbsp;//g&#39; command to get rid of these.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;sort&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;sort&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;filename&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- sorts the information from the file and displays the result on standard output (stdout). e.g.
$ sort /tmp/list_of_names&amp;nbsp;# will sort the file into alphabetical order, and display it to the screen. Useful with option &#39;-u&#39; to filter out duplicates.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;uniq&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;uniq&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;filename&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- filters out all duplicate lines from a file or input stream (file or stream must be sorted!). Useful with option -c which merely produces a count of unique lines.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;ex&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ex&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;filename&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- ex is an old line editor, and almost never used now (similar to DOS edlin if you remember that - me, I&#39;ve repressed it). You are most likely to come across ex within the&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#vi&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;vi&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;editor - all commands beginning with a colon (:) are ex commands&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;&lt;/dl&gt;&lt;h3&gt;&lt;a href=&quot;&quot; name=&quot;EXTREMELY USEFUL COMMANDS&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;EXTREMELY USEFUL COMMANDS&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;&lt;dl&gt;&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;ls -l&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ls -l&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- lists files in a directory in long format. You cannot do without this. Here&#39;s a more detailed explanation. e.g.
$ ls -l&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;table cellspacing=&quot;5&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Part 1&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Part 2&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Part 3&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Part 4&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Part 5&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Part 6&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Part 7&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-rw-rw-rw-&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;root&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;staff&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;28&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Jan 16 09:52&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;README&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-rw-------&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;compjmd&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;staff&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;4304&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Jun 24 12:21&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;tabledict&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;drwxrwxrwx&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;2&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;compjmd&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;staff&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;512&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Jul 1 16:30&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;testdir&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-rwxrwx---&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;1&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;compjmd&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;system&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;0&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Jul 1 16:30&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;a.out&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/dd&gt;&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;
... is a sample listing.
&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Part 1&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;: Permissions - see&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#chmod&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;chmod&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;for explanation of these. If the first field is set, then the file in question is not really a file at all, but something else, key:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-: normal file&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;d: directory&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;l: symbolic link created by &#39;ln&#39;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;c or b: device of some sort&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;You may sometimes see an &#39;s&#39; where the &#39;x&#39; should be in the permissions - this is normally on executable files which change other files. e.g. Permissions of &#39;sqlexec&#39; the file that executes all informix queries should be &#39;-rwsr-sr-x&#39; - this then accesses tables with permissions of &#39;-rw-rw----&#39;. where the table files are owned by informix (group informix). the &#39;s&#39; flags allows changing of the database tables on a program level, but not on a unix level. (can change contents via sqlexec but not use &#39;rm&#39; command on db file).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Part 2&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;: Number of links to this file (directories always have 2+).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Part 3&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;: The owner of the file - e.g. If the owner is &#39;compjmd&#39; and permissions are set to -rw------- then only the user &#39;compjmd&#39; may read or write to that file. Again, if owner is &quot;compjmd&quot; and permissions are -r-x------ then only the user compjmd may read or execute that file. Only the owner of a file or root may&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#chmod&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;chmod&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;it.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Part 4&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;: The group ownership of the file - (bloody hell, this is getting complicated). On a unix system there are certain &#39;groups&#39; which users can belong to, held in the file &#39;/etc/group&#39;. You will notice that in this file there will be a main group, e.g. &#39;staff&#39; which contains every user. Which means that any user listed under staff is in that group.....right...every file has a group attached to it. Which means that if a file had permissions ----rw---- and a group reference of &#39;system&#39;, then only users who were part of the group system could modify that file. To see which groups the current user belongs to do&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#id&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;id&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;. Sorry if this wasn&#39;t comprehensible but you should never need to use this anyway(!).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Part 5&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;: Size of the file in bytes&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Part 6&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;: Time of last modification&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Part 7&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;: The name of the file&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Useful options (and there are loads more). All may be combined except where specified:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ls -a  show files starting with &#39;.&#39; too&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ls -A  show files starting with &#39;.&#39; but not &#39;.&#39; or &#39;..&#39;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ls -c  must be used with either option l and/or t - displays/sorts by modification time&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ls -d  do not show subdirectory listings&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ls -i  display the i-node number of each file&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ls -t  Put the listing in time order (see options u and c)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ls -r  Put the listing in reverse order - usually used with a -t&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ls -u  must be used with either options l and/or t - displays/sorts by last-access time&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;vi&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;vi&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;filename&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- love it or loathe it - the standard operating system text-file editor.&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/vihelp.htm&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;See Related help file&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;. Vi You can also use &#39;view&#39; which forces Read only (-R opt). vi +&amp;lt;number&amp;gt; enters the file at the specified line no. Also, vi +/&amp;lt;Search pattern&amp;gt; will enter the file and move to the first occurrence of &amp;lt;Search pattern&amp;gt;. e.g.
$ vi +/&quot;love it or loathe it&quot; handycommands
Users new to vi hate it. I personally managed to get through University without using it ever (I used Joe&#39;s own editor instead). If I accidentally went into vi, I had to ^Z and kill the job. Sigh. Five years of using vi means that I&#39;m getting a little better at it now... (I&#39;m actually typing this now in a vi-clone for Windows).&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;grep&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;grep&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;pattern&amp;gt; &amp;lt;file(s)&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- a phenomenally useful command which matches strings within files - e.g.
$ grep D7523 mcall_reps.out&amp;nbsp;# will find all the lines in mcall_reps.out that have the string &quot;D7523&quot; in it. Also incredibly useful for things like pipes,e.g.
$&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#du&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;du&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;| grep cred&amp;nbsp;# (in /home directory will show all users that have &#39;cred&#39; in their title). You may use regular expression matching - e.g.
$ grep &quot;main.*{&quot; x.c&amp;nbsp;# would match any line containing &#39;main&#39; and an open curly brackets at any point in the line afterwards. There are two variations to grep - fgrep and egrep which do virtually the same things as grep, but are either faster (having less options) or more complex (but slower). See also section on&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#Wildcards&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Wildcards&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;
Options:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-v : show all lines that do not contain pattern.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-y : don&#39;t bother matching case&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-i : don&#39;t bother matching case&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-c : show count of matching lines rather than the lines themselves&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-l : show filename&#39;s instead of matching lines.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;ksh&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ksh&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;-o vi&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- The Korn Shell - pros might notice that I don&#39;t mention using the C-Shell at all - I&#39;ve never used it, so that&#39;s why it doesn&#39;t appear. A Shell is a program that you run your commands in. Typing&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#exit&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;exit&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;will end the current shell. The&amp;nbsp;&lt;/span&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-o vi&lt;/span&gt;&lt;/i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;option of the korn shell allows vi commands to work at the shell prompt after pressing escape. For example, pressing escape and then &#39;k&#39; will bring up the last command used in the shell.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;awk&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;awk&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- this would be a damn useful command if I knew how to use it properly. see alternative page&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/awkhelp.htm&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;awkhelp&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;
&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;man&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;man&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;command&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- look at the manual, e.g.
$ man ps&amp;nbsp;# will list the manual page for the command ps&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;&lt;/dl&gt;&lt;h3&gt;&lt;a href=&quot;&quot; name=&quot;GENERAL INFORMATION COMMANDS&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;GENERAL INFORMATION COMMANDS&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;&lt;dl&gt;&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;smon&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;smon&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- monitor&#39;s system usage - F5 shows processes which are hogging the machine. Not available on AIX 4.1 and above sadly.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;uptime&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;uptime&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- shows how long the system has been up and how hard it is being hammered. The load average fields show how many jobs on average are waiting. &amp;lt;1 or less is very good, around 5 is pretty bad (though not unusual), &amp;gt;10 the machine is being seriously hammered.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;who&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;who&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- list users who are currently logged on (useful with option &#39;am i&#39; - i.e. &#39;who am i&#39; or &#39;whoami&#39;)&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;w&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;w&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- list users and what they are doing, including idle time. The first line is the output from&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#uptime&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;uptime&lt;/span&gt;&lt;/a&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;id&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;id&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- similar to&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#who&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;whoami&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;except that it does a direct check to see who you are -&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#who&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;who&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;only checks /etc/utmp so any&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#su&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;su&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;commands will be ignored.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;ps&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ps&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- list processes currently running, by default on the current shell. Useful with options:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-t &amp;lt;tty&amp;gt; - show all processes running on a terminal&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-ef - show all processes&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-u &amp;lt;loginname&amp;gt; - show all processes owned by a user&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-flp &amp;lt;processid&amp;gt; - show as much information as you can about a process number&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-aux - show processes in order of usage of the processors. Useful to see what processes are hogging system resources.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;fuser&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;fuser&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;-u &amp;lt;filename&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- show who is using a file.(system hogging command). Useful when trying to work out who has locked a row or table in an informix database for example.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;lpstat&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;lpstat&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;-p &amp;lt;printer&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- show the current status of a printer and any jobs in the queue. lpstat without arguments prints all of them.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;enable&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;enable&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;printer&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- enable a printer queue. You must be root or a member of the printq group to run this command.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;disable&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;disable&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;printer&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- disable a printer queue. You must be root or a member of the printq group to run this command.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;enq&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;enq&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;various parameters&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- examine spool queue for printers.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;uname&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;uname&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;-a&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- will show you what machine you&#39;re currently on.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;ipcs&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ipcs&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- list semaphores and shared memory.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;ipcrm&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ipcrm&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;-s &amp;lt;semaphorenumber&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- remove semaphore or shared memory.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;crontab&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;crontab&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- use -l to list all regular scheduled jobs. To alter them, use option -e&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;at&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;at&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;now + ?? seconds/minutes/hours/days/years&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- perform a job at a specified time. (Useful for running something at a later date). at retains the current environment. e.g.
$ at now + 5 minutes
echo &quot;Phone Julie McNally&quot; &amp;gt; /dev/tty616
^D
job compjmd.389748732 will be run at ???
Will echo to tty616 the message &quot;Phone Julie McNally&quot; in 5 minutes. e.g.2
$ at 0331235930
echo &quot;April fools day!&quot; &amp;gt; /dev/console
^D
will echo &quot;April fools day!&quot; to the console at 11:59 and 30 seconds, on the 31st of march. Format for this is: [YYYY]MMDDhhmmss. at jobs are sometimes used in the place of crontab&#39;s because if the machine is off when the crontab is meant to take place, the job never happens. at jobs automatically start when the machine is switched on if the machine was down at the time. typing&amp;nbsp;at -l&amp;nbsp;will show you all the at jobs you have queued,&amp;nbsp;at -r &amp;lt;atjob&amp;gt;&amp;nbsp;will remove an at job (only the owner or root is allowed to do this).&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;date&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;date&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- show current date and time. This command may also be used to set the system clock (ONLY WHEN EVERYONE IS LOGGED OFF) with a root user id. A date change is never simple, even when adjusting things by an hour. The safest way to do it is to change the date then reboot the machine because otherwise the&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#crontab&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;crontab&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;daemon may start doing jobs at odd times. I believe there might be a &#39;go slow/fast&#39; option to set the clock, and the clock will then run &#39;slower/quicker&#39; until it catches up with the required time.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;last&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;last&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;username&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- shows a list of recent logins. It looks at /var/adm/wtmp so it only shows initial logins, and not whether those users have been&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#su&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;su&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&#39;d to.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;fileplace&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;fileplace&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;-pv &amp;lt;filename&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- show the physical (as in disk location) location of a file. Useful for tracing informix files, and perhaps for working out whether defragmentation copying is required.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;&lt;/dl&gt;&lt;h3&gt;&lt;a href=&quot;&quot; name=&quot;SYSTEM COMMANDS&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;SYSTEM COMMANDS&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;&lt;dl&gt;&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;kill&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;kill&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;-&amp;lt;Signal&amp;gt; &amp;lt;process&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- sends a signal (normally a kill) to a process.&amp;nbsp;kill -9&amp;nbsp;terminates the job no questions asked,&amp;nbsp;kill -15&amp;nbsp;tries to clear up as much as possible - e.g. remove semaphores and such-like. Other signals may be sent as well, see manual and /usr/include/sys/signal.h to see what signals you can send to a process.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;renice&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;renice&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;priority&amp;gt; &amp;lt;process&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- make a process not hog the system so much by setting its nice value.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;smit&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;smit&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- system admin program for AIX&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;df&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;df&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- list volume groups + usage. see also&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#lsvg&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;lsvg&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;. Usually used with the -k flag so the number of blocks is displayed in 1024-blocks.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;cu&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;cu&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;-l &amp;lt;device&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- log on to device such as a pad or a modem. See related files /etc/uucp/* and /etc/locks and /etc/services&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;stty sane&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;stty sane&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- Changes terminal settings back to normal. If a tetra module for example crashes your screen so that no keys function except ^C which doesn&#39;t even do very much then typing&amp;nbsp;^Jstty sane^J&amp;nbsp;should cure the problem. To fully cure the problem you also need to type&amp;nbsp;stty tab3&amp;nbsp;(and&amp;nbsp;stty -ixon&amp;nbsp;if you&#39;re feeling a little overzealous)&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;stty&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;stty&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- allows you to change terminal settings such as the interrupt key, quit key, etc. e.g.
$ stty intr ^A&amp;nbsp;# would change the interrupt key to being control-A
$ stty quit ^L&amp;nbsp;#would set the quit key (normally ^\) to control-L. other key changes are:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;erase (normally ^H)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;xon (normally ^Q)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;xoff (normally ^S)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;eof (normally ^D)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;To really annoy a systems administrator, change interrupt to &#39;t&#39; and quit to &#39;^D&#39; . hehehehehehe&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;lscfg&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;lscfg&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- show all connected devices&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;lsvg&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;lsvg&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- list volume groups (see related file diskhelp)&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;lspv&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;lspv&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- list physical disks (and see related file diskhelp)
lspv without arguments will produce a list of all the hard-disks used.&amp;nbsp;lspv &amp;lt;hard-disk-name&amp;gt;&amp;nbsp;will produce a list of information about the hard disk.&amp;nbsp;lspv -l &amp;lt;hard-disk-name&amp;gt;&amp;nbsp;will show any logical volumes which are mapped on to that drive.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;lsdev&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;lsdev&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- list devices. Options:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-C list Configured devices&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-P list Possible devices&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;produces different output when you are root.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;mkdev&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;mkdev&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- make devices. e.g. To make a tty:
# Script to add a tty. Options that need amending are:
# -l name of tty to be created - e.g &#39;-l tty600&#39; wil create
#  a tty called &#39;tty600&#39;
# -p RAN name
# -w Port number on RAN
# -a Attributes (e.g. to set up auto login, etc.)
mkdev -c tty -t &#39;tty&#39; -s &#39;rs232&#39; -l tty433 -p sa2 -w 2 -a term=&#39;wyse50&#39; -a forcedcd=&#39;enable&#39; -a login=&#39;enable&#39; -a speed=&#39;19200&#39;
e.g. To create a printer (raw device):
mkdev -c printer -t &#39;osp&#39; -s &#39;rs232&#39; -p &#39;sa3&#39; -w &#39;10&#39; -l label2 -a xon=&#39;yes&#39; -a dtr=&#39;no&#39; -a col=500
It is&amp;nbsp;&lt;/span&gt;&lt;strong&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;highly&lt;/span&gt;&lt;/strong&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;recommended that you make and change devices using&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#smit&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;smit&lt;/span&gt;&lt;/a&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;chdev&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;chdev&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- change devices. See&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#mkdev&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;mkdev&lt;/span&gt;&lt;/a&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;cc&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;cc&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- c compiler, use with&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-o &amp;lt;object&amp;gt; to specify a target instead of a.out&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-O optimise&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-w or -W all warning flags.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;shutdown&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;shutdown&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- shutdown the system so that it may be switched off. Rather obviously, this may only be run by root. Options:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-f shuts the system down immediately (rather than waiting for a minute)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-R reboot the system immediately after halt&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;oslevel&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;oslevel&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- show the current revision of the operating system.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;&lt;/dl&gt;&lt;h3&gt;&lt;a href=&quot;&quot; name=&quot;CONNECTIVITY&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;CONNECTIVITY&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;&lt;dl&gt;&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;exit&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;exit&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- end current shell process. If you log in, then type this command, it will return you to login. ^D (control-D) and logout (in some shells) does the same.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;rlogin&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;rlogin&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- login to a remote machine, e.g.
$ rlogin hollandrs&amp;nbsp;# log in to machine called hollandrs
Useful with -l option to specify username - e.g.
$ rlogin cityrs -l ismsdev&amp;nbsp;# log in to machine cityrs as user ismsdev For further info about trust network see .rhosts file and /etc/resolv.conf (I think).&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;telnet&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;telnet&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- very similar to rlogin except that it is more flexible (just type telnet with no arguments and then &#39;?&#39; to see the options). Useful because you can specify a telnet to a different port.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;ftp&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ftp&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- File Transfer Protocol - a quick and easy method for transferring files between machines. The .netrc file in your $HOME directory holds initial commands. type ftp without arguments and then &#39;?&#39; to see options)&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;rcp&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;rcp&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- Remote copy. Copies a file from one unix box to another, as long as they trust each other (see .rhosts file or /etc/resolv.conf I think). Options&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-f (to force the copy to occur)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-r (to recursively copy a directory)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-p (to attempt to preserve permissions when copying)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;su&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;su&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;- &amp;lt;loginname&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- switch user, option &#39;-&#39; means that the users .profile is run, without option you merely assume the id and permissions of the user, without (for example) changing PATH and DBPATH, e.g.
$ su - root&amp;nbsp;# become root
$ su root&amp;nbsp;# gain permissions of root but don&#39;t change the current environment variables
$ su - vlink&amp;nbsp;# switch to user vlink
If you are root, you may su to any other user without being prompted for a password. su without arguments is the same as &#39;su root&#39;. Note that the &#39;su&#39; option is not available on all UNIX machines as it can crash some of them.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;ping&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ping&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;hostname&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- check that &amp;lt;hostname&amp;gt; is alive and well (do not expect an immediate response from a machine that is linked over an ISDN line). Firewalls often block ping packets after the&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://www.elsewhere.org/jargon/html/entry/Ping-O&#39;-Death.html&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Ping of Death&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;so quite often you&#39;ll find you can&#39;t ping internet sites either. Options include:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-q ping quietly&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-i&amp;lt;no&amp;gt; wait no of seconds between each packet sending. The default is 1 second. If you are using ping to keep an ISDN line up then using something like&amp;nbsp;$ ping -i 5 -q hollandrs&amp;nbsp;is ideal.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-f Never use this! Sends as many packets as it possibly can as fast as possible, used for network debugging and is likely to slow networks horribly when used. Known as &#39;flood&#39; pinging.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;-c &amp;lt;no&amp;gt; send no of packets before giving up&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;To check that your machine&amp;nbsp;&lt;/span&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;can&lt;/span&gt;&lt;/i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;ping, try pinging 127.0.0.1 - this acts as a feedback loop, checking the network card&#39;s ability to ping.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;rsh&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;rsh&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;hostname&amp;gt; &amp;lt;commands&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- remote shell - e.g.
$ rsh altos more /tmp/chk&amp;nbsp;# will run the command more the file /tmp/chk on the machine called altos. Useful in pipes for example. rsh on its own will execute a login. Use option &#39;-l&#39; to specify logon name. You can also use rcmd and remsh on other flavours of unix.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;host&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;host&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;ip address&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- lookup the ip address in the /etc/hosts file and give its name&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;&lt;/dl&gt;&lt;h3&gt;&lt;a href=&quot;&quot; name=&quot;TAPES AND DISKS&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;TAPES AND DISKS&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;&lt;strong&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Please see&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/aixdisks.htm&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;this page&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;for more information on disks in AIX&lt;/span&gt;&lt;/strong&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;dd&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;dd&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;if=&amp;lt;filename or device&amp;gt; of=&amp;lt;filename or device&amp;gt; bs=&amp;lt;Block Size&amp;gt; conv=sync&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- direct (and I mean DIRECT) copy, normally to tape. Archaic syntax and very rarely used. flags:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;if - input filename or device&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;of - output filename&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;bs - block size&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;conv - ??&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;e.g. To write a file to tape use
$ dd if=/etc/hosts of=/dev/rmt0 bs=1024 conv=sync&amp;nbsp;# write hosts file to tape using dd&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;cpio&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;cpio&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;stands for copy in-out, and is extremely powerful if you can cope with the innumerable flags that you have to use(!)
$ cpio -iBcvumd &quot;etc/hosts&quot; &amp;lt;/dev/rmt0&amp;nbsp;# Grab /etc/hosts file from tape
$&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#find&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;find&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;/etc -print | cpio -oBcv &amp;gt;/dev/rmt0&amp;nbsp;# Write the contents of the /etc directory to tape
$&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#find&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;find&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;/etc -print | cpio -pdumv /usr2/etcbackup/&amp;nbsp;# copy directory /etc to /usr2/etcbackup and retain all permissions.
meaning of the flags:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;i - input&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;o - output&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;B - Block size of 5120 bytes&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;c - read/write header info&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;v - list file names&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;u - unconditional copy - overwrites existing file.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;m - keep modification dates&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;d - creates directories as needed.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;t - generate listing of what is on the tape.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;p - preserve permissions.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;tapeutil&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;tapeutil&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;-f &amp;lt;devicename&amp;gt; &amp;lt;commands&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- A program which came with the tape library to control it&#39;s working. Called without arguments gives a menu. Is useful for doing things like moving tapes from the slot to the drive. e.g.
$ tapeutil -f /dev/smc0 move -s 10 -d 23&amp;nbsp;# which moves the tape in slot 10 to the drive (obviously, this will depend on your own individual tape library, may I suggest the manual?).&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;doswrite&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;doswrite&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;-a &amp;lt;unix file&amp;gt; &amp;lt;dos file&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- copy unixfile to rs6000&#39;s floppy disk drive in DOS format. -a option expands certain characters, for certain ascii conversions.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;dosdir&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;dosdir&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;directory&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- show list of files on a dos floppy disk. Useful with option -l (long format). Like dos command &#39;dir&#39;&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;dosread&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;dosread&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;-a &amp;lt;DOS file&amp;gt; &amp;lt;unix file&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- copy dos file in floppy disk drive to unix - if UNIXFILE is omitted, it outputs to the screen.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;dosdel&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;dosdel&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;DOS file&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- delete dos file on floppy disk.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;dosformat&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;dosformat&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- format dos floppy disk (High Density)&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;tar&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;tar&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- Read/Write stuff to archive.
tar cvf /dev/rmt0 &amp;lt;filenames&amp;gt;&amp;nbsp;# will write files to tape
tar xvf /dev/rmt0&amp;nbsp;will read files from tape
tar tvf /dev/rmt0&amp;nbsp;will give a listing of what&#39;s on the tape. If you&#39;re using an archive file then replace /dev/rmt0 in the examples above with the name of the archive file.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;&lt;/dl&gt;&lt;h3&gt;&lt;a href=&quot;&quot; name=&quot;SCREEN COMMUNICATION&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;SCREEN COMMUNICATION&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;&lt;dl&gt;&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;echo&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;echo&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- a command mainly used in shell scripts. Examples:
$ echo &quot;Hello&quot;&amp;nbsp;# will print Hello on your screen
$ echo &quot;Hello&quot; &amp;gt; /dev/tty616&amp;nbsp;# will print Hello on someone elses screen (warning - can crash their screen!)
$ echo $DESTF10&amp;nbsp;# will print the value of the environment variable DESTF10
$ echo &quot;\033Fdemo demo&quot;&amp;nbsp;# will echo demo to the status bar at the top of a wyse terminal
See also file shellscripts&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;read&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;read&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- will read text from standard input and place it in the variable name specified. See file shellscripts&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;line&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;line&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- waits until the user presses return before carrying on (writes what is typed to standard output). If used in a crontab/at job this instruction is ignored. See file shellscripts&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;talk&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;talk&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;user&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- set up an interactive communication dialogue box between two users. Looks good but isn&#39;t really that useful.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;write&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;write&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;user&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- writes a message to someone elses screen. Try typing &#39;write root&#39; and then type a message, finishing with control-D.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;banner&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;banner&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;message&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- writes &amp;lt;message&amp;gt; in huge letters across your screen! (max: 10 chars per word)&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;wall&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;wall&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;message&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- send a message to all people on a system. Can only be executed by root (I think).&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;tput&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;tput&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;argument&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- tty type independent attribute setting (requires TERM variable and TERMCAP to be set). I only know these few bits:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;tput cnorm - turns the screen cursor on&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;tput civis - turns the screen cursor off&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;tput clear - clears the screen&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;tput smso - turns all new text to bold&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;tput rmso - turns all bold text off&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;tee&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;tee&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;(-a) &amp;lt;filename&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- command used in pipes to take a copy of the standard output. e.g.
$&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#ls&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ls&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;| tee /tmp/x&amp;nbsp;# would output&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#ls&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ls&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;normally and put a copy in /tmp/x. The option &#39;-a&#39; is used to append rather than replace files.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;&lt;/dl&gt;&lt;h3&gt;&lt;a href=&quot;&quot; name=&quot;SOURCE CODE CONTROL SYSTEM (SCCS)&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;SOURCE CODE CONTROL SYSTEM (SCCS)&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;SCCS Overview&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&lt;br /&gt;
The source code control system allows versions of a program to be stored in a special file, so that any version may be retrieved. There are a few commands involved (not all of them listed here). All source code files start with &#39;s.&#39;&lt;/span&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;get&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;get&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;-r&amp;lt;revision&amp;gt; &amp;lt;source code file&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- get a program out of source code to read only. Missing out the -r flag gets the most recent version. e.g.
$ get $SCUK/s.parser.c&amp;nbsp;# extracts file parser.c from source code file $SCUK/s.parser.c as read only. See&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#get%20-e&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;get -e&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;for editing.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;get -e&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;get -e&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;source code file&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- get a piece of code out for edit, so that the code may be modified and a new version created using &#39;delta&#39;. e.g.
$ get -e $SCUK/s.parser.c&amp;nbsp;# extracts file parser.c from source code file $SCUK/s.parser.c for editing. See&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#get&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;get&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;for read-only.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;delta&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;delta&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;source code file&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- you must be in the directory with the modified piece of code when you execute this command. This adds the latest version to the source code file. e.g.
$ delta $SCUK/s.parser.c&amp;nbsp;# writes file parser.c to the source code file $SCUK/s.parser.c . See&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#get%20-e&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;get -e&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;for information on how to extract the file from source code.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;prs&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;prs&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;source code file&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- show comments/details on source code file.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;admin&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;admin&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;-r &amp;lt;revision no&amp;gt; -i &amp;lt;program&amp;gt; &amp;lt;source code file&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- create a new source code file with progam. -r specifies the initial revision of the program and may be missed out (default is 1.1 I think). Must be spaced correctly! admin is also used for sccs administration, but it gets to fear and loathing time pretty fast. e.g.
admin -iparser.c $SCUK/s.parser.c&amp;nbsp;# creates a new source code file called $SCUK/s.parser.c from the file parser.c&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;unget&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;unget&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;source code file&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- cancels a&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#get%20-e&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;get -e&lt;/span&gt;&lt;/a&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;&lt;/dl&gt;&lt;h3&gt;&lt;a href=&quot;&quot; name=&quot;MISCELLANEOUS&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;MISCELLANEOUS&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;&lt;dl&gt;&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;strip&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;strip&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;binary compiled file&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- Removes all linking information within a compiled program - basically a way of cutting down the size of an executable.&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;yes&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;yes&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&amp;lt;word&amp;gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- yes outputs the word &#39;yes&#39; as fast as its&#39; little legs can go. Never called on it&#39;s own. Always used in pipes. For example:
$ yes |&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#rm&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;rm&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;*.o&amp;nbsp;# would confirm &#39;yes&#39; whenever&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#rm&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;rm&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;prompts for confirmation. You can also use it to output a different word e.g.
$ yes please&amp;nbsp;# would output &#39;please&#39; to the screen until you kill it (prob. immediately).&lt;/span&gt;&lt;/dd&gt;&lt;dd&gt;&lt;/dd&gt;&lt;/dl&gt;&lt;h3&gt;&lt;a href=&quot;&quot; name=&quot;SHELL SCRIPT COMMANDS&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;SHELL SCRIPT COMMANDS&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;Are all held on a&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/shellscripthelp.htm&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;separate page&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;now. Commands covered are&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;&quot; name=&quot;export&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;export&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;,&lt;/span&gt;&lt;a href=&quot;&quot; name=&quot;if&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;if&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;,&lt;/span&gt;&lt;a href=&quot;&quot; name=&quot;for&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;for&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;&quot; name=&quot;shift&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;shift&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;&quot; name=&quot;test&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;test&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;&quot; name=&quot;while&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;while&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;&quot; name=&quot;case&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;case&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;, and a few others.&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;dl&gt;&lt;dt&gt;&lt;b&gt;&lt;a href=&quot;&quot; name=&quot;sed&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;sed&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&#39;&amp;lt;pattern&amp;gt;&#39;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;- used by myself for quick substitutions when&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#tr&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;tr&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;doesn&#39;t seem to be doing its job properly. The syntax of the pattern is similar to&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#vi&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;vi&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://bigcalm.tripod.com/aix/handycommands.htm#ex&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;ex&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cccccc;&quot;&gt;&amp;nbsp;command line. E.g. To substitute all spaces with colon symbols the command is
sed &#39;s/ /:/g&#39; file1&amp;nbsp;# substitute all occurrences of spaces with colons in file1 and output to stdout.&lt;/span&gt;&lt;/dd&gt;&lt;/dl&gt;</content><link rel='replies' type='application/atom+xml' href='http://essentialaix.blogspot.com/feeds/5264002425269205036/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://essentialaix.blogspot.com/2010/10/basic-file-handling.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4312797801908181440/posts/default/5264002425269205036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4312797801908181440/posts/default/5264002425269205036'/><link rel='alternate' type='text/html' href='http://essentialaix.blogspot.com/2010/10/basic-file-handling.html' title='BASIC FILE HANDLING'/><author><name>TopBlogger</name><uri>http://www.blogger.com/profile/05320680504592548554</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4312797801908181440.post-7297197652489244819</id><published>2010-10-25T01:46:00.001-07:00</published><updated>2010-10-25T01:49:36.425-07:00</updated><title type='text'>More Essential Commands</title><content type='html'>&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;You can obtain very similar information by running the&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;prtconf&lt;/code&gt;&amp;nbsp;command.&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I find out the chip type, system name, node name, model number, and so forth?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;The&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;uname&lt;/code&gt;&amp;nbsp;command provides details about your system.&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;3&quot; class=&quot;ibm-data-table&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: initial; border-top-style: initial; border-top-width: 0px; width: 708px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;uname -p&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;Displays the chip type of the system. For example, PowerPC.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;uname -r&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;Displays the release number of the operating system.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;uname -s&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;Displays the system name. For example, AIX.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;uname -n&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;Displays the name of the node.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;uname -a&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;Displays the system name, nodename, version, machine ID.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;uname -M&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;Displays the system model name. For example, IBM, 9114-275.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;uname -v&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;Displays the operating system version.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;uname -m&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;Displays the machine ID number of the hardware running the system.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;uname -u&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;Displays the system ID number.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=4312797801908181440&amp;amp;postID=7297197652489244819&quot; name=&quot;N10192&quot;&gt;&lt;span class=&quot;smalltitle&quot; style=&quot;font-size: 1.2em; font-weight: bold;&quot;&gt;AIX&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;What version, release, and maintenance level of AIX is running on my system?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;Type one of the following:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;oslevel -r&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;lslpp -h bos.rte&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How can I determine which fileset updates are missing from a particular AIX level?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;To determine which fileset updates are missing from 5300-04, for example, run the following command:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;oslevel -rl 5300-04&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;What SP (Service Pack) is installed on my system?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;To see which SP is currently installed on the system, run the&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;oslevel -s&amp;nbsp;&lt;/code&gt;command. Sample output for an AIX 5L Version 5.3 system, with TL4, and SP2 installed would be:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;oslevel â€“s
5300-04-02
   &lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;Is a CSP (Concluding Service Pack) installed on my system?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;To see if a CSP is currently installed on the system, run the&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;oslevel -s&lt;/code&gt;&amp;nbsp;command. Sample output for an AIX 5L Version 5.3 system, with TL3, and CSP installed would be:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;oslevel â€“s
5300-03-CSP
   &lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I create a file system?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;The following command will create, within volume group testvg, a jfs file system of 10MB with mounting point /fs1:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;crfs -v jfs -g testvg -a size=10M -m /fs1 
   &lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;The following command will create, within volume group testvg, a jfs2 file system of 10MB with mounting point /fs2 and having read only permissions:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;crfs -v jfs2 -g testvg -a size=10M -p ro -m /fs2 
   &lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I change the size of a file system?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;To increase the&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;/usr&lt;/code&gt;&amp;nbsp;file system size by 1000000 512-byte blocks, type:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;chfs -a size=+1000000 /usr&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;Note:&lt;/b&gt;&lt;br /&gt;
In AIX 5.3, the size of a JFS2 file system can be shrunk as well.&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I mount a CD?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;Type the following:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;mount -V cdrfs -o ro /dev/cd0  /cdrom&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I mount a file system?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;The following command will mount file system /dev/fslv02 on the /test directory:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;mount /dev/fslv02 /test 
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I mount all default file systems (all standard file systems in the /etc/filesystems file marked by the mount=true attribute)?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;The following command will mount all such file systems:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;mount {-a|all}
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I unmount a file system?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;Type the following command to unmount /test file system:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;umount /test
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I display mounted file systems?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;Type the following command to display information about all currently mounted file systems:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;mount
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I remove a file system?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;Type the following command to remove the /test file system:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;rmfs /test
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How can I defragment a file system?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;The&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;defragfs&lt;/code&gt;&amp;nbsp;command can be used to improve or report the status of contiguous space within a file system. For example, to defragment the file system /home, use the following command:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;defragfs /home
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;Which fileset contains a particular binary?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;To show&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;bos.acct&lt;/code&gt;&amp;nbsp;contains&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;/usr/bin/vmstat&lt;/code&gt;, type:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;lslpp -w /usr/bin/vmstat&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;Or to show&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;bos.perf.tools&lt;/code&gt;&amp;nbsp;contains&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;/usr/bin/svmon&lt;/code&gt;, type:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;which_fileset svmon&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I display information about installed filesets on my system?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;Type the following:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;lslpp -l    
   &lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I determine if all filesets of maintenance levels are installed on my system?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;Type the following:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;instfix -i | grep ML&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I determine if a fix is installed on my system?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;To determine if IY24043 is installed, type:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;instfix -ik IY24043&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I install an individual fix by APAR?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;To install APAR IY73748 from&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;/dev/cd0&lt;/code&gt;, for example, enter the command:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;instfix -k IY73748 -d /dev/cd0   
   &lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I verify if filesets have required prerequisites and are completely installed?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;To show which filesets need to be installed or corrected, type:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;lppchk -v&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I get a dump of the header of the loader section and the symbol entries in symbolic representation?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;Type the following:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;dump -Htv&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I determine the amount of paging space allocated and in use?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;Type the following:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;lsps -a&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I increase a paging space?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;You can use the&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;chps -s&lt;/code&gt;&amp;nbsp;command to dynamically increase the size of a paging space. For example, if you want to increase the size of hd6 with 3 logical partitions, you issue the following command:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;chps -s 3 hd6   
   &lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I reduce a paging space?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;You can use the chps&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;-d&lt;/code&gt;&amp;nbsp;command to dynamically reduce the size of a paging space. For example, if you want to decrease the size of hd6 with four logical partitions, you issue the following command:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;chps -d 4 hd6   
   &lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How would I know if my system is capable of using Simultaneous Multi-threading (SMT)?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;Your system is capable of SMT if it&#39;s a POWER5-based system running AIX 5L Version 5.3.&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How would I know if SMT is enabled for my system?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;If you run the&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;smtctl&lt;/code&gt;&amp;nbsp;command without any options, it tells you if it&#39;s enabled or not.&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;Is SMT supported for the 32-bit kernel?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;Yes, SMT is supported for both 32-bit and 64-bit kernel.&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I enable or disable SMT?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;You can enable or disable SMT by running the&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;smtctl&lt;/code&gt;&amp;nbsp;command. The following is the syntax:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;smtctl [ -m off | on [ -w boot | now]]&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;The following options are available:&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;3&quot; class=&quot;ibm-data-table&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: initial; border-top-style: initial; border-top-width: 0px; width: 708px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;-m off&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;Sets SMT mode to disabled.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;-m on&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;Sets SMT mode to enabled.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;-w boot&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;Makes the SMT mode change effective on next and subsequent reboots if you run the&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;bosboot&lt;/code&gt;&amp;nbsp;command before the next system reboot.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;-w now&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;Makes the SMT mode change immediately but will not persist across reboot.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;If neither the&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;-w&lt;/code&gt;&amp;nbsp;boot or the&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;-w&lt;/code&gt;&amp;nbsp;now options are specified, then the mode change is made immediately. It persists across subsequent reboots if you run the&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;bosboot&lt;/code&gt;&amp;nbsp;command before the next system reboot.&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I get partition-specific information and statistics?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;The&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;lparstat&lt;/code&gt;&amp;nbsp;command provides a report of partition information and utilization statistics. This command also provides a display of Hypervisor information.&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=4312797801908181440&amp;amp;postID=7297197652489244819&quot; name=&quot;N1030C&quot;&gt;&lt;span class=&quot;smalltitle&quot; style=&quot;font-size: 1.2em; font-weight: bold;&quot;&gt;Volume groups and logical volumes&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I know if my volume group is normal, big, or scalable?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;Run the&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;lsvg&lt;/code&gt;&amp;nbsp;command on the volume group and look at the value for MAX PVs. The value is 32 for normal, 128 for big, and 1024 for scalable volume group.&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How to create a volume group?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;Use the following command, where&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;s&lt;/code&gt;&lt;i&gt;partition_size&lt;/i&gt;&amp;nbsp;sets the number of megabytes (MB) in each physical partition where the partition_size is expressed in units of MB from 1 through 1024. (It&#39;s 1 through 131072 for AIX 5.3.) The partition_size variable must be equal to a power of 2 (for example: 1, 2, 4, 8). The default value for standard and big volume groups is the lowest value to remain within the limitation of 1016 physical partitions per physical volume. The default value for scalable volume groups is the lowest value to accommodate 2040 physical partitions per physical volume.&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;mkvg -y &lt;i&gt;name_of_volume_group&lt;/i&gt; -s&amp;nbsp;&lt;i&gt;partition_size&lt;/i&gt;&amp;nbsp;&lt;i&gt;list_of_hard_disks&lt;/i&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How can I change the characteristics of a volume group?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;You use the following command to change the characteristics of a volume group:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;chvg
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I create a logical volume?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;Type the following:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;mklv -y &lt;i&gt;name_of_logical_volume&lt;/i&gt;&amp;nbsp;&lt;i&gt;name_of_volume_group&lt;/i&gt;&amp;nbsp;&lt;i&gt;number_of_partition&lt;/i&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I increase the size of a logical volume?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;To increase the size of the logical volume represented by the lv05 directory by three logical partitions, for example, type:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;extendlv lv05 3
   &lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I display all logical volumes that are part of a volume group (for example, rootvg)?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;You can display all logical volumes that are part of rootvg by typing the following command:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;lsvg -l rootvg
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I list information about logical volumes?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;Run the following command to display information about the logical volume lv1:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;lslv lv1
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I remove a logical volume?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;You can remove the logical volume lv7 by running the following command:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;rmlv lv7
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;The&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;rmlv&lt;/code&gt;&amp;nbsp;command removes only the logical volume, but does not remove other entities, such as file systems or paging spaces that were using the logical volume.&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I mirror a logical volume?&lt;/b&gt;&lt;/div&gt;&lt;ol style=&quot;font-size: 0.76em; margin-bottom: 0px; margin-top: 0px; padding-bottom: 5px; padding-right: 5px; padding-top: 0px;&quot;&gt;&lt;li style=&quot;font-family: arial, sans-serif; margin-bottom: 0px; margin-top: 0px; padding-bottom: 3px; padding-right: 5px; padding-top: 5px;&quot;&gt;mklvcopy&amp;nbsp;&lt;i&gt;LogicalVolumeName Numberofcopies&lt;/i&gt;&lt;/li&gt;
&lt;li style=&quot;font-family: arial, sans-serif; margin-bottom: 0px; margin-top: 0px; padding-bottom: 3px; padding-right: 5px; padding-top: 5px;&quot;&gt;syncvg&amp;nbsp;&lt;i&gt;VolumeGroupName&lt;/i&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I remove a copy of a logical volume?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;You can use the&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;rmlvcopy&lt;/code&gt;&amp;nbsp;command to remove copies of logical partitions of a logical volume. To reduce the number of copies of each logical partition belonging to logical volume testlv, enter:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;rmlvcopy testlv 2
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;Each logical partition in the logical volume now has at most two physical partitions.&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;Queries about volume groups&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;To show volume groups in the system, type:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;lsvg&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;To show all the characteristics of&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;rootvg&lt;/code&gt;, type:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;lsvg rootvg&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;To show disks used by&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;rootvg&lt;/code&gt;, type:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;lsvg -p rootvg&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How to add a disk to a volume group?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;Type the following:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;extendvg   &lt;i&gt;VolumeGroupName&lt;/i&gt;   hdisk0 hdisk1 ... hdiskn 
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I find out what the maximum supported logical track group (LTG) size of my hard disk?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;You can use the&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;&amp;nbsp;lquerypv&lt;/code&gt;&amp;nbsp;command with the&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;-M&lt;/code&gt;&amp;nbsp;flag. The output gives the LTG size in KB. For instance, the LTG size for hdisk0 in the following example is 256 KB.&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;/usr/sbin/lquerypv -M hdisk0
256
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;You can also run the&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;lspv&lt;/code&gt;&amp;nbsp;command on the hard disk and look at the value for MAX REQUEST.&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;What does&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;syncvg&lt;/code&gt;&amp;nbsp;command do?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;The&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;syncvg&amp;nbsp;&lt;/code&gt;command is used to synchronize stale physical partitions. It accepts names of logical volumes, physical volumes, or volume groups as parameters.&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;For example, to synchronize the physical partitions located on physical volumes hdisk6 and hdisk7, use:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;syncvg -p hdisk4 hdisk5   
   &lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;To synchronize all physical partitions from volume group testvg, use:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;syncvg -v testvg   
   &lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I replace a disk?&lt;/b&gt;&lt;/div&gt;&lt;ol style=&quot;font-size: 0.76em; margin-bottom: 0px; margin-top: 0px; padding-bottom: 5px; padding-right: 5px; padding-top: 0px;&quot;&gt;&lt;li style=&quot;font-family: arial, sans-serif; margin-bottom: 0px; margin-top: 0px; padding-bottom: 3px; padding-right: 5px; padding-top: 5px;&quot;&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;extendvg&lt;/code&gt;&amp;nbsp;&lt;i&gt;VolumeGroupName&lt;/i&gt;&amp;nbsp;&lt;i&gt;hdisk_new&lt;/i&gt;&lt;/li&gt;
&lt;li style=&quot;font-family: arial, sans-serif; margin-bottom: 0px; margin-top: 0px; padding-bottom: 3px; padding-right: 5px; padding-top: 5px;&quot;&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;migratepv&lt;/code&gt;&amp;nbsp;&lt;i&gt;hdisk_bad&amp;nbsp;hdisk_new&lt;/i&gt;&lt;/li&gt;
&lt;li style=&quot;font-family: arial, sans-serif; margin-bottom: 0px; margin-top: 0px; padding-bottom: 3px; padding-right: 5px; padding-top: 5px;&quot;&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;reducevg -d&lt;/code&gt;&amp;nbsp;&lt;i&gt;VolumeGroupName&lt;/i&gt;&amp;nbsp;&lt;i&gt;hdisk_bad&lt;/i&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How can I clone (make a copy of ) the rootvg?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;You can run the&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;alt_disk_copy&lt;/code&gt;&amp;nbsp;command to copy the current rootvg to an alternate disk. The following example shows how to clone the rootvg to hdisk1.&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;alt_disk_copy -d  hdisk1
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=4312797801908181440&amp;amp;postID=7297197652489244819&quot; name=&quot;N1041C&quot;&gt;&lt;span class=&quot;smalltitle&quot; style=&quot;font-size: 1.2em; font-weight: bold;&quot;&gt;Network&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How can I display or set values for network parameters?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;The&amp;nbsp;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;no&lt;/code&gt;&amp;nbsp;command sets or displays current or next boot values for network tuning parameters.&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I get the IP address of my machine?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;Type one of the following:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;ifconfig -a

host Fully_Qualified_Host_Name
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;For example, type host cyclop.austin.ibm.com.&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I identify the network interfaces on my server?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;Either of the following two commands will display the network interfaces:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;lsdev -Cc if
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;ifconfig -a
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;To get information about one specific network interface, for example, tr0, run the command:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;ifconfig tr0
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I activate a network interface?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;To activate the network interface tr0, run the command:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;ifconfig tr0 up
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;How do I deactivate a network interface?&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;For example, to deactivate the network interface tr0, run the command:&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;ifconfig tr0 down
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;div class=&quot;ibm-alternate-rule&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: url(http://www.ibm.com/i/solid.gif); background-origin: initial; background-position: initial initial; background-repeat: repeat no-repeat; clear: both; height: 1px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;ibm-ind-link ibm-back-to-top&quot; style=&quot;clear: both; font-family: arial, sans-serif; font-size: 0.76em; height: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: right;&quot;&gt;&lt;a class=&quot;ibm-anchor-up-link&quot; href=&quot;http://www.ibm.com/developerworks/aix/library/au-dutta_cmds.html#ibm-pcon&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.ibm.com/i/v16/icons/u_bold.gif); background-origin: initial; background-position: 0px -1px; background-repeat: no-repeat no-repeat; color: #4c6e94; display: inline; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 18px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot;&gt;Back to top&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=4312797801908181440&amp;amp;postID=7297197652489244819&quot; name=&quot;h3&quot;&gt;&lt;span class=&quot;atitle&quot; style=&quot;font-size: 1.5em; font-weight: bold;&quot;&gt;Conclusion&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;Admittedly, a list such as this can be helpful in quickly answering some of your own questions. However, it does not cover everything that you might need. You can extend the usefulness of such a list by adding other commands that answer additional questions not addressed here.&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=4312797801908181440&amp;amp;postID=7297197652489244819&quot; name=&quot;resources&quot;&gt;&lt;span class=&quot;atitle&quot; style=&quot;font-size: 1.5em; font-weight: bold;&quot;&gt;Resources&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;Learn&lt;/b&gt;&lt;/div&gt;&lt;ul style=&quot;font-size: 0.76em; margin-bottom: 0px; margin-top: 0px; padding-bottom: 5px; padding-right: 5px; padding-top: 0px;&quot;&gt;&lt;li style=&quot;font-family: arial, sans-serif; margin-bottom: 0px; margin-top: 0px; padding-bottom: 3px; padding-right: 5px; padding-top: 0px;&quot;&gt;&lt;a href=&quot;http://publib16.boulder.ibm.com/pseries/en_US/infocenter/base/&quot; style=&quot;color: #4c6e94;&quot;&gt;IBM eServer™ pSeries® and AIX Information Center&lt;/a&gt;: This site provides the latest documentation on AIX.&lt;br /&gt;
&lt;/li&gt;
&lt;li style=&quot;font-family: arial, sans-serif; margin-bottom: 0px; margin-top: 0px; padding-bottom: 3px; padding-right: 5px; padding-top: 0px;&quot;&gt;&lt;a href=&quot;http://www.ibm.com/developerworks/aix/&quot; style=&quot;color: #4c6e94;&quot;&gt;The AIX and UNIX developerWorks zone&lt;/a&gt;&amp;nbsp;provides a wealth of information relating to all aspects of AIX systems administration and expanding your UNIX skills.&lt;br /&gt;
&lt;/li&gt;
&lt;li style=&quot;font-family: arial, sans-serif; margin-bottom: 0px; margin-top: 0px; padding-bottom: 3px; padding-right: 5px; padding-top: 0px;&quot;&gt;&lt;a href=&quot;http://www.ibm.com/developerworks/offers/techbriefings/?S_TACT=105AGY06&amp;amp;S_CMP=art&quot; style=&quot;color: #4c6e94;&quot;&gt;developerWorks technical events and webcasts&lt;/a&gt;: Stay current with developerWorks technical events and webcasts.&lt;br /&gt;
&lt;/li&gt;
&lt;li style=&quot;font-family: arial, sans-serif; margin-bottom: 0px; margin-top: 0px; padding-bottom: 3px; padding-right: 5px; padding-top: 0px;&quot;&gt;&lt;a href=&quot;http://www-941.ibm.com/collaboration/wiki/display/WikiPtype/Home&quot; style=&quot;color: #4c6e94;&quot;&gt;AIX 5L Wiki&lt;/a&gt;: Visit this collaborative environment for technical information related to AIX.&lt;br /&gt;
&lt;/li&gt;
&lt;li style=&quot;font-family: arial, sans-serif; margin-bottom: 0px; margin-top: 0px; padding-bottom: 3px; padding-right: 5px; padding-top: 0px;&quot;&gt;&lt;a href=&quot;http://www.ibm.com/developerworks/podcast/&quot; style=&quot;color: #4c6e94;&quot;&gt;Podcasts&lt;/a&gt;: Tune in and catch up with IBM technical experts.&lt;br /&gt;
&lt;/li&gt;
&lt;li style=&quot;font-family: arial, sans-serif; margin-bottom: 0px; margin-top: 0px; padding-bottom: 3px; padding-right: 5px; padding-top: 0px;&quot;&gt;Browse the&amp;nbsp;&lt;a href=&quot;http://www.ibm.com/developerworks/apps/SendTo?bookstore=safari&quot; style=&quot;color: #4c6e94;&quot;&gt;technology bookstore&lt;/a&gt;&amp;nbsp;for books on these and other technical topics.&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://essentialaix.blogspot.com/feeds/7297197652489244819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://essentialaix.blogspot.com/2010/10/more-essential-commands.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4312797801908181440/posts/default/7297197652489244819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4312797801908181440/posts/default/7297197652489244819'/><link rel='alternate' type='text/html' href='http://essentialaix.blogspot.com/2010/10/more-essential-commands.html' title='More Essential Commands'/><author><name>TopBlogger</name><uri>http://www.blogger.com/profile/05320680504592548554</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4312797801908181440.post-138360000743431770</id><published>2010-10-25T01:45:00.001-07:00</published><updated>2010-10-25T01:47:42.203-07:00</updated><title type='text'>Essential AIX Commands</title><content type='html'>&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=4312797801908181440&amp;amp;postID=138360000743431770&quot; name=&quot;h2&quot;&gt;&lt;span class=&quot;atitle&quot; style=&quot;font-size: 1.5em; font-weight: bold;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;Commands&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=4312797801908181440&amp;amp;postID=138360000743431770&quot; name=&quot;N1006B&quot;&gt;&lt;span class=&quot;smalltitle&quot; style=&quot;font-size: 1.2em; font-weight: bold;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;Kernel&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;How would I know if I am running a 32-bit kernel or 64-bit kernel?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;To display if the kernel is 32-bit enabled or 64-bit enabled, type:&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;bootinfo -K&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;How do I know if I am running a uniprocessor kernel or a multiprocessor kernel?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;/unix&lt;/span&gt;&lt;/code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&amp;nbsp;is a symbolic link to the booted kernel. To find out what kernel mode is running, enter&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;ls -l /unix&lt;/span&gt;&lt;/code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&amp;nbsp;and see what file&lt;/span&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;/unix&lt;/span&gt;&lt;/code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&amp;nbsp;it links to. The following are the three possible outputs from the&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;ls -l /unix&lt;/span&gt;&lt;/code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&amp;nbsp;command and their corresponding kernels:&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;/unix -&amp;gt; /usr/lib/boot/unix_up   # 32 bit uniprocessor kernel 
/unix -&amp;gt; /usr/lib/boot/unix_mp   # 32 bit multiprocessor kernel
/unix -&amp;gt; /usr/lib/boot/unix_64   # 64 bit multiprocessor kernel       
&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;Note:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;AIX 5L Version 5.3 does not support a uniprocessor kernel.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;How can I change from one kernel mode to another?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;During the installation process, one of the kernels, appropriate for the AIX version and the hardware in operation, is enabled by default. Let us use the method from the previous question and assume the 32-bit kernel is enabled. Let us also assume that you want to boot it up in the 64-bit kernel mode. This can be done by executing the following commands in sequence:&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;ln -sf /usr/lib/boot/unix_64    /unix
ln -sf /usr/lib/boot/unix_64    /usr/lib/boot/unix

bosboot -ad  /dev/hdiskxx
shutdown -r
&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;The /dev/hdiskxx directory is where the boot logical volume /dev/hd5 is located. To find out what xx is in hdiskxx, run the following command:&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;lslv -m hd5
 &lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;Note:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;In AIX 5.2, the 32-bit kernel is installed by default. In AIX 5.3, the 64-bit kernel is installed on 64-bit hardware and the 32-bit kernel is installed on 32-bit hardware by default.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=4312797801908181440&amp;amp;postID=138360000743431770&quot; name=&quot;N100AC&quot;&gt;&lt;span class=&quot;smalltitle&quot; style=&quot;font-size: 1.2em; font-weight: bold;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;Hardware&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;How would I know if my machine is capable of running AIX 5L Version 5.3?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;AIX 5L Version 5.3 runs on all currently supported CHRP (Common Hardware Reference Platform)-based POWER hardware.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;How would I know if my machine is CHRP-based?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;Run the&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;prtconf&lt;/span&gt;&lt;/code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&amp;nbsp;command. If it&#39;s a CHRP machine, the string&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;chrp&lt;/span&gt;&lt;/code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&amp;nbsp;appears on the Model Architecture line.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;How would I know if my System p machine (hardware) is 32-bit or 64-bit?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;To display if the hardware is 32-bit or 64-bit, type:&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;bootinfo -y&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;How much real memory does my machine have?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;To display real memory in kilobytes (KB), type one of the following:&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;bootinfo -r    &lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;lsattr -El sys0 -a realmem &lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;Can my machine run the 64-bit kernel?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;64-bit hardware is required to run the 64-bit kernel.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;What are the values of attributes for devices in my system?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;To list the current values of the attributes for the tape device, rmt0, type:&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;lsattr -l rmt0 -E&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;To list the default values of the attributes for the tape device, rmt0, type:&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;lsattr -l rmt0 -D&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;To list the possible values of the login attribute for the TTY device, tty0, type:&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;lsattr -l tty0 -a login -R&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;To display system level attributes, type:&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;lsattr -E -l sys0&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;How many processors does my system have?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;To display the number of processors on your system, type:&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;lscfg | grep proc&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;How many hard disks does my system have and which ones are in use?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;To display the number of hard disks on your system, type:&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;lspv&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;How do I list information about a specific physical volume?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;To find details about hdisk1, for example, run the following command:&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;lspv hdisk1  
   &lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;b style=&quot;font-size: 1em; font-weight: bold;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;How do I get a detailed configuration of my system?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;Type the following:&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;lscfg&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;The following options provide specific information:&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;3&quot; class=&quot;ibm-data-table&quot; style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: initial; border-top-style: initial; border-top-width: 0px; width: 708px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;-p&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;Displays platform-specific device information. The flag is applicable to AIX 4.2.1 or later.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;&lt;code style=&quot;font-family: monospace; font-size: small !important;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;-v&lt;/span&gt;&lt;/code&gt;&lt;/td&gt;&lt;td style=&quot;border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.7em; padding-bottom: 8px; padding-left: 5px; padding-right: 5px; padding-top: 8px; vertical-align: top;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;Displays the VPD (Vital Product Database) found in the customized VPD object class.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div style=&quot;font-family: arial, sans-serif; font-size: 0.76em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.7em; padding-left: 5px; padding-right: 5px; padding-top: 0.3em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;For example, to display details about the tape drive, rmt0, type:&lt;/span&gt;&lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;code-outline&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; font-family: arial, sans-serif; font-size: 0.75em; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; padding-top: 2px;&quot;&gt;&lt;pre class=&quot;displaycode&quot; style=&quot;background-attachment: initial !important; background-clip: initial !important; background-color: rgb(247, 247, 247) !important; background-image: initial !important; background-origin: initial !important; background-position: initial initial !important; background-repeat: initial initial !important; color: black; font-family: &#39;Andale Mono&#39;, &#39;Lucida Console&#39;, Monaco, Liberation, fixed, monospace; font-size: 11px; margin-bottom: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; width: 694px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;lscfg -vl rmt0&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;</content><link rel='replies' type='application/atom+xml' href='http://essentialaix.blogspot.com/feeds/138360000743431770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://essentialaix.blogspot.com/2010/10/commands-kernel-how-would-i-know-if-i.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4312797801908181440/posts/default/138360000743431770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4312797801908181440/posts/default/138360000743431770'/><link rel='alternate' type='text/html' href='http://essentialaix.blogspot.com/2010/10/commands-kernel-how-would-i-know-if-i.html' title='Essential AIX Commands'/><author><name>TopBlogger</name><uri>http://www.blogger.com/profile/05320680504592548554</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>