Solved

HISTFILE and HISTSIZE on HP,  Solaris, & LINUX servers

Posted on 2011-02-15
2
1,292 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
ID: 34900170
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
ID: 34937241
thanks a lot!
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

776 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