---
title: "Command history in linux - sqlplus"
author: "RobertLeeJesus"
date: "2008-07-29T16:31:09Z"
tags: []
slug: "command-history-in-linux-sqlplus"
draft: false
lastmod: "2008-07-29T16:31:09Z"
id: 221156
url: "https://hidefromall.iteye.com/blog/221156"
---

In Linux, sqlplus has no command history. Please use the tool to do the same thing.

 

     1. apt-get install rlwrap

     2. rlwrap sqlplus

 

 

Then export the editor as vim, then it is cool.

 

export EDITOR=/usr/bin/vim