9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
I have shell scripting in linux box. This script is mentioned that should be run under the one particular user. If you run that mentioned user location then it is working fine....
Suppose if you are trying run from some other user like as mentioned below
sudo su - gxadm -c script.sh
... (1 Reply)
Discussion started by: Mani_apr08
1 Replies
2. UNIX for Advanced & Expert Users
Copy Paste Issue...
Pasted some c**p of a excel...!!
Sorry Guys. Please look Below for the issue. (4 Replies)
Discussion started by: grep_me
4 Replies
3. Shell Programming and Scripting
Hi all,
I am stuck on a shell script issue and need your inputs:
I have a parent script A.ksh which call in another script B.ksh. At the start of the B.ksh, we export the .profile of another user and then call Informatica jobs.
Issue
When I run my jobs from the command prompt, it works... (1 Reply)
Discussion started by: fromrishi
1 Replies
4. UNIX for Advanced & Expert Users
Hi All,
I have been runing the same set of program using the same auto profile for an year.
Now when i run the same set of process , i getting the below error
Not a terminal
stty: : Not a typewriter
stty: : Not a typewriter
ksh: jil: not found
ksh: sendevent: not found
logout... (4 Replies)
Discussion started by: arunkumar_mca
4 Replies
5. UNIX for Advanced & Expert Users
after hitting this command...on pressing r acts as a backspace character....
how to disable this function (5 Replies)
Discussion started by: bishweshwar
5 Replies
6. UNIX for Dummies Questions & Answers
Hi folks,
I run a script in rsh on HP-UX v2 (B.11.23 U 9000/800) and each time I have "su - user" in my program I'm getting the following output on the screen:
stty: : Unknown error
process not attached to terminal
Usage: who
r run level
b boot time
t time changes... (2 Replies)
Discussion started by: nir_s
2 Replies
7. UNIX for Dummies Questions & Answers
I am trying to set my backspace key as the erase key
right now I have to type CONTROL-H to delete.
Can you please tell me the command to set my backspace
as the erase key...... (1 Reply)
Discussion started by: frank
1 Replies
8. UNIX for Dummies Questions & Answers
stty: : Not a typewriter
the above error comes after i execute the script below o hpux B.11.00
#!/usr/bin/ksh
/bin/su - <oraid> -c "svrmgrl" << EOF
connect internal
startup
exit
EOF
echo "# End "`date +%D" "%T` >> time.log (4 Replies)
Discussion started by: yls177
4 Replies
9. UNIX for Advanced & Expert Users
Hello all,
In the .profile of my account on Tru64 UNIX,there is a command
stty dec
In the man pages,it is specified that dec sets all modes suitable for terminals supplied by Digital Equipment Corporation.
I am porting a software from Compaq to HP platform.so i want to use the same... (1 Reply)
Discussion started by: informshilpa
1 Replies
STATSERIAL(1) User Commands STATSERIAL(1)
NAME
statserial - display serial port modem status lines
SYNOPSIS
statserial [-n | -d | -x] <device-name>
DESCRIPTION
Statserial displays a table of the signals on a standard 9-pin or 25-pin serial port, and indicates the status of the handshaking lines. It
can be useful for debugging problems with serial ports or modems.
The optional device-name parameter is the full name of the device file for the serial port in question. If not specified, the default is
taken from the environment variable MODEM if set, otherwise /dev/cua1.
COMMAND-LINE OPTIONS
Each of the command line options is mutually exclusive.
-n Normally statserial will loop continuously, updating the status at one second intervals; you can exit using Control-C. The -n option
disables looping.
-d
With this option the status of the modem is printed as a decimal number. The bits are encoded as follows (XXX indicates unused bits):
+---+---+---+---+---+---+---+---+---+
| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
+---+---+---+---+---+---+---+---+---+
|DSR|RI |DCD|CTS|XXX|XXX|RTS|DTR|XXX|
+---+---+---+---+---+---+---+---+---+
-x This option is the same as -d, except that the output is in hexadecimal.
BUGS
/LIMITATIONS
Statserial only works with devices that support the TIOCMGET ioctl.
You need permission to read the device file.
The device file may be locked if other applications are using it.
AUTHOR
Statserial was written by Jeff Tranter (Jeff_Tranter@Mitel.COM), later updated by Frank Baumgart (godot@uni-paderborn.de) and is released
under the conditions of the GNU General Public License. See the file COPYING and notes in the source code for details.
SEE ALSO
setserial(8) stty(1)
/usr/src/linux/drivers/char/serial.c /usr/include/linux/termios.h
Linux 17 December 1994 STATSERIAL(1)