Solved

HISTFILE and HISTSIZE on HP,  Solaris, & LINUX servers

Posted on 2011-02-15
2
1,273 Views
Last Modified: 2012-05-11
How do I set these variables (HISTFILE and HISTSIZE) in the .profile (using ksh). Same way for both HP and Solaris? What about for Linux?
0
Comment
Question by:sonriks
2 Comments
 
LVL 3

Accepted Solution

by:
alphabet26 earned 500 total points
Comment Utility
Solaris and Linux can use export on the same line
export HISTFILE=$HOME/.sh_history

Open in new window

I seem to recall HPUX needs it set then exported
HISTFILE=$HOME/.sh_history; export VARIABLE

Open in new window

0
 
LVL 1

Author Closing Comment

by:sonriks
Comment Utility
thanks a lot!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now