Visit Our UNIX and Linux User Community


reg script command....


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers reg script command....
# 1  
Old 03-28-2005
reg script command....

hi frnds,
i need all ur help guys..
I am facing problem when i give script < file name> command
whenever i give this command,i get an error message indicating

"Openpty failed.
Terminated"


Smilie
can u help me out...

with regds,
Deep
# 2  
Old 03-28-2005
Please make sure that you have read our rules. And note:
(4) Do not 'bump up' questions if they are not answered promptly. No duplicate or cross-posting and do not report a post where your goal is to get an answer more quickly.

I hve deleted the duplicate thread.
# 3  
Old 03-29-2005
Quote:
Originally Posted by deep
hi frnds,
i need all ur help guys..
I am facing problem when i give script < file name> command
whenever i give this command,i get an error message indicating

"Openpty failed.
Terminated"


Smilie
can u help me out...

with regds,
Deep
Can we have part of your script, to see what that script is doing.
# 4  
Old 03-29-2005
reg script command in linux

hi,
it's a built in script command in linux...used to capture your terminal output in a file...
# 5  
Old 03-29-2005
what happens when you just run script, allowing it to output to a default file?
# 6  
Old 03-30-2005
even if i give it as script alone ,it shows the same error....but this happen only at some specified folder..whereas in other folders...it works fine...is that i havent logged in as superuser ... is it required to login as superuser??
# 7  
Old 03-30-2005
Check the permissions on the directory that you are in when it fails and when it doesn't. You probably don't have write permissions to that directory. When you put the filename, put in a directory path that you know you have write permissions to (such as your home directory).
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #193
Difficulty: Easy
Python was selected the Programming Language of the Year in 2007, 2010, and 2018.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Going mad on an egrep command (Reg Expressions)

Dear community, I am trying for several hours now to create an egrep command to grep the number of lines containing a specific text from a text-file but seem to have an error somewhere. The Textfile contains several thousand lines and has the expression "Lastname" in several lines.... (3 Replies)
Discussion started by: Donzo
3 Replies

2. Solaris

doubt reg mailx command

Hi, Am trying to send mail from solaris host to my mailbox, but while executing mailx command am getting the follow error.Is this syntax corect? #mailx -s "subject" <myid> The flags you gave are used only when sending mail. (1 Reply)
Discussion started by: rogerben
1 Replies

3. Solaris

doubt reg prstat command

Hi, Can anyone explain me what is RSS time in the prstat output. In the below example 93M is total process size(correct me if am wrong ) what abt 58M? 1693 root 93M 58M cpu1 0 10 4:11:02 0.8% java/35 (2 Replies)
Discussion started by: rogerben
2 Replies

4. Solaris

small doubt reg uname command

Am new to solaris can anyone explain the fields in the below command. Also let me know the difference between nodename and hostname. Here osnask2 is the hostname and type SUNOS. What abt the remaining fields.? #uname -a SunOS osnska2 5.8 Generic_117350-47 sun4u sparc SUNW,Sun-Fire-480R (1 Reply)
Discussion started by: rogerben
1 Replies

5. Shell Programming and Scripting

Reg sftp in shell script

Hi, I want to retrieve files from an sftp site and place it a directory in unix server. When I try to connect, it is asking password even if i hardcode it in the script.I want to automate the script. Could anyone tell me how to avoid password prompt. #!/bin/sh # sample automatic ftp script... (3 Replies)
Discussion started by: vidhya_vec
3 Replies

6. Shell Programming and Scripting

Reg :Executing a script through GUI .

Hi , Can we run shell scripts by calling them through a GUI , so that even a New comer can run them by just clicking on them . We have around 100 Scheduled scripts and we have cornered on some 20 scripts that should be called through a GUI . How can this be achieved ? Thanks in... (2 Replies)
Discussion started by: shyam.appalla
2 Replies

7. Shell Programming and Scripting

Reg: Shell script ran using informatica

Hi all, I am not sure whether this is the right place to ask this question...:) I am working in Informatica PowerCenter 8.1.1 tool and my server is on UNIX. I have got a shell script to copy files from one folder to another. When I run the script directly from UNIX prompt it is taking 60... (0 Replies)
Discussion started by: sam99
0 Replies

8. Shell Programming and Scripting

reg Mailx command or masking of mailid

I am using the mailx command of Unix through which I am able send mails but the problem is the from mail ID is automatically buit by unix as the (UNIX Box Name:---------------------------------) to mask the from id the option used by mailx is -r but for some security reasons this is blocked by the... (1 Reply)
Discussion started by: naren_chella
1 Replies

9. UNIX for Dummies Questions & Answers

Reg getdents command in linux

Hi frnds, i need ur help reg getdents command which is used to read the directory entries. I need to know the exact usage of the command and any sample code reg the usage of getdents command ------------- deep :confused: (1 Reply)
Discussion started by: deep
1 Replies

10. Shell Programming and Scripting

Command param subst to reg expression

I want to find out Row which starts with, the user specified details to a script. In general I know what command to be given. awk '$0~/^Vi/' BReject But I need to pass on $1 param of command line at the place of 'Vi'. I tried with -v subst=$1 awk -v subst=$1 '$0~/^subst/' BReject But it... (5 Replies)
Discussion started by: videsh77
5 Replies

Featured Tech Videos