09-21-2010
Command to execute commands one after other
I am writng a script in which there is an installation file.The installer runs good. But after the installer command there are some files and commands which are based on those installed files. Now problem is the commands get executed before the installer is totally installed. So is there any command which stops the execution other commands untill the installer is completely done.
suppose installer is ./runinstaller -silent
cp /root/user/(installed file)
problem is installed file is executed before run installer is completely installed
error :cant find the file
10 More Discussions You Might Find Interesting
1. Solaris
I'm new in Sun, i just recieved a sun v100 server, i already connected the server to a workstation (using the hyperterminal tool) and it seemmed to be fine... however when the LOM> prompt appears and i try to introduce various commands but it does nothing.
LOMlite starting up.
CPU type:... (6 Replies)
Discussion started by: pasalagua
6 Replies
2. Shell Programming and Scripting
I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config.
I am not sure if I can do this with BASH scripting.
I have set up password less login by adding my public key to authorized_keys file, it works.
I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies
3. Shell Programming and Scripting
I am checking that a file is older than a reference file that I build with a touch command before processing it. If it is not old enough, I want to sleep for an hour and check again.
My problem is if it is old enough to process, I want to exit when I am done, but I cannot find a way to exit... (2 Replies)
Discussion started by: prismtx
2 Replies
4. Shell Programming and Scripting
Hi All,
Please let me know how do I execute some of the shell commands like cat, find ,grep within sftp.
Any help in this regard would be greatly appreciated.
Thanks, (5 Replies)
Discussion started by: tommy1
5 Replies
5. UNIX for Dummies Questions & Answers
have to run multiple commands at a
specified time by the user... (3 Replies)
Discussion started by: hemaa
3 Replies
6. Shell Programming and Scripting
Hi
Can someone help me to figure out
Want to execute few cmds in remote host thru ssh
Tried below cmd
-------------------------------excerpt-------------------
RDIR=/data1/logs ---> variable stores rem. server directory
TODAY="`date '+%b %d'`"
ssh -i $userid@$host "cd... (2 Replies)
Discussion started by: id100
2 Replies
7. Shell Programming and Scripting
Hi @all
I have got the following problem:
I want my Master-Script to execute 2 Sub-scripts at the same time.
How can i realize that?
Thx for your help
Greez Roger (2 Replies)
Discussion started by: DarkSwiss
2 Replies
8. Shell Programming and Scripting
I would like to execute multipe commands in a shell script. Please provide the commands for the below scenario:
Execute command1
if command1 is succesfull, then execute command2, command3,command4 in parallel
if command2, command3,command4 are success then run command 5 (3 Replies)
Discussion started by: p_gautham12
3 Replies
9. Shell Programming and Scripting
I made a configuration file for my shell script in that all the values that the shell scipt needs, are defined, but I don't know how to let the shell script use those defined variables.
Thank you for your help :) (3 Replies)
Discussion started by: Alkali
3 Replies
10. Shell Programming and Scripting
Hi,
I am using solaris 10 and bash shell.Script execution follows below.Initially it will check whether a directory exists or not if does not exist it will create it.(This I have completed)
Second step:I have four users say user1,user2,user3,user4.Script should prompt for the user id and... (11 Replies)
Discussion started by: muraliinfy04
11 Replies
LEARN ABOUT CENTOS
mvn_file
MVN_FILE(7) Java Packages Tools MVN_FILE(7)
NAME
mvn_file - set installation location(s) for Maven artifact(s)
SYNOPSIS
%mvn_file artifact-coordinates primary-file [secondary-file ...]
DESCRIPTION
mvn_file macro causes instructions for artifact installation to be added to XMvn reactor configuration. It is used to control locations of
artifact files in file system. (The exact meaning of artifact location is dependant on particular implementation of XMvn repository into
which artifacts will be installed.)
Specified artifact coordinates must match at least one artifact. If not then behavior is unspecified. It is possible to specify artifact
coordinates matching multiple artifacts, so one call to mvn_file can affect installation of more than one artifact.
OPERANDS
artifact-coordinates
Artifact coordinates specify artifact(s) that this rule applies to. Coordinates are in format
groupId:artifactId[:extension[:classifier]][:version]. If extension is specified then version must be specified too. If any part is
omitted or equal to empty string then it matches any string. Wildcards and brace expansions are supported in each part. For more
information see XMvn Configuration Reference.
primary-file
Primary location of artifact file. This operand is passed directly to XMvn installer. Its exact meaning is specific to particular
repository implementation used to install given artifact. Backreferences are supported in form @n, where n is an integer corresponding
to brace in artifact-coordinates.
secondary-file
Secondary location of artifact file. There can be any number (zero or more) of secondary artifact files. These operands are passed
directly to XMvn installer. Their exact meaning is specific to particular repository implementation used to install given artifact.
Backreferences are supported in form @n, where n is an integer corresponding to brace in artifact-coordinates.
AUTHOR
Originally written by Mikolaj Izdebski. Versions 3.0.0 and later were written by Stanislav Ochotnicky.
REPORTING BUGS
Bugs should be reported through Red Hat Bugzilla at http://bugzilla.redhat.com/.
SEE ALSO
mvn_alias(7), mvn_build(7), mvn_compat_version(7), mvn_config(7), mvn_package(7), xmvn(1).
JAVAPACKAGES
06/10/2014 MVN_FILE(7)