- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- help : csh
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
Forums
Discussions
Discussions
Discussions
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
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
03-31-2003 09:33 PM
03-31-2003 09:33 PM
help : csh
Now, the problem is that all csh based scripts are getting errors when they executed.
They're running on hpux 11.0.
# csh
$HOME/.history : Not a regular file
Any help would be appreciate,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 09:46 PM
03-31-2003 09:46 PM
Re: help : csh
i dont what security you are trying to acheive by linking it .history to /dev/null.
if you dont want that file to be stored, read the man page of csh. snippet is given below.
else, in your .logout file delete the .history file.
hth
-balaji
+++++++++++++++++++++++++++++++
history This variable is used to create the command
history buffer and to set its size. If this
variable is not set, no command history is
maintained and history substitutions cannot be
made. Very large values of history can cause
shell memory overflow. Values of 10 or 20 are
normal. All commands, executable or not, are
saved in the command history buffer.
+++++++++++++++++++++++++++++++
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 09:50 PM
03-31-2003 09:50 PM
Re: help : csh
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2003 11:01 PM
03-31-2003 11:01 PM
Re: help : csh
Just use
#csh
to redirect the error messages
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2003 02:54 AM
04-01-2003 02:54 AM
Re: help : csh
to disable history functionality you have to unset the environment variable history.
You could do this ie. in /etc/csh.login with:
unsetenv history
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2003 03:22 AM
04-01-2003 03:22 AM
Re: help : csh
unset history
or
set history=0
set savehist=0
With the tcsh, you can clear the history with
history -c
Enjoy, have FUN! H.Merijn