10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I was wondering if I could get some feedback on my script to grab time from our MDM... I blocked out all of the important stuff. I really appreciate any guidance, since I am long out of practice.
#!/bin/bash
serial=$1
# get last seen value of ipad
lastseen=$(curl -s -X "GET"... (11 Replies)
Discussion started by: andysensible
11 Replies
2. War Stories
Hello All,
Finally I am posting an issue and it's solution which I faced last week. Let me explain it by headings.
Issue's background: It was a nice Tuesday for me, went to office as usual started checking emails and work assigned to me. Suddenly a gentleman reached out to me on my desk(in a... (2 Replies)
Discussion started by: RavinderSingh13
2 Replies
3. Shell Programming and Scripting
Hi,
I have a lengthy script which i have trimmed down for a test case as below.
more run.sh
#!/bin/bash
paths="allpath.txt"
while IFS= read -r loc
do
echo "Working on $loc"
startdir=$loc
find "$startdir" -type f \( ! -name "*.log*" ! -name "*.class*" \) -print |
while read file
do... (8 Replies)
Discussion started by: mohtashims
8 Replies
4. UNIX for Dummies Questions & Answers
Hi!
I have to run a very long script. I use a ssh client on Windows in order to connect to a HP-UX box. What I try to avoid is the possibility that the Windows machine reboots or loses the connection to the Unix machine before the script finishes.
Somebody told me that xterm could help me. He... (2 Replies)
Discussion started by: Ricardo Vargas
2 Replies
5. Ubuntu
You probably know the answer to this, because I know it exists.
I have super long filenames with md5 hashes and I sucks to type the whole hash in the console. Because... just because :P
What is the shortcut for selecting a file in the current directory? Like you get a sort of loop through the... (1 Reply)
Discussion started by: hellfire1
1 Replies
6. OS X (Apple)
Hello,
I was wondering how to change a user's Long Name through the terminal. I am writing a shell script to change some settings back to the default, and could not find how to do this (or even if you can do this).
I do not want to use applescript. (2 Replies)
Discussion started by: The Reepr
2 Replies
7. Shell Programming and Scripting
Hi,
I have written a tcsh script that reads 3 directories, lists the files within them and continues on to evaluate each file independently. When I run the script, it gets to a certain directory that contains ~250 files, when you echo the directory, there are 4332 characters. So, when I use the... (1 Reply)
Discussion started by: nixjennings
1 Replies
8. Shell Programming and Scripting
When running a ksh script, how would you time how long it took the script ran for?
Is there a command that can capture this? (1 Reply)
Discussion started by: Jazmania
1 Replies
9. UNIX for Dummies Questions & Answers
Is there a way to tell how long does a shell script(or a shell command)'s execution take? (4 Replies)
Discussion started by: meili100
4 Replies
10. Shell Programming and Scripting
Hello,
I wrote a script, which would ideally take about 480 hours to runs (It has to do a same thing 60 times.) But the problem is I have to use a VPN Client to get to the network before connecting to the machine. The Client automatically closes after 10 hours, closing my console and thus my... (3 Replies)
Discussion started by: sakya_trips
3 Replies
MVN_BUILD(7) Java Packages Tools MVN_BUILD(7)
NAME
mvn_build - build Maven project with XMvn
SYNOPSIS
%mvn_build [options] [-- Maven-arguments]
DESCRIPTION
mvn_build macro builds Maven project by calling XMvn and generates reactor structure information to be used by mvn_install.
By default Maven phase verify and goal javadoc:aggregate are executed, as well as some additional XMvn-specific goals or phases. If -f is
specified then phase package is executed instead of verify. If -j is given then goal javadoc:aggregate is skipped.
Any arguments after -- are passed directly to XMvn. See xmvn(1) for more information on availability of XMvn options.
OPTIONS
-d, --xmvn-debug
Enable XMvn debugging output. This option causes XMvn to write verbose debugging information to standard output. Debugging information
includes at least details about artifact resolution from system repositories.
-f, --force
Skip compilation and execution of unit and integration tests, as well as resolution of build dependencies with scope test. This option
causes Maven phase package to be executed instead of default phase verify, defines property maven.test.skip=true which disables
compilation and execution of tests and causes XMvn to remove any project dependencies with scope test.
-i, --skip-install
Skip artifact installation. This option disables generation of reactor structure information so that future calls to mvn_install will
not result in installation of artifacts produced in current Maven reactor.
-j, --skip-javadoc
Skip javadoc generation. This option skips running Maven Javadoc Plugin. Useful for packages which don't want to produce Java API
documentation.
-s, --singleton
Enable singleton packaging (one artifact per package). This option causes artifacts with identical artifactId to be installed as part
of the same subpackage. This behavior can be further customized by adding more specific packaging rules with mvn_package.
-X, --debug
Enable Maven debugging output. Implies -d. This option causes Maven to write verbose debugging information to standard output.
ENVIRONMENT
xmvn_bootstrap
Run XMvn in online mode. If xmvn_bootstrap RPM macro is defined to any value then XMvn is ran in online mode. Otherwise XMvn is ran in
offline mode. Online mode of XMvn allows missing dependency artifacts to be fetched from remote repositories. This behavior is mostly
useful when bootstrapping new packages, which dependecies have not yet been packaged.
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_compat_version(7), mvn_config(7), mvn_file(7), mvn_package(7), xmvn(1).
JAVAPACKAGES
06/10/2014 MVN_BUILD(7)