- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- .sh_history files growing by leaps and bounds
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2003 02:21 AM
тАО12-24-2003 02:21 AM
.sh_history files growing by leaps and bounds
Is anyone else experiencing this problem? Any suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2003 02:27 AM
тАО12-24-2003 02:27 AM
Re: .sh_history files growing by leaps and bounds
I don't even set HISTSIZE and the largest I see on my systems is somewhere around 4K. Just how big is HUGE?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2003 02:28 AM
тАО12-24-2003 02:28 AM
Re: .sh_history files growing by leaps and bounds
-Hazem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2003 02:38 AM
тАО12-24-2003 02:38 AM
Re: .sh_history files growing by leaps and bounds
This is a shared .sh_history file. I do understand about the 4 requirements that must exist before the file will be trimed. But even when all 4 requirements exist the file doesn't get trimmed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2003 03:43 AM
тАО12-24-2003 03:43 AM
Re: .sh_history files growing by leaps and bounds
If you need to share this file, you'll need to use cron to trim it. But because the shell puts markers in it, simply zeroing the file may cause the history to display nothing but blank lines. Removing the file and recreating it seems to work OK.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2003 04:29 AM
тАО12-24-2003 04:29 AM
Re: .sh_history files growing by leaps and bounds
HISTSIZE is not set in /etc/profile or /home/root/.profile.
grep /home/root /etc/passwd only displays the root user having use of the /home/root directory.
Thanks in advance.
Lisa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2003 12:23 PM
тАО12-24-2003 12:23 PM
Re: .sh_history files growing by leaps and bounds
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2003 01:45 PM
тАО12-24-2003 01:45 PM
Re: .sh_history files growing by leaps and bounds
richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-25-2003 05:48 AM
тАО12-25-2003 05:48 AM