01-19-2010
Do you mind sharing what error you get?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I'm looking to write a script that is dependent upon the existence of 2 files each in separate directories. My thought was to do:
**psuedo code **
execute script
check directory 1 for file1
if file exists then
execute script 2 ( checking directory 2 for file 2)
else... (3 Replies)
Discussion started by: keladar
3 Replies
2. Shell Programming and Scripting
hi every one ,
i m new in unix . i m trying shell scripting .
set v = abc
echo $v
but it does not show any output .
please help me (4 Replies)
Discussion started by: samy123
4 Replies
3. Filesystems, Disks and Memory
Dear group,
I need to load dependent libraries for an application which is in ELF format.please let me know how to parse the ELF file to find dependent libraries.
thnaks in advance,
Ravinder (3 Replies)
Discussion started by: ravinder.are
3 Replies
4. Shell Programming and Scripting
Hi,
I generated an Oracle schema DDL script file using the show=y option of the Oracle import utility but the file that it generates needs a little more formating before we can run this as simple DDL comands to generate the schema at Target using the script file.Here is the simplified output of... (1 Reply)
Discussion started by: rajan_san
1 Replies
5. UNIX for Advanced & Expert Users
Dear All....Help required
prtdiag -v command shows no output on my V440 server.
Following is the details:
root@sdp16b>prtdiag -v
root@sdp16b>
root@sdp16b>uname -a
SunOS sdp16b 5.9 Generic_122300-31 sun4u sparc SUNW,Sun-Fire-V440
root@sdp16b>echo $path
/usr/sbin /usr/bin /usr/sbin... (6 Replies)
Discussion started by: Junaid
6 Replies
6. Shell Programming and Scripting
Hi again:
I have this code which gives an large output(several screens), and I want to display on screen at a time (like more does)....how can I do this?
echo
echo "Los roles en el sistema son:"
echo
lsrole -a dfltmsg ALL|sed 's/dfltmsg=/Descripcion=/'
thanks
Israel. (4 Replies)
Discussion started by: iga3725
4 Replies
7. Shell Programming and Scripting
Hi
we are calling kill -9 $pid command from bash script it gives below output, but we need to hide the output. i tried /dev/null but ni luck. is there any alternate way to schive this.
../kill_scr.sh: line 42: 1891 Killed /tmp/anr_rest_mul_wc.sh
Soalris 10.
... (2 Replies)
Discussion started by: sachinbutala
2 Replies
8. Shell Programming and Scripting
Hi Guys,
Good day! I hope you could help me on this, I have a file that conatins output upon executing cat /var/log/messages, then what I want is to get the logs that has been generated only starting from 24-hours earlier at the time of actual execution of the script. Is this possible?
Best... (9 Replies)
Discussion started by: rymnd_12345
9 Replies
9. UNIX for Dummies Questions & Answers
fileset='APP11.txt APP12.txt SPACEDB11.txt WEB11.txt WEB12.txt'
Hi there,
Give the fileset, if I can use grep to find all the files.
How do I show:
All Servers:
instead of
APP11.txt:
APP12.txt:
SPACEDB11.txt:
WEB11.txt:
WEB12.txt: (6 Replies)
Discussion started by: alvinoo
6 Replies
10. UNIX for Beginners Questions & Answers
I am trying to consolidate multiple information files (<hostname>.Linux.nfslist) into one file so that I can import it into Excel. I can get the file contents with cat *Linux.nfslist >> nfslist.txt. I need each line prefaced with the hostname. I am unsure how to do this.
--- Post updated at... (5 Replies)
Discussion started by: Kentlee65
5 Replies
recserv(1M) recserv(1M)
NAME
recserv - HP SharedX Receiver Service
SYNOPSIS
/usr/lbin/recserv
DESCRIPTION
HP SharedX Receiver Service provides a method for a receiver to allow the sharing of windows without explicitly performing any xhost com-
mands. The Internet daemon (inetd(1M)) executes recserv when it receives a service request at the port listed in the services data base
for recserv (see inetd(1m) and services(4)).
When recserv is executed via inetd, a dialog box appears informing the receiver of the share request by the sender. The receiver can allow
or disallow the share request by selecting the YES or NO button.
recserv allows sharing by xhosting the sender just long enough for it to make a connection to the receiver. Once the connection is estab-
lished recserv removes the sender from the access control list, unless the sender was entered in the list prior to the execution of rec-
serv. Since no permanent change is made to the access control list, security is maintained at its highest level.
To start recserv from the Internet daemon, the configuration file /etc/inetd.conf must include the single line entry,
recserv stream tcp nowait bin /usr/lbin/recserv recserv -display :0
If the sharing is going to be done between IPv6 machines, the protocol field of the above entry in /etc/inetd.conf file of the receiver
machine should be changed to tcp6 as follows
recserv stream tcp6 nowait bin /usr/lbin/recserv recserv -display :0
and the services file /etc/services must include the line,
recserv 7815/tcp # SharedX Receiver Service
Receiver Service options, set by selecting the Options button, dictate the behavior of recserv. The behavior can also be set by running
recserv manually. In either case, an X server resource is set dictating the behavior for subsequent invocations of recserv.
OPTIONS
The following options allow different behavior according to user preferences.
AlwaysAsk
The dialog will pop up each time sharing is requested, regardless of the security on your X server.
AlwaysAllow
The dialog box never appears, but sharing will always be allowed.
AskUnhosted
The dialog will pop up only if the sender's machine is not hosted on your machine. If the sender's machine is already
hosted, sharing will occur without a dialog appearing.
NeverAsk
The dialog will never appear. Windows are shared only if the sender's machine is already hosted by your server.
To set resources (system behavior, label strings, etc) globally for a system, edit the file /usr/lib/X11/app-defaults/RecServ.
AUTHOR
HP SharedX Receiver Service was developed by Hewlett Packard.
SEE ALSO
SharedX(1), inetd(1M), xhost(1), hosts(4), inetd.conf(4), inetd.sec(4), services(4).
recserv(1M)