01-22-2013
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
please give the difference between AIX shell scripting and Unix shell scripting. (2 Replies)
Discussion started by: haroonec
2 Replies
2. Shell Programming and Scripting
When i run the script firecall.sh,i am getting a weird error.
root: ./var/ADMIN/bin/firecall.sh d12381
./var/ADMIN/bin/firecall.sh: ?osrc: command not found
./var/ADMIN/bin/firecall.sh: ?osrc: command not found
The script is successful,but the error interests me...Any Ideas??
The... (1 Reply)
Discussion started by: Renjesh
1 Replies
3. Shell Programming and Scripting
i am trying to work on a simple shell script as
#!/bin/bash
filename = $2
if ; then
echo " Displaying the Content of the file:"
filename = $2
cat filename
else
if ; then
echo "Displaying directory listing:"
ls -l filename
else
echo " Commands not correct:"
fi
done
it shows the... (3 Replies)
Discussion started by: phone_book
3 Replies
4. Shell Programming and Scripting
#! /bin/sh
abcd = "Hello world"
if
then
echo $abcd
fi
i got error message that
line3 : abcd: command not found
line5 : [0: command not found
line5 : [1: command not found
i have no idea why i got this message. Can some one help me ??? (6 Replies)
Discussion started by: bonosungho
6 Replies
5. Shell Programming and Scripting
Hello,
I have written a shell script and suppose there is any error in the script. How i can do exception handling in shell script.for example i have below code
sqlplus -s <<uid>>/<<pwd>>@<<$ORACLE_SID>> <<EOF > 1_pid1.log
set pagesize 0
set feedback off
set heading off
set linesize 200... (1 Reply)
Discussion started by: rksingh003
1 Replies
6. Shell Programming and Scripting
Hi,
my code is:
------------------------------
set r=`ls -L $source_dir/*.snvf`
echo AAA
------------------------------
If does file does not exists I got on the screen
ls: No match.
AAA
How can I remove the "ls: No match." from being printed out
Regards,
Ziv (2 Replies)
Discussion started by: zivsegal
2 Replies
7. Shell Programming and Scripting
Im tryign to write a script that counts the number of new lines in the file with the most new lines in a given directory
i keep getting this error
/export/home/sieben01/itec400/homework> ./maxlines.sh
./maxlines.sh: syntax error: `then' unexpected operator/operand
any ideas?
... (11 Replies)
Discussion started by: livewire06
11 Replies
8. Shell Programming and Scripting
Hi All,
Please see the below script for mysql 3 commands. Its giving me the right output for all three commands but showing some errors in first two commands , i guess there might be an issue with date.
Can anyone help me .
#! /bin/bash
TABLE_NAME=testingddatabase
USER_NAME=root... (3 Replies)
Discussion started by: aish11
3 Replies
9. Shell Programming and Scripting
I am trying to do an upgrade on a VMWare appliance. I am getting an error, and I dug into the script that is causing the error and will post the statement that is causing the error. Basically, my software seems to want an additional partition before it will do the upgrade. So, I added a new... (1 Reply)
Discussion started by: Phoenix Askevic
1 Replies
10. Shell Programming and Scripting
I have one bash shell script to execute table refreshment. At the bottom of script, I have one piece of code to check 'ORA-' error from log file, then send email to DBA or application people. But this piece of code didn't work. I tried different ways and also search online to find where is my... (2 Replies)
Discussion started by: duke0001
2 Replies
LEARN ABOUT DEBIAN
pmdirs
PMDIRS(1p) User Contributed Perl Documentation PMDIRS(1p)
NAME
pmdirs - print out module directories
DESCRIPTION
This just prints out the current @INC path, one directory per line. This is for people who don't want to parse through "perl -V" output or
hack up their own calls to "perl -e".
EXAMPLES
$ pmdirs
/home/tchrist/perllib/i686-linux
/home/tchrist/perllib
/usr/local/devperl/lib/5.00554/i686-linux
/usr/local/devperl/lib/5.00554
/usr/local/devperl/lib/site_perl/5.00554/i686-linux
/usr/local/devperl/lib/site_perl/5.00554
.
This also works for alternate version of Perl:
$ filsperl -S pmdirs
/home/tchrist/perllib
/usr/local/filsperl/lib/5.00554/i686-linux-thread
/usr/local/filsperl/lib/5.00554
/usr/local/filsperl/lib/site_perl/5.00554/i686-linux-thread
/usr/local/filsperl/lib/site_perl/5.00554
.
SEE ALSO
perlrun(1), perlvar(1), lib(3)
AUTHORS and COPYRIGHTS
Copyright (C) 1999 Tom Christiansen.
Copyright (C) 2006-2008 Mark Leighton Fisher.
This is free software; you can redistribute it and/or modify it under the terms of either: (a) the GNU General Public License as published
by the Free Software Foundation; either version 1, or (at your option) any later version, or (b) the Perl "Artistic License". (This is the
Perl 5 licensing scheme.)
Please note this is a change from the original pmtools-1.00 (still available on CPAN), as pmtools-1.00 were licensed only under the Perl
"Artistic License".
perl v5.10.1 2010-02-22 PMDIRS(1p)