Is it possible to store all standard-out of a bash script and the binaries it calls in a log file AND still display the stdout on screen?
I know this is possible to store ALL stdout/stderr of a script to a single log file like:
exec 1>&${logFile}
exec 2>&1
But running a script with the... (3 Replies)
I have a bash script that has been running fine for months that scans a bunch of files and gives me a log file output, it has suddenly started putting 1.5M of a repeating sequence of ^@^@^@^@^@^@^@^@^@^@ on the first line of the logfile, is this a unicode problem I should be setting something in my... (5 Replies)
Hi,
I have written a small script from that iam appending the output to a file.If multiple users invoke the same script or if i invoke the same script n number of times (using &), the output file(ZZ/OUT) contains messup information.
#!/bin/bash
#
echo "Hello" >> /tmp/ZZ/OUT
sleep 10
echo... (4 Replies)
Hi
Please see if you have come across any aprts of this. I can read, integrate and syntehsixe. Any help you could offer me would be super. thanks in advance!
Good day.
Thank you for your response in this matter. Here are some further details:
1) scripting is to be in BASH... (1 Reply)
hi .. am new to bash script..
#!/bin/bash
logfile = "${HOME}/log/test.log"
./1.sh
echo " script over "
can anyone telme hw to set the logfile ?? the above code calls the 1.sh and echo statement gets printed in cmd prompt, but i could not see the log file . (8 Replies)
I'm attempting to write a bash script that will create a network between virtual machines. It accepts three arguments: an RSpec that describes the network topology, and two list of machines (servers and clients).
I have a (working) Perl script that I want to call. This Perl script takes an RSpec... (6 Replies)
I'm putting together a fairly simple script, to check "secure.log" for content and email the results in a cron, nightly. The script runs fine upon manual execution, it's a problem when ran in cron. This is on a Mac server. Any thoughts?
#!bin/bash
#Email secure.log, nightly.
Subject="Secure... (6 Replies)
Hi All,
I need something where I could take the date from FILE1 and in this case the date is Thu Sep 10 13:48:42 EDT 2015 and I need it to match the closest PREVIOUS date in the log file FILE2 this means in this specific case it would be Thu Sep 10 2015 13:35:28.
I only need the closest... (3 Replies)
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)
I am trying to create a script that checks if my VPN connection is up and running...
Everything seems to work as except but for some reason, the script fills up my /var/log/auth.log with the below information
Dec 13 01:07:44 debian sudo: soichiro : TTY=pts/0 ; PWD=/home/soichiro/Desktop ;... (5 Replies)
Discussion started by: soichiro
5 Replies
LEARN ABOUT SUSE
svn-inject
SVN-INJECT(1) Command reference SVN-INJECT(1)NAME
svn-inject - puts a Debian source package into Subversion repository
SYNOPSIS
svn-inject [options]
package.dsc
repository_URL
OPTIONS
svn-inject accepts the following options on the command-line:
-h
print the help menu
-v
Make the command output verbose
Default: Off.
-q
Hide less important messages
Default: Off.
-l
Layout type. 1 (default) means package/{trunk,tags,branches,...} scheme, 2 means the {trunk,tags,branches,...}/package scheme.
Default: 1
-t directory
Specify the directory where the .orig.tar.gz files are stored on the local machine.
Default: Off.
-d | --do-like=directory
Looks at the working directory of some other package and uses its base URL, tarball storage directory and similar checkout target
directory.
Default: Off.
-c number
Checkout nothing (0), trunk directory (1) or everything (2) when the work is done.
Default: 1
-o
Only keep modified files under SVN control (including the debian/ directory), track only parts of upstream branch
Default: Off.
-O | --no-branches
Do not create the branches subdirectory at all. This works in a similar way to -o but all changes on upstream files (e.g. meta changes
like updating the config.guess and config.sub files) are ignored and the upstream branch is not used.
Default: use branches/.
-s
By default, svn-inject used to create .svn/deb-layout after an inject operation if a checkout followed the inject. Since version 0.6.22
this behaviour is deprecated.
With this parameter svn-inject will replicate the old behaviour.
This option was provided since it can be useful when creating a local override file.
Default: Off.
-setprops -set-props
Set svn-bp:* props on the debian directory automatically.
Default: Off.
SEE ALSO
/usr/share/doc/svn-buildpackage/()
The svn-buildpackage HOWTO manual
svn-upgrade(1)
upgrade source package from a new upstream revision.
svn(1)
Subversion command line client tool
dpkg-buildpackage(1)
Debian source package tools
AUTHORS
Eduard Bloch
This manual page was written by Eduard Bloch in roff.
Goneri Le Bouder
Converted manpages to SGML.
Neil Williams
Converted manpages to DocBook XML and current Debian maintainer
COPYRIGHT
Copyright (C) 2009 Eduard Bloch
Release: 0.8.2 May 2009 SVN-INJECT(1)