06-21-2012
What you are saying - the script runs when usera (only) executes the script.
When userb executes the script it "doesn't work". What does "does'nt work" mean?
The screen has garbage on it? The script exits when it should not? The terminal freezes?
9 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. 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
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 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
7. OS X (Apple)
Hello,
I am trying to configure a serial port, for mac os x 10.6. I believe I can use the stty command to look at serial port configuration and or change the serial port settings. I read the man page, but I don't really know what I am doing. Any help? (0 Replies)
Discussion started by: jamesapp
0 Replies
8. 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
9. 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
LEARN ABOUT OPENSOLARIS
script
script(1) User Commands script(1)
NAME
script - make record of a terminal session
SYNOPSIS
script [-a] [filename]
DESCRIPTION
The script utility makes a record of everything printed on your screen. The record is written to filename. If no file name is given, the
record is saved in the file typescript. See WARNINGS.
The script command forks and creates a sub-shell, according to the value of $SHELL, and records the text from this session. The script ends
when the forked shell exits or when Control-d is typed.
OPTIONS
The following option is supported:
-a Appends the session record to filename, rather than overwriting it.
NOTES
script places everything that appears on the screen in filename, including prompts.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|CSI |Enabled |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5)
WARNINGS
script can pose a security risk when used in directories that are writable by other users (for example, /tmp), especially when run by a
privileged user, that is, root. Be sure that typescript is not a link before running script.
SunOS 5.11 30 Jan 2004 script(1)