10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi Guys,
this is the scenario:
ubuntu pc and I have 10 wireless devices that I need to check their firmware version.
I would like to create a script that it will ask me IP, after I enter it, I hit enter then it will show me the version of the firmware.
this is what i do.
ssh... (9 Replies)
Discussion started by: gabak
9 Replies
2. Shell Programming and Scripting
Hi,
I need to run a script located in a directory on remote server by using ssh authentication from my local unix server. Can anyone help me in this.
I have tried the below command. It worked for echo command but when i tried to open a file using cat command it is showing "cat: cannot open... (6 Replies)
Discussion started by: ssk250
6 Replies
3. Shell Programming and Scripting
I'm working on a script to SSH and SUDO as (sap user sidadm) then automatically run commands that the sidadm user can run such as R3trans -v, tp, etc..
I can SSH without password and SUDO..
but the commands don't run after I SSH and SUDO to the sidadm user...here is the commands that I've... (2 Replies)
Discussion started by: icemanj
2 Replies
4. Shell Programming and Scripting
Hi All,
I have the below requirement.
I want to copy the local file to remote after that i need to run the local script on a remote machine.When i use two ssh commnds i can achieve this. But i want to achieve this using one ssh command.
Below command to copy the local file to remote
ssh -q... (2 Replies)
Discussion started by: mohanalakshmi
2 Replies
5. UNIX for Dummies Questions & Answers
I have many command is list in the variable lists,each command will run a very long time, so I want to run 5 commands at the same time with process till it complete run all the command,
lists="aa bb cc dd xx gg blabla zz ......." ( a very long list)
can some one point me the codes?
... (7 Replies)
Discussion started by: yanglei_fage
7 Replies
6. UNIX for Dummies Questions & Answers
Dear every one,
I am working with the data of my lab program and I have to do many times by the same list of some commands (grep, then save to file, then use awk to delete odd lines, save to file, use awk to delete even lines, save to file...).
Is there any way to save a list of command which I... (4 Replies)
Discussion started by: phamnu
4 Replies
7. AIX
Hello,
I am testing sudo and I want to test it. Can anyone please let me know few commands (of course other than shutdown, reboot etc. as I can't reboot the box) on AIX that can be run by ROOT only.
Thanks
---------- Post updated at 07:43 PM ---------- Previous update was at 07:38 PM... (5 Replies)
Discussion started by: prvnrk
5 Replies
8. AIX
Guys,
Totally new to this...
I have asked to create a Central access printer to an AIX Server..
Spoolserver : SapErpDev_DEV_00
Host : SapErpDev IP : 172.30.1.17
Device type : HPLJ4
Printer model - HPLJ 4 : HP laserjet 4 series PCL - 5
Question..
From my understanding, I... (3 Replies)
Discussion started by: mushr00m
3 Replies
9. UNIX and Linux Applications
I am developing an application that submits command line file transfers using ssh (Sun to Sun) and Tectia ssh (Sun to Windows Server) embedded in the code. Potentially many different trusted people will start the programs. Is there a way to have all the settings and keys localized so that there is... (0 Replies)
Discussion started by: PowersThatB
0 Replies
10. Shell Programming and Scripting
I need to run a set of commands on a remote machine using ssh. it should also collect output and return status of each command. Can someone help me how to do this? (1 Reply)
Discussion started by: vickylife
1 Replies
RunTargetUnitTests(1) BSD General Commands Manual RunTargetUnitTests(1)
NAME
RunTargetUnitTests -- run unit tests for the current target
SYNOPSIS
RunTargetUnitTests
DESCRIPTION
RunTargetUnitTests examines its environment and runs the unit tests it presumes are present using otest(1).
RunTargetUnitTests is intended to be called from a shell script build phase. It expects certain environment variables to be configured from
Xcode build settings (see below).
RunTargetUnitTests will run tests for all built architectures appropriate for the machine running the tests.
ENVIRONMENT
ARCHS The architectures the tests were built for; when tests are run, they will be run once per architecture. If unspecified,
tests are run for the architecture returned by arch(1).
DEVELOPER_DIR The Xcode folder, e.g. "/Developer". If unspecified the value for SYSTEM_DEVELOPER_DIR will be used, or "/Developer" if
that also is unspecified.
BUILT_PRODUCTS_DIR The directory containing built products; when tests are run, this is specified in DYLD_FRAMEWORK_PATH. If unspecified
tests are run from the current working directory with no DYLD_FRAMEWORK_PATH.
FULL_PRODUCT_NAME The full name of the built product, including its wrapper extension if any.
GCC_ENABLE_OBJC_GC Whether or not the test bundle was compiled with Objective-C garbage collection enabled. Possible values are
unsupported, supported, and required. If not set, defaults to unsupported, which will run otest(1) with Objective-C
garbage collection disabled.
NATIVE_ARCH_ACTUAL The architecture of the machine running the tests, used to determine for which architectures tests can be run. If
unspecified, defaults to the architecture returned by arch(1).
OTEST The path to the otest command line tool; defaults to /Developer/Tools/otest.
TEST_AFTER_BUILD Set to YES to run tests, any other value will prevent test execution.
FILES
/Developer/Tools/RunTargetUnitTests The script used to run tests from a shell script build phase.
/Developer/Tools/otest The OCUnit test rig.
SEE ALSO
arch(1), otest(1)
Mac OS X June 2, 2019 Mac OS X