You are here

Ksh versions HPUX

Hi,

HPUX has the version 88f of ksh in their CORE_OS bundle:

# swlist -l file | grep -i /usr/bin/ksh
OS-Core.UX-CORE: /usr/bin/ksh
PHCO_38470.UX-CORE: /usr/bin/ksh

n:/> /usr/bin/ksh
n:/> set -o emacs
n:/> Version 11/16/88

If you need to use ksh version 93, you have another shell dtksh in this path, that is compatible with ksh93:

# swlist -l file | grep /usr/dt/bin/dtksh
CDE.CDE-MIN: /usr/dt/bin/dtksh
PHSS_36394.CDE-MIN: /usr/dt/bin/dtksh

n:/> /usr/dt/bin/dtksh
n:/> set -o emacs
n:/> Version M-12/28/93d

If you finally decide to use it as your default shell, you can add it to the /etc/shells file and modify your shell with usermod-

Unix Systems: 

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.
Error | HP-UX Tips & Tricks Site

Error

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /homepages/37/d228974590/htdocs/includes/common.inc:2567) in drupal_send_headers() (line 1207 of /homepages/37/d228974590/htdocs/includes/bootstrap.inc).
  • PDOException: SQLSTATE[42000]: Syntax error or access violation: 1142 INSERT command denied to user 'dbo229817041'@'217.160.155.192' for table 'watchdog': INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => 0 [:db_insert_placeholder_1] => cron [:db_insert_placeholder_2] => Attempting to re-run cron while it is already running. [:db_insert_placeholder_3] => a:0:{} [:db_insert_placeholder_4] => 4 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://www.hpuxtips.es/?q=content/ksh-versions-hpux [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => 54.198.71.184 [:db_insert_placeholder_9] => 1503243273 ) in dblog_watchdog() (line 157 of /homepages/37/d228974590/htdocs/modules/dblog/dblog.module).
The website encountered an unexpected error. Please try again later.