- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- <ctrl>d and 'exit' difference?
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
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
тАО03-03-2003 05:28 AM
тАО03-03-2003 05:28 AM
-Myles
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 05:33 AM
тАО03-03-2003 05:33 AM
Re: <ctrl>d and 'exit' difference?
Exit is the gracefull way and you always go graceful whenever possible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 05:46 AM
тАО03-03-2003 05:46 AM
Re: <ctrl>d and 'exit' difference?
This happens when the shell has the ignoreeof option set.
Rgds, Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 06:36 AM
тАО03-03-2003 06:36 AM
Re: <ctrl>d and 'exit' difference?
Ctrl-D is a stty definition (options for a terminal port), pls check these optios by:
#stty -a
Whenever you want it you can change this assignment. i.e: if you change your "eof" definition to Ctrl-X just do:
#stty intr '^X'
So, when you check the new "intr" value you will se:
#stty -a
eof = ^x; etc, etc...
Pls chk "man stty" for more detailed info.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 09:08 AM
тАО03-03-2003 09:08 AM
SolutionBy convention,
Certain conventions developed: Decimal 1 was an attempt by a sender to signal a recipient. Decimal 3 was a signal that interuppted a message, and decimal 4 marked the end of the message. These rules generally hold true today. The
Frankly, I don't see a lot of need for it these days. I prefer to
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2003 09:26 AM
тАО03-04-2003 09:26 AM
Re: <ctrl>d and 'exit' difference?
If you are getting a text message telling you to type exit. It sounds like your shell is trapping the signal and telling you to use "exit" instead.
trap 'echo "use exit to logout"' 4
(like the .profile) Looks like someone is trying to exit cleanly from some kind process