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
MAVEN(1) User Commands MAVEN(1)
NAME
Maven - manual page for Maven Repo Helper version 1.7.1
SYNOPSIS
mh_make [option]...
DESCRIPTION
Generate the Debian packaging by reading the information from the Maven POM.
OPTIONS
-h --help: show this text
-V --version: show the version
-s<svn url> --from-svn=<svn url>: download the source code from
the SVN repository before building the Debian packaging. Use a tagged branch of the source code, for example
http://svn.apache.org/repos/asf/felix/releases/org.osgi.core-1.2.0/
-p<package> --package=<package>: name of the source package
-b<package> --bin-package=<package>: name of the binary package
-t<true|false> --run-tests=<true|false>: include or not the tests
-d<true|false> --javadoc=<true|false>: include or not the javadoc
during the build
-a --ant: use Ant for the packaging instead of Maven
-v --verbose: show more information while running
To have mh_make working properly, you need first to install on your system as many dependencies for your project as possible. Those depen-
dencies should also contain the required Maven metadata (POM files and jars in the /usr/share/maven-repo repository)
Environment variables:
DEBFULLNAME - your full name, e.g. John Doe DEBEMAIL - your packager email address DEBLICENSE - the license for the files under the
debian/ directory
must be one of GPL2, GPL3, LGPL2.1, Apache-2.0, BSD or any license short name defined in http://dep.debian.net/deps/dep5/
Maven Repo Helper version 1.7.1 May 2012 MAVEN(1)