9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone,,
I am new to the forum...but not to Unix.
I have gathered few questions from my mates who attended interviews in various companies as I have to attend one on dec 3rd for Sys admin position. Please respond with the answers you know and also help with various other interview... (2 Replies)
Discussion started by: impawan
2 Replies
2. UNIX for Advanced & Expert Users
Hi Friends,
I have siebel installed in one of my aix machines and while opening a file it gives below error.
$ vi SmSiebelSSO.conf
History file has no read permission. q
Please note the file has rwxr-xr-x for oracle:dba and i am trying to open using oracle id itself which is the owner... (1 Reply)
Discussion started by: DJ2176
1 Replies
3. Programming
How do I get the answer of a system call that is printed in the terminal?
for example:
I execute system("pwd");
and get the answer /home/user/
But because I need to send this result to somewhere, I need to store it in a string.
Thanks in advance. (7 Replies)
Discussion started by: eldaran
7 Replies
4. UNIX for Dummies Questions & Answers
Try to answer these questions on Unix:
1.what will be the segment() function do?
2.How Unix is more powerful than Windows?
3.Where ownership details will be stored of a particular file in Unix?
4.State different uses of ^ symbol in regular expressions.
5.What does export command used for?... (5 Replies)
Discussion started by: dreambig
5 Replies
5. UNIX for Dummies Questions & Answers
i know by posting this people are going to get mad at me but, when i try to download unix for my Windows XP i find a whole bunch of files that i dont know what to do with, so please help, sorry if this has already been posted... or is a stupid question :o (9 Replies)
Discussion started by: DarkestEvil
9 Replies
6. Shell Programming and Scripting
Hey, I am very new to scripting and could use a bit of help.
I have a situation where I have an ascii file and I want to delete all lines beneath a particular string.
EXAMPLE:
The contents of a file named example.txt looks like the following:
JANUARY
FEBRUARY
MARCH
APRIL
MAY
JUNE... (7 Replies)
Discussion started by: LaLonde
7 Replies
7. Solaris
Hi i am trying the threads concept in unix environment using C...
but i am getting error of "wait_fd: Couldn't find procinfo for fd 24"...
what does this error mean.....
help me in solving this issue...
Thanks in advance
shivamasam (3 Replies)
Discussion started by: shivamasam
3 Replies
8. Programming
Q.1 Diffrence between terminal and pseudo-terminal ?
Q.2 What is terminal login ? What is a netwok Login ?
Q.3 What is meant by baud rate of a terminal ?
Q.4 which structure is used for job control in Unix/Linux ?and where these structure are means in which directory ? (2 Replies)
Discussion started by: mobile01
2 Replies
9. Programming
Hi ,
how can i get the system reply from a system() command ?
is it possible to evaluate the return of a system command ? (4 Replies)
Discussion started by: Sven28
4 Replies
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)