10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have the the below script
more runcda.sh
if *\).*/\1/p' $1_dr) ]; then
echo "ParallelGCThreads Found with Value"
else
echo "ParallelGCThreads Not Found - Add !!"
fi
$ ./runcda.sh output.log
./runcda.sh: test: argument expected
ParallelGCThreads Not Found - Add !!
Why am i... (2 Replies)
Discussion started by: mohtashims
2 Replies
2. Shell Programming and Scripting
Hi All
I have written below basic restart script but it is giving me the following error -
error - syntax error at line 40 : `else' is not matched .
below is the script can someone assist me what i am doing wrong -
#!/bin/ksh
cd bin
. ./set_sysm
sleep 60
./swstop -f 0
... (1 Reply)
Discussion started by: honey26
1 Replies
3. Shell Programming and Scripting
Hi all,
I have to run C++ file using root programming, using following commands:
$root -l
root .L TwoTrees.C++
root TwoTrees t
root t.Loop()
root.q
I wonder if I can write script to do the following.
Thanks
Pooja (12 Replies)
Discussion started by: nrjrasaxena
12 Replies
4. Shell Programming and Scripting
Hi, I have a script running while rsync command is fired to push some files. The output of rsync cmd has been redirected to the script which is used to generate log files containing progress info with formatting. when I enter ps -ef | grep rsync it shows the full scripting code on the cmd line... (2 Replies)
Discussion started by: rajeevra
2 Replies
5. Programming
Hi,
I am new to this forum and do not know whether this is the appropriate place to post this question. Anyway am trying my luck.
I have a fortran program swanhcat.ftn, which is part of a wave modelling system. There is also a file hcat.nml which is required to run this program. The program's... (9 Replies)
Discussion started by: sandhyakg
9 Replies
6. Red Hat
Hi,
I am getiing emails from cron.daily with subject:
Cron root@vsftp run-parts /etc/cron.daily
/etc/cron.daily/logrotate:
/sbin/killall -HUP radiusd
: line 1: /sbin/killall: No such file or directory
error: error running postrotate script for /var/log/vsftpd/logfile
the... (6 Replies)
Discussion started by: renuka
6 Replies
7. Solaris
Hi All,
Need your guuys help here.
#!/bin/bash
{
echo "POLICY LIST"
echo "===================================="
bppllist
echo " "
echo "POLICY DETAILS"
echo "===================================="
for type in daily weekly monthly quarterly
echo... (6 Replies)
Discussion started by: ronny_nch
6 Replies
8. Programming
Hi Sir,
I am running C program which include directfb.h header files.
root@lxdevenv:~/Desktop# vi n.c
root@lxdevenv:~/Desktop# gcc n.c -o n -I/usr/local/include/directfb -L/usr/local/lib -ldirectfb -lfusion -ldirect -lpthread -lm
n.c: In function ‘main':... (2 Replies)
Discussion started by: Ravikishore
2 Replies
9. Shell Programming and Scripting
Hi all,
I have created a script file .sh and had some allias commands, local variable, some grep features, and listing files/directories, and it worked correctly and I got the outputs I am looking for after I run the script . However, some of the grep commands and some other functions did not... (2 Replies)
Discussion started by: aama100
2 Replies
10. UNIX for Dummies Questions & Answers
Hi all,
By running a (command) script I'm getting the following
error: .: /usr/bin/test: cannot execute binary file
This is the command:
$ . test
The script (test) is very simple
sqlplus user/password @1.sql
sqlplus user/password @2.sql
Can enyone tell me what the problem is. (5 Replies)
Discussion started by: HarryTellegen
5 Replies