<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>AIX Commands, Tools, Scripts and Explanations &#187; Miscellaneous</title>
	<atom:link href="http://icancompute.ca/aix/category/config/misc/feed/" rel="self" type="application/rss+xml" />
	<link>http://icancompute.ca/aix</link>
	<description>Everything I have learnt and used while being an AIX systems adminstrator.  Custom scripts, commands and projects used to maintain a virtualized AIX server environment</description>
	<lastBuildDate>Tue, 05 Jun 2012 19:25:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Asterisk After File Name &#124; UNIX</title>
		<link>http://icancompute.ca/aix/config/misc/asterisk-file-unix/</link>
		<comments>http://icancompute.ca/aix/config/misc/asterisk-file-unix/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 15:48:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[*]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[file name]]></category>
		<category><![CDATA[star]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=331</guid>
		<description><![CDATA[If you ever notice an asterisk (*) or a star after the file name while performing an &#8220;ls&#8221; on a directory, these files are typically executable by the user.  This is a quick and easy way to identify scripts that are ready to run.]]></description>
				<content:encoded><![CDATA[<p>If you ever notice an asterisk (*) or a star after the file name while performing an &#8220;ls&#8221; on a directory, these files are typically executable by the user.  This is a quick and easy way to identify scripts that are ready to run.</p>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/config/misc/asterisk-file-unix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transferring Files &#124; Windows and AIX</title>
		<link>http://icancompute.ca/aix/config/storage/transferring-files-windows-aix/</link>
		<comments>http://icancompute.ca/aix/config/storage/transferring-files-windows-aix/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 17:05:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General Maintenance]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[file transfer]]></category>
		<category><![CDATA[scp]]></category>
		<category><![CDATA[win scp]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=267</guid>
		<description><![CDATA[If you&#8217;re one of the unlucky ones and find yourself unable to run a Linux workstation at work, and you administer AIX or any UNIX/Linux boxes, I&#8217;m sure you have had issues transferring files back and forth. You can always use ftp and the plethora of programs that handle that connection, but myself I prefer Win SCP. [...]]]></description>
				<content:encoded><![CDATA[<p>If you&#8217;re one of the unlucky ones and find yourself unable to run a Linux workstation at work, and you administer AIX or any UNIX/Linux boxes, I&#8217;m sure you have had issues transferring files back and forth.<br />
You can always use ftp and the plethora of programs that handle that connection, but myself I prefer Win SCP.</p>
<p>&nbsp;</p>
<p><a title="Win SCP Download" href="http://winscp.net/eng/download.php" target="_blank">Win SCP </a>is by far the best file transfer program I have found to bounce files back and forth from my workstation to my lpars.</p>
<p>Simply open the program, enter in your login information, and you can browse between the local and remote folders.  Browse to the source and destination, click and drag&#8230; everything is easy peasy and super quick</p>
<p>&nbsp;</p>
<p>If you have any input on the matter I&#8217;d be happy to hear it!</p>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/config/storage/transferring-files-windows-aix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Favourite IBM Redbooks: Free resources</title>
		<link>http://icancompute.ca/aix/config/misc/favourite-redbooks/</link>
		<comments>http://icancompute.ca/aix/config/misc/favourite-redbooks/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 18:11:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[redbook]]></category>
		<category><![CDATA[resource]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=218</guid>
		<description><![CDATA[Here is a list of IBM Redbooks that I have found useful for my day to day operations.  Enjoy Hardware Management Console V7 Handbook AIX 5L Practical Performance Tools and Tuning Guide IBM System p Advanced POWER Virtualization (PowerVM) Best Practices NIM from A to Z in AIX 5L IBM PowerVM Live Partition Mobility Hope [...]]]></description>
				<content:encoded><![CDATA[<p>Here is a list of IBM Redbooks that I have found useful for my day to day operations.  Enjoy</p>
<h3><a title="HMC" href="http://www.redbooks.ibm.com/abstracts/sg247491.html?Open" target="_blank">Hardware Management Console V7 Handbook</a></h3>
<h3><a title="Performance" href="http://www.redbooks.ibm.com/abstracts/sg246478.html?Open" target="_blank">AIX 5L Practical Performance Tools and Tuning Guide</a></h3>
<h3><a title="Virtualization" href="http://www.redbooks.ibm.com/abstracts/redp4194.html?Open" target="_blank">IBM System p Advanced POWER Virtualization (PowerVM) Best Practices</a></h3>
<h3><a title="NIM" href="http://www.redbooks.ibm.com/abstracts/sg247296.html?Open" target="_blank">NIM from A to Z in AIX 5L</a></h3>
<h3><a title="Partition Mobility" href="http://www.redbooks.ibm.com/abstracts/sg247460.html?Open" target="_blank">IBM PowerVM Live Partition Mobility</a></h3>
<p>Hope they help you like they have helped me</p>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/config/misc/favourite-redbooks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What is AIX: Advanced Interactive eXecutive</title>
		<link>http://icancompute.ca/aix/config/misc/aix/</link>
		<comments>http://icancompute.ca/aix/config/misc/aix/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 16:06:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[description]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[what is aix]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=187</guid>
		<description><![CDATA[AIX is the IBM operating system based on UNIX.  AIX is  specifically designed to work with IBM systems.  Advanced Interactive eXecutive supports multiple hardware platforms such as RS/6000, IBM Power, Power-PC, IBM System i, System/370 mainframes and PS/2 personal computers. AIX, along with Mac OS X, Solaris and HP-UX is certified to The Open Group&#8217;s [...]]]></description>
				<content:encoded><![CDATA[<p>AIX is the IBM operating system based on UNIX.  AIX is  specifically designed to work with IBM systems.  <strong>Advanced Interactive eXecutive</strong> supports multiple hardware platforms such as RS/6000, IBM Power, Power-PC, IBM System i, System/370 mainframes and PS/2 personal computers.</p>
<p>AIX, along with Mac OS X, Solaris and HP-UX is certified to The Open Group&#8217;s UNIX 03 standard.  Because it is UNIX based, it is programmed with C, and supports multiple shell environments and has the power to run Linux applications.</p>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/config/misc/aix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basics of Text Editing in Unix with Vi</title>
		<link>http://icancompute.ca/aix/config/software/basics-of-test-editing-in-unix-with-vi/</link>
		<comments>http://icancompute.ca/aix/config/software/basics-of-test-editing-in-unix-with-vi/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 00:23:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://icancompute.ca/aix/?p=127</guid>
		<description><![CDATA[Vi can either be one of your worst enemies or one of your best friends. Anyone new to unix/linux will typically have a hard time coming to terms with the fact that vi can be both necessary and efficient, especially if you are only used to graphical text editors. I truly believe that any new [...]]]></description>
				<content:encoded><![CDATA[<p>Vi can either be one of your worst enemies or one of your best friends. Anyone new to unix/linux will typically have a hard time coming to terms with the fact that vi can be both necessary and efficient, especially if you are only used to graphical text editors.</p>
<p><span id="more-127"></span></p>
<p>I truly believe that any new unix/linux user or administrator MUST spend the time learning the basics of VI. This will make you more comfortable with the terminal environment, give you the opportunity to use &#8220;set -o vi&#8221; later, and increase the efficiency of script writing. Regardless of what the popular argument says, simply learning VI will always be more efficient than writing your scripts in word on your workstation and ftp-ing or scp-ing the files over. Many tools will use vi as their editor such as cron and inittab. Also the aforementioned &#8220;set -o vi&#8221; will be a lifesaver for anyone working in unix that would like to use command history recall.</p>
<p><strong>Things you need to know in VI:</strong></p>
<p>Vi runs in two distinct modes (command and input). If you are not inputing text into the file, you are issuing commands to vi. These commands include things like: navigate cursor here, page up, jump to next word, and then switch to input mode.</p>
<p>To <strong>navigate</strong> vi you can move either with the arrow keys or the following <strong>hjkl</strong> commands:</p>
<p>k &#8212; navigate up<br />
j &#8212; navigate down<br />
h &#8212; navigate left<br />
l &#8212; navigate right</p>
<p>From this you may want to <strong>navigate larger distances</strong> easier. Have no fear, there are commands for that.</p>
<p>:1 &#8212; beginning of document<br />
H &#8212; beginning of current screen (top left hand side of viewing area)<br />
0 &#8212; beginning of line<br />
$ &#8212; end of line<br />
G &#8212; end of document</p>
<p>w &#8212; forward one word<br />
b &#8212; backward one word</p>
<p>&lt;ctrl&gt;-b &#8212; Up full screen<br />
&lt;ctrl&gt;-u &#8212; Up half screen<br />
&lt;ctrl&gt;-d &#8212; Down half screen<br />
&lt;ctrl&gt;-f &#8212; Down full screen</p>
<p>To <strong>switch to input mode</strong> you use the following:</p>
<p>i &#8212; will switch to input mode where the cursor is located<br />
a &#8212; will switch to input mode after the cursor<br />
A &#8212; will switch to input mode at the end of the line<br />
o &#8212; will open a new line below your cursor<br />
O &#8212; will open a new line above your cursor</p>
<p><strong>Change/delete:</strong></p>
<p>cw &#8212; change word<br />
dw &#8212; delete word<br />
cc &#8212; change line<br />
S &#8212; replace line<br />
dd &#8212; delete line<br />
r &#8212; replace single character with single character<br />
s &#8212; replace single character with string<br />
R &#8212; switch to overwrite mode</p>
<p><strong>Find/replace:</strong></p>
<p>/string &#8212; find string (forward)<br />
?string &#8212; find string (backward)<br />
:s/string/newstring &#8212; replace string with new string (once on current line)<br />
:s/string/newstring/g &#8212; replace string with new string (on entire line)<br />
:%s/string/newstring/g &#8212; replace string with new string (in entire file)<br />
:ns/string/newstring &#8212; replace string with newstring (on nth line)</p>
<p>n &#8212; next search match<br />
N &#8212; previous search match</p>
<p><strong>Cut/Copy/Paste:</strong></p>
<p>yy &#8212; copy line<br />
dd &#8212; cut line<br />
p &#8212; paste after cursor (cannot paste if buffer emptied by going into input mode)<br />
P &#8212; paste before cursor</p>
<p><strong>Undo:</strong><br />
u &#8212; undo last change<br />
U &#8212; undo all changes to line</p>
<p><strong>Save/Exit:</strong><br />
:w &#8212; write changes<br />
:q &#8212; quit Vi<br />
:wq &#8212; write and quit<br />
:q! &#8211;quit without saving<br />
:w newfile &#8212; save as newfile<br />
:sh &#8212; drop down to shell (will run shell on top of Vi so need to exit shell (&lt;ctrl&gt;-d) to get back to Vi</p>
<p><strong>**NOTE**</strong><br />
- undo can only work for the current line<br />
ncmd &#8212; you can increase the repetition or length of a command by issuing a number infront of it<br />
ie 5dd &#8212; cut/delete next five lines<br />
10j &#8212; navigate down 10 lines<br />
:n &#8212; go to nth line<br />
. &#8212; repeat last command<br />
:set all &#8212; show all of the variables you can change to increase the ease of use of VI</p>
<p><strong>a few important ones:</strong><br />
:set (no)numbers &#8212; show line numbers<br />
:set (no)autoindent &#8212; auto indent on new line<br />
:set (no)showmode &#8212; display INPUT MODE when in input mode<br />
** to turn on use &#8220;:set numbers&#8221; to turn off use &#8220;:set nonumbers&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://icancompute.ca/aix/config/software/basics-of-test-editing-in-unix-with-vi/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
