linux console command line history

kaklis at gmail.com kaklis at gmail.com
Tue Jul 20 17:38:35 EDT 2010


Hi to all,
I 'm writing a linux console app with sockets. It's basically a client
app that fires commands in a server.
For example:
$log user 55
$sessions list
$server list etc.
What i want is, after entering some commands, to press the up arrow
key and see the previous commands that i have executed.
Any hints? Any examples?

Antonis



More information about the Python-list mailing list