06-12-2010
Got it and thanks for your help.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am getting this error message (sh: No: not found) and I have no idea what line in my unix script its coming from or what it means. Can anyone help?
thanks,
Cindy (2 Replies)
Discussion started by: cindytucci
2 Replies
2. Shell Programming and Scripting
Hi there,
I am writing a script to look for tmp log files that have not been access within the last 10 days.
I am using the follwing command within the script:
find /var/tmp -name *log -atime -9 ¦xargs
What I would like to be able to do would be to display a message if there is no... (3 Replies)
Discussion started by: lodey
3 Replies
3. Shell Programming and Scripting
I have shell script as below:
#!/bin/ksh
#set -xv
function set_variable
{
VARIABLE_NAME=$1
CURRENT_PATH=`pwd`
if ; then
echo "\nconfiguration_file.lst file not found in $CURRENT_PATH/common/common_scripts"
exit 1;
fi
VARIABLE_COUNT=`cat... (2 Replies)
Discussion started by: findprakash
2 Replies
4. UNIX for Dummies Questions & Answers
Hi gurus,
I'm having a strange problem and I hope you can help me solving it.
I'm working in Unix Solaris, version 5.10, ksh.
I have a script with environment variables which I have to execute prior to other scripts. The script belongs to userA and when I log in, and cd to its directory. It... (4 Replies)
Discussion started by: ermur
4 Replies
5. Shell Programming and Scripting
Hi i'm new to the forum and was hoping someone could help me with the following query.
I do alot of testing and have hundreds of log files output. I have a script (someone else wrote) which finds all the passed and failed logs and puts a number in a column onto a webpage:
e.g:
Pass ... (4 Replies)
Discussion started by: defamer
4 Replies
6. Shell Programming and Scripting
I am executing the following script in a bash shell in solaris and it throws up the following message :
But i get the output that i require nevertheless. Can anyone please spot what is causing the warning and how do i get it go away?
VAR1="e6842w2334f76figtl5.systems.grp"
if 76fig`... (2 Replies)
Discussion started by: goddevil
2 Replies
7. Shell Programming and Scripting
I am trying to execute a script called tfile.sh in a bash shell in solaris and it throws up the following message
I am getting the required output after this message. How do i get the message to disappear. Can someone please point out my mistake in the script? Thanks in advance
... (13 Replies)
Discussion started by: goddevil
13 Replies
8. Shell Programming and Scripting
I have two files
File1
====
1|2000-00-00|2010-02-02||
2| 00:00:00|2012-02-24||
3|2000-00-00|2011-02-02||
File2
====
2000-00-00
00:00:00
I want the delete the patterns which are found in file 2 from file 1,
Expected output:
File1
==== (5 Replies)
Discussion started by: machomaddy
5 Replies
9. Shell Programming and Scripting
Hi All,
I am working with a XML file.
Below is part for the file.
<Emp:Profile>
<Emp:Description>Admin</Emp:Description>
<Emp:Id>12347</Emp:Id>
</Emp:Profile>
<Emp:Profile>
... (7 Replies)
Discussion started by: Girish19
7 Replies
10. Shell Programming and Scripting
Script name is test.ksh
I know that that the ssh command is working properly, this can be verified by the value returned in respond variable. It is unique to the remote server
_____________________________________________________
respond=$(ssh $remoteHost find... (3 Replies)
Discussion started by: Adagio
3 Replies