7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. Shell Programming and Scripting
I am facing a weird issue while executing a code below -
sh UKBA_publish.sh UKBA 28082015 3
echo "Param file conversion for all the areas are completed, please check in your home directory"... (2 Replies)
Discussion started by: ektubbe
3. UNIX for Dummies Questions & Answers
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.
echo "The script is called"... (2 Replies)
Discussion started by: Raj Roy
4. Shell Programming and Scripting
I am using blow script :--
FIND=$(ps -elf | grep "snmp_trap.sh" | grep -v grep) #check snmp_trap.sh is running or not
# echo "process found"
echo "process not found"
exec /home/Ketan_r /snmp_trap.sh 2>&1 & disown -h ... (1 Reply)
Discussion started by: ketanraut
5. Shell Programming and Scripting
I have this scenario in place:
1. I have checked in Selenium Java files (Test cases) into my usual build and they are getting compiled in .class files.
2. I also have a build.xml which is used to run these tests. It basically has this:
RELEASE_ROOT this has been set to the Java... (11 Replies)
Discussion started by: ankur328
I am trying to run Selenium Scripts on my server.
System is a Linux Box and I am accessing it via Putty. I have some basic admin privileges for it.
1. A build.xml has been created which has this
o RELEASE_ROOT this has been set to the Java Project folder.
o... (1 Reply)
Discussion started by: ankur328
7. Shell Programming and Scripting
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.
echo " $2 $3 $4 $5 $6 $7
isql -w400 -U$2 -S$5 -P$3 << xxx
print"**Changes to the table... (0 Replies)
Discussion started by: magikminox
ATF-SH(1) BSD General Commands Manual ATF-SH(1)
atf-sh [-s shell] -- interpreter for shell-based test programs
atf-sh is an interpreter that runs the test program given in script after loading the atf-sh(3) library.
atf-sh is not a real interpreter though: it is just a wrapper around the system-wide shell defined by ATF_SHELL. atf-sh executes the inter-
preter, loads the atf-sh(3) library and then runs the script. You must consider atf-sh to be a POSIX shell by default and thus should not
use any non-standard extensions.
The following options are available:
-s shell Specifies the shell to use instead of the value provided by ATF_SHELL.
ATF_LIBEXECDIR Overrides the builtin directory where atf-sh is located. Should not be overridden other than for testing purposes.
ATF_PKGDATADIR Overrides the builtin directory where libatf-sh.subr is located. Should not be overridden other than for testing purposes.
ATF_SHELL Path to the system shell to be used in the generated scripts. Scripts must not rely on this variable being set to select a
Scripts using atf-sh(3) should start with:
#! /usr/bin/env atf-sh
Alternatively, if you want to explicitly choose a shell interpreter, you cannot rely on env(1) to find atf-sh. Instead, you have to hardcode
the path to atf-sh in the script and then use the -s option afterwards as a single parameter:
#! /path/to/bin/atf-sh -s/bin/bash
ATF_SHELL Path to the system shell to be used in the generated scripts.
September 27, 2014 BSD