After using @, line breaks for a particular user in shell

Dear Concern,

When we using @ sign, line breaks for a particular user in shell. Please advise how to resolve from the problem in HP UX.

tabs@tabsdb02[TABS2]:/ccbs/users/tabs$ cat /etc/passwd|grep tabs
tabs:RdCgOsmKee7Ps:221:201::/ccbs/users/tabs:/usr/bin/ksh
tabscwm:dD5ACOmT/7xAA:118:20::/ccbs/users/tabscwm:/usr/bin/ksh
tabs@tabsdb02[TABS2]:/ccbs/users/tabs$ sftp minkhan@  <=Line Break here
172.16.2.15
ksh: 172.16.2.15:  not found
tabs@tabsdb02[TABS2]:/ccbs/users/tabs$ uname -r
B.11.31

With Best Regards,
Md. Abdullah-Al Kauser

Please use code tags as required by forum rules!

What is this? Two commands entered on the command line? How is the first command related to the second one resp. the error?

Dear rudic,

Not two command used. Actually i type below command.

sftp minkhan@172.16.1.15

But after typing @, line break as first post and give me the error. I want to restrict line break after using @ in command line.

Here is a little script that sets the terminal control characters to "normal" values.

# useful for HP-UX
stty sane
stty erase "^h" intr "^c" kill "^u" susp "^z" eof "^d"

You can list extra values with

stty

and all terminal values with

stty -a
1 Like