You are here:

Unix/Linux OS/Unix Korn Shell Scripting Question


2)   What does the Korn shell history mechanism allow the user to do?

a)   See a historical record of users who have logged on to the machine
b)   Sort $HOME subdirectories in historical order
c)   Have access to, reuse, and edit previous commands
d)   Keep a history of when and for how long the user sessions have been
e)   See a history of the installation dates of versions of the Korn shell

The answer is:

It really doesn't matter -- we all use bash now!

Just kidding (but not really...)

The answer is "c"...

No-one really uses "ksh" since "bash" has the best of "ksh" and "csh" in it...
(unless they have an antique box they have to maintain... like a SCO/OS5 box...)


Unix/Linux OS

All Answers

Answers by Expert:

Ask Experts




Expert: Creating and managing *nix database/application servers for use with dl4/unibasic/mysql/apache/thoroughbred applications, especially in medical environments. Strengths: scripting, backup and disaster recovery, mysql, apache2, routing, samba/smbfs/cifs, LPRng, CUPS, telnet/ssh/sftp, vsftp, rsync, new system preparation, system duplication, database design, system conversions (AIX/SCO-OS5/Linux) Currently working on scripted setup of LAMP servers using PDO for MySQL and Oracle. Compiling Apache2, openssl, php and libxml2 from source and linking to libraries for MySQL and Oracle InstantClient. Works great so far! Familiar With: php, c, awk, sed, gnome, nfs and lots of other *nix tools


I've been head of development at our company since 1984. Our OS's at that time were Point 4's IRIS and Altos' Xenix. Then: SCO Xenix, SCO Unix, AIX, SCO-OS5, Caldera, RedHat 7, Debian Sarge, RedHat ES4, Debian Etch, Redhat ES5, Debian Lenny, RedHat ES6, Debian Squeeze. I've migrated our clients through those various versions with minimal interruption while preserving their investments in hardware and staff knowledge over time.

1980 BSBA Washington University, Saint Louis, Missouri

©2017 All rights reserved.