I have the below lines of code.
I m getting the below error while running the above script.
I tried this echo "APP_NAME="$APP_NAME>"{$APP_NAME}"_Deploy.cfg
This time i did not get the error but the .cfg files were not generated when they should.
Can you please help fix this.
Moderator's Comments:
Please use code tags consistently and correctly (not quote tags)!
Last edited by RudiC; 05-26-2016 at 06:20 AM..
Reason: Added / corrected code tags.
Hi,
I was trying to cat some files but not all of them exist.
I would get some messages like below:
cat: cannot open /mil2_usr1/time_logs/investigator/6334
cat: cannot open /mil3_usr1/time_logs/investigator/6334
cat: cannot open /mil3_usr1/time_logs/investigator/6352
I don't want to see... (1 Reply)
Hi, I use this function (now modified with elif) for check if a pc is up: check_pc() {
$PING $PC 1 2> /dev/null
if ; then
check_dir #Other function
echo "Begin backup operation for $PC"
echo "$SMBTAR -s $PC -u $USER -p $PASS -x $SHARE$EXCL -t - | gzip -c >... (3 Replies)
Hi,
I am new in shell scripting.
Can anyone point out what wrong of below script.
If I want the error output to "sqlerror.log"
and database pool data output to "bulk_main.dat".
Right now, the below script, if successful execute, the data will output to
bulk_main.dat && sqlerror.log both... (7 Replies)
Hello,
I have a java program which i am calling in shell script. I wanted to redirect output to 2 differetn files. Output should have both 1 & 2 (normal and error) in both file.
pls help (2 Replies)
Hi all,
Maybe my question is too simple but till now i couldn't figure about a solution :(
I have a bash script scheduled in cron:
<cron time parameters> my_script.sh > result.log 2>&1
By this way i can have standard output and standard error in my result.log file
Now i want my script... (2 Replies)
Hi everyone, While I was trying to do
DATE=`date +"%Y%m%d_%H%M%S"`
STARTLOG=$TUXSTDDIR/start_$DATE.log
tmboot -y > $STARTLOG 2>&1
I got an error i.e. Ambiguous output redirect error. Here the first part is to boot the account so there is nothing wrong with that.... (6 Replies)
hi,
i want to redirect my output & error if generated to two different files. I
have written the code for redirecting the output, i dnt have ne idea how to
go abt it for errors. I tried spooling which was given in one of the
threads on this forum.But it didn't work.The script i wrote as a lot... (4 Replies)
This script has ambiguous redirect error.
...
cd $HOME
cd folder/work
# search all subfolders in work directory
find -mindepth 1 -maxdepth 1 -type d | while read directory
do
CUR_FOLDER="${directory#"./"}"
cd $CUR_FOLDER
chmod 644 *
for ff in *; do
if ; then
... (5 Replies)
Hi,
I need help on following linux bash script. When I linux commands for loop or while loop on individual file it runs great. but now I want the script to run on N number of files so it gives me ambiguous redirect error on line 12 and syntax error on line 22 : (pls help );
#!/bin/bash
#... (16 Replies)
hi all,
i had the below script
filename = /osa/data1/output.txt
printf '%27s%53s\n' ' CURRENT DATE' 26-08-2014 >> $filename
iam getting the ambigiuos redirect error in the 2nd line of the code...please guide me
regards,
vasa saikumar (3 Replies)
Discussion started by: hemanthsaikumar
3 Replies
LEARN ABOUT DEBIAN
hobbit-nkview.cfg
HOBBIT-NKVIEW.CFG(5) File Formats Manual HOBBIT-NKVIEW.CFG(5)NAME
hobbit-nkview.cfg - Configuration of the hobbitgraph CGI
SYNOPSIS
$BBHOME/etc/hobbit-nkview.cfg
DESCRIPTION hobbit-nkview.cgi(1) uses the configuration file $BBHOME/etc/hobbit-nkview.cfg to determine which of the statuses currently in a red or
yellow state should appear on the Critical Systems view.
This file should not be edited manually. It is maintained by the hobbit-nkeedit.cgi(1) utility via a web-based frontend.
FILE PERMISSIONS
Since the file is maintained by a web front-end tool, the userid running Web CGI scripts must have write-permission to the file. Typi-
cally, this means it must have a group-ownership matching your webserver userid, and group-write permissions (mode 664).
When editing the file with the web front-end, a backup file is created. Therefore the hobbit-nkview.cfg.bak file should have identical
permissions.
SEE ALSO hobbit-nkview.cgi(1), hobbit-nkedit.cgi(1)Xymon Version 4.2.3: 4 Feb 2009 HOBBIT-NKVIEW.CFG(5)