Sponsored Content
Full Discussion: script to develope
Top Forums Shell Programming and Scripting script to develope Post 302150736 by vgersh99 on Wednesday 12th of December 2007 11:47:04 AM
Old 12-12-2007
Pls read the Rules of these forums - no homework allowed.
Thread closed!
 

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

create a shell script that calls another script and and an awk script

Hi guys I have a shell script that executes sql statemets and sends the output to a file.the script takes in parameters executes sql and sends the result to an output file. #!/bin/sh echo " $2 $3 $4 $5 $6 $7 isql -w400 -U$2 -S$5 -P$3 << xxx use $4 go print"**Changes to the table... (0 Replies)
Discussion started by: magikminox
0 Replies

2. Shell Programming and Scripting

Script will keep checking running status of another script and also restart called script at night

I am using blow script :-- #!/bin/bash FIND=$(ps -elf | grep "snmp_trap.sh" | grep -v grep) #check snmp_trap.sh is running or not if then # echo "process found" exit 0; else echo "process not found" exec /home/Ketan_r /snmp_trap.sh 2>&1 & disown -h ... (1 Reply)
Discussion started by: ketanraut
1 Replies

3. UNIX for Dummies Questions & Answers

Calling a script from master script to get value from called script

I am trying to call a script(callingscript.sh) from a master script(masterscript.sh) to get string type value from calling script to master script. I have used scripts mentioned below. #masterscript.sh ./callingscript.sh echo $fileExist #callingscript.sh echo "The script is called"... (2 Replies)
Discussion started by: Raj Roy
2 Replies

4. Shell Programming and Scripting

Shell script works fine as a standalone script but not as part of a bigger script

Hello all, I am facing a weird issue while executing a code below - #!/bin/bash cd /wload/baot/home/baotasa0/sandboxes_finance/ext_ukba_bde/pset sh UKBA_publish.sh UKBA 28082015 3 if then echo "Param file conversion for all the areas are completed, please check in your home directory"... (2 Replies)
Discussion started by: ektubbe
2 Replies

5. Shell Programming and Scripting

How to block first bash script until second bash script script launches web server/site?

I'm new to utilities like socat and netcat and I'm not clear if they will do what I need. I have a "compileDeployStartWebServer.sh" script and a "StartBrowser.sh" script that are started by emacs/elisp at the same time in two different processes. I'm using Cygwin bash on Windows 10. My... (3 Replies)
Discussion started by: siegfried
3 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)
All times are GMT -4. The time now is 05:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy