<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AIX on Oracle Scripts</title><link>https://www.oraclescripts.com/tags/aix/</link><description>Recent content in AIX on Oracle Scripts</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>OracleScripts.com</copyright><lastBuildDate>Sun, 24 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.oraclescripts.com/tags/aix/index.xml" rel="self" type="application/rss+xml"/><item><title>Enable vi Command-Line Editing in ksh for Oracle DBA Shells</title><link>https://www.oraclescripts.com/post/ksh-vi-mode-shell-history-dba/</link><pubDate>Sun, 24 May 2026 00:00:00 +0000</pubDate><guid>https://www.oraclescripts.com/post/ksh-vi-mode-shell-history-dba/</guid><description>
&lt;h2 id="enable-vi-command-line-editing-in-ksh-for-oracle-dba-shells"&gt;Enable vi Command-Line Editing in ksh for Oracle DBA Shells&lt;/h2&gt;
&lt;h2 id="purpose"&gt;Purpose&lt;/h2&gt;
&lt;p&gt;Recalling and editing the prior command without retyping it is the single most-used operation in a long DBA shift on an Oracle host. On the Korn shell (&lt;code&gt;ksh&lt;/code&gt;) — the default login shell on AIX 7.x, Solaris 11, HP-UX 11i, and many older Oracle 11g/12c reference builds — that operation is gated behind one line in &lt;code&gt;.profile&lt;/code&gt;: &lt;code&gt;set -o vi&lt;/code&gt;. Without it, the up-arrow key prints a literal escape sequence and the only way to repeat a long &lt;code&gt;RMAN BACKUP DATABASE PLUS ARCHIVELOG ...&lt;/code&gt; invocation is to type it again.&lt;/p&gt;</description></item></channel></rss>