A programming running in tty0 crashes.
In a second terminal I kill all the processes.
Can i start the program again from this terminal?
Yes, I can, but it starts in tty1, and when i close the terminal, the program closes.
Now I want to start the program from tty1 in tty0, so i can close... (4 Replies)
I need to distinguish between numerical characters in a script:
echo "Enter a number."
read num
if (( $num = * )) ; then
exit 0
fi
this RegX does not work.
Any suggestions? (5 Replies)
I pressed CTRL Z and suspended the job. then I pressed bg, The process re-started to throw output on the terminal and its not allowing me to access the prompt.
its not even accepting CTRL Z. The process has been running for about 2 hours now and I want to suspend it by opening another terminal.... (3 Replies)
Hi, Guz!
I'm working on a scripts compiler which needs a function to generate random strings. I think REGX may be a good solution to restrict the string format. Before DIYing I'd like asking for any existing libs or codes.
Any help will be appreciated! (7 Replies)
Hi Folks,
When i try to run schedule job on Unix server am getting following errror messges in logs
pic_selection @starting on Fri Feb 5 01:53:06 GMT 2010
-------------------------------------------------------------------------------
Microfocus Cobol batch run
Started: Fri Feb 5... (4 Replies)
Hi,
I am using net::ftp for transferring files now i am trying in the same Linux server as a result ftp is very fast but if the server is other location (remote) then the file transferred will be time consuming.
So i want try putting FTP part as a background process. I am unaware how to do... (5 Replies)
HI,
I have a line
conn console {conntype=serial;connhost=122.25.000.220;connport=6038;password=123!}
and i am using the below code to extract the ip.
while read line
do
if echo "$line" | grep "connhost" >/dev/null 2>&1
then
echo $line
TERM=`echo... (8 Replies)
Hi,
How can we get the process id of the terminal we are using?
When we logged in to unix, we have an associated terminal. we can use "tty" command to get the terminal we are using like:
/dev/pts/0
I want to know the process id of this terminal. Please reply as I searched a lot but I... (8 Replies)
Hi,
I new to AIX, and I have been using Rocket UniData in it. I had to set up a Process for Data Exchange by assigning a unique Terminal and a Socket Port to that process. I ran the process for the first time and it was successful and after use I stopped the process. Now when I want to run it... (3 Replies)
Discussion started by: BejoyS
3 Replies
LEARN ABOUT PHP
pts_source
PTS_SOURCE(1) AFS Command Reference PTS_SOURCE(1)NAME
pts_source - Read pts commands from a file
SYNOPSIS
pts source [-file] <file name> [-cell] <cell name>
[-noauth] [-localauth] [-force]
pts so [-f] <file name> [-c] <cell name>
[-n] [-l] [-f]
DESCRIPTION
The pts source runs commands from a file as if they were typed in pts interactive mode. The command can be run from the command line or
interactively.
CAUTIONS
Prior to OpenAFS 1.4.5 and OpenAFS 1.5.23, the pts source command was only available on Unix or Linux and when OpenAFS was compiled with
the supergroups option (disabled by default). As of OpenAFS 1.4.5 and 1.5.23, it is always available.
OPTIONS
pts source takes the following options:
-cell <cell name>
Names the cell in which to run the command. For more details, see pts(1).
-force
Enables the command to continue executing as far as possible when errors or other problems occur, rather than halting execution at the
first error.
-help
Prints the online help for this command. All other valid options are ignored.
-localauth
Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. Do not combine this flag with the -cell or
-noauth options. For more details, see pts(1).
-noauth
Assigns the unprivileged identity anonymous to the issuer. For more details, see pts(1).
OUTPUT
This command shows the output of each command in the file as if it were run normally.
EXAMPLES
Here is an example of using pts source in a pts interactive session:
% echo examine admin > /tmp/commands.txt
% pts interactive
pts> source /tmp/commands.txt
Name: admin, id: 1, owner: system:administrators, creator: anonymous,
membership: 2, flags: S----, group quota: 20.
pts> quit
%
SEE ALSO pts(1), pts_interactive(1), pts_quit(1), pts_sleep(1)COPYRIGHT
Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>
This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Jason Edgecombe for
OpenAFS.
OpenAFS 2014-04-08 PTS_SOURCE(1)