10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I created a shell script to record server temperature. When I manually run script it works fine with no error message. But when I create a cron job, my script fails with error message (standard_in)1:syntax error. I figured out the bc utility is causing the error message. Below is my script.
... (7 Replies)
Discussion started by: SysAdminRialto
7 Replies
2. Shell Programming and Scripting
# echo '6.5 < 2.7 ' |bc
0
# echo '4.8.5 > 4.8.4' |bc
(standard_in) 1: syntax error
(standard_in) 1: syntax error
----------------------------------------------------------
FILESET_A_VER_CHK2=4.8.5
FILESET_R_NAME_CHK2=4.8.5
if ] ; then
## echo "Fileset is higher "
... (2 Replies)
Discussion started by: Mathew_paul
2 Replies
3. Shell Programming and Scripting
Hi,
I have an if condition on executing it is giving syntax error as below:
--------------------------------------------------------------------------------------
line 61: syntax error in conditional expression
./play_test.sh: line 61: syntax error near `]'
./play_test.sh: line 61: ` if... (2 Replies)
Discussion started by: ramki067
2 Replies
4. Shell Programming and Scripting
Hi,
I am trying to make a script that tries to compare two values and print if one is greater than another. It seems to return a (standard_in) 1: parse error at times.
#!/bin/sh
a= awk '{print $1}' file1.txt
b= awk '{print $1}' file2.txt
c= awk '{print $1}' file3.txt
x= awk '{print... (5 Replies)
Discussion started by: jamie_123
5 Replies
5. AIX
Hi,
# lspath
Missing hdisk0 fscsi0
Missing hdisk1 fscsi0
Missing hdisk2 fscsi0
Missing hdisk3 fscsi0
Missing hdisk4 fscsi0
Missing hdisk5 fscsi0
Missing hdisk6 fscsi0
Missing hdisk7 fscsi0
Missing hdisk8 fscsi0
Missing hdisk9 fscsi0
Missing hdisk10 fscsi0
Missing hdisk11... (2 Replies)
Discussion started by: JATA01
2 Replies
6. Shell Programming and Scripting
Hi all,
Could someone please to tell me when do we exactly get the below error and how to get rid of it.
I am unable to trace the error.
(standard_in) 1: parse error
Thanks in advance !! (4 Replies)
Discussion started by: sparks
4 Replies
7. BSD
I have FreeBSD installed with Xarchiver and when extracting files through the file manager ("Extract here..." option) the following error pops up: tar: unrecognized option `--overwrite'
Perhaps this is a known error and is there a way to solve it? (10 Replies)
Discussion started by: figaro
10 Replies
8. UNIX and Linux Applications
Hello
when i am giving a command apt-get install
I am getting error as below:
" apt-get: error while loading shared libraries: libapt-pkg-libc6.3-6.so.3.11: cannot open shared object file: No such file or directory "
can u suggest what to do.
https://www.unix.com/images/misc/progress.gif... (1 Reply)
Discussion started by: pradeepreddy
1 Replies
9. Linux
Hi,
When I run the command acroread it is giving error
ERROR: Cannot find installation directory.
When I look at /usr/local/Adobe/Acrobat7.0/bin/ an exicutable file named acroread is there. When i run ./acroread from that directory it is working . What can i do so that I can give... (3 Replies)
Discussion started by: iamjayanth
3 Replies
10. UNIX for Advanced & Expert Users
Hi All,
i have an small issue...
echo " "
eval x=$@
export x=`echo $x`
echo $x
ssh user@ipadrss; cd /mbbv/home/;
cd /mbbv/home/orange/orange/
echo pwd
bash samplescript.sh $x
above is my script which will triger from server A and will connect to server B for some... (2 Replies)
Discussion started by: Shahul
2 Replies