- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- New Line when using the @ in command
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
10-08-2011 12:54 AM
10-08-2011 12:54 AM
Hi,
i facing strange issue on my system 11.31 on one user, As when using the @ in the command line it's going to new line.
as following
$ ssh apps@
sys01 bdf
sh: sys01: not found.
and no profile for this user under the home directory "/opt/IBM"
How to resolve this issue ?
Thanks
Solved! Go to Solution.
- Tags:
- stty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2011 01:52 AM
10-08-2011 01:52 AM
Re: New Line when using the @ in command
any user created under /home it's working fine.
but when create any user on other path i facing this issue.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2011 04:12 AM
10-08-2011 04:12 AM
SolutionMost likely your stty settings are incorrect. Run "stty -a" and check which charactes are assigned to "intr", "kill" and "erase" control characters.
Depending on the settings of your terminal/emulator, one of the following commands should fix the problem:
stty intr ^C kill ^U erase ^?
or
stty intr ^C kill ^U erase ^H
Choose the one that makes the backspace key of your terminal/emulator work right.
To make the settings permanent, you'll want to add this to the user's .profile.
If this user has cron jobs or other non-interactive sessions, you might want to make the stty command conditional, so that it will be executed for real interactive sessions only, e.g.:
if tty -s; then stty intr ^C kill ^U erase ^? fi
If you don't do it this way, you will see a silly "not a typewriter" error message from each of your cron jobs and/or other non-interactive sessions, as the stty command does not find a terminal device to adjust.