Search Results

Search: Posts Made By: Amey Joshi
10,631
Posted By Amey Joshi
Thanks all for the reply!! Sorry for the...
Thanks all for the reply!!

Sorry for the confusion. Actually our file name will have datetime for e.g Trigger_09122014103030.done.

I am creating script which will wait until this file appears....
10,631
Posted By Amey Joshi
Waiting for wildcard filename to exists in while loop
Hi Experts,

We are developing a script which will wait for the trigger file(with datetime in the trigger file name).
But the problem is when I use 'while' loop to wait for the file, it waits for...
2,819
Posted By Amey Joshi
Yes, we are on Redhat Linux 5.8 Found a...
Yes, we are on Redhat Linux 5.8

Found a workaround, instead of using mailx command we used 'sendmail' command.
From sendmail it is easy to mention the 'from' email address. :)

(
echo "From:...
2,819
Posted By Amey Joshi
Thanks all for the help! Aia, I have...
Thanks all for the help!

Aia,

I have tried the "-S" option, but the command is failing with error message as
mailx: invalid option -- S
Usage: mail [-iInv] [-s subject] [-c cc-addr] [-b...
2,819
Posted By Amey Joshi
Adding 'from' email address alias in Linux.
Hi Experts,

We want to add the 'from' email address to mailx command in all our linux script. After searching this site I am able to find the command '-- -f' to add the from the email address. Bu...
Forum: UNIX and Linux Applications 10-29-2013
1,173
Posted By Amey Joshi
Configuration of Linux cluster managment on Red Hat 5.x server
Hi Experts,

I have question regarding linux cluster managment on Red Hat 5.x server. When I try to install 'luci' or 'ricci' in one of our linux servers it is giving me below error:-


yum...
3,288
Posted By Amey Joshi
Thanks all for your reply!!:o I have tried...
Thanks all for your reply!!:o

I have tried to put the query and email command in no hup but still the some times we are missing one email.

Again there is no need to recevie the email on exact...
3,288
Posted By Amey Joshi
Looping in the shell script with help of script timer.
Hello Experts-

We are facing some issues in the while loop script when we use the script time to decide whether to exist from the loop or continue.
Below is the script

SrcExitLoop="FALSE"...
4,625
Posted By Amey Joshi
Thanks for the immediate reply!! Its working...
Thanks for the immediate reply!!
Its working !!:D
4,625
Posted By Amey Joshi
Comparing one file header with another file header
Hi Experts,

In our project we have requirement where in we have to compare header of one file with header in the parameter file.
There are 20 files which we ftp from one site. All this files have...
1,090
Posted By Amey Joshi
Issue while archiving the files
Hi,

In our current process we are reading the file, (which is placed by external vendor)from one particular folder and processing those files
through ETL(informatica). We are reading these file...
29,874
Posted By Amey Joshi
Hi, The below command is working for Korn...
Hi,

The below command is working for Korn shell:

grep "AAA" file1.txt | sed 's/A/Z/g' > output.txt

Following is the output of the command:

$ cat file1.txt
AAA
BBB
CCC
DD
EE
$ grep...
1,305
Posted By Amey Joshi
Thanks all for the reply!!! Actually I just...
Thanks all for the reply!!!

Actually I just included the "vbe" command in the script and it worked.. :D :D

. $HOME/.profile

Thanks again !! ;)
1,305
Posted By Amey Joshi
Question regarding the cron
Hi,

We have developed the script which will send an (html)attachment in through mail. The stand alone script is working fine ,but when we schedule it cron the "nail" command is not working that is...
1,256
Posted By Amey Joshi
Issue with the copy command
Hi,

I was copying a bunch of files from one folder to another.. while copy command was running i pressed 'ctrl C'...now these files are not present in the parent directory nor in the target...
1,110
Posted By Amey Joshi
Hey!! thanks for the reply :D :D Now its...
Hey!! thanks for the reply :D :D

Now its working fine... with just one command :D
1,110
Posted By Amey Joshi
Printing the lines which proceeds the particular string
Hi,

We are facing some issues while finding the particular string.
Our file is:
cat 1.txt
Node Name(s) [node01]
Preparation fragment

Partition: [Partition #1]
Transformation instance:...
9,155
Posted By Amey Joshi
Thanks for the reply!! One more question.......
Thanks for the reply!!

One more question.... :confused: since "Spreadsheet::ParseExcel" isn't part of core distribution we have to install it ..... is it freeware??
Because as my discussion with...
9,155
Posted By Amey Joshi
Yes!! ;) the third option is like magic... ...
Yes!! ;) the third option is like magic...
Thanks!! :b:

---------- Post updated at 02:51 AM ---------- Previous update was at 02:32 AM ----------




Thanks for the quick reply!! :D :D
...
9,155
Posted By Amey Joshi
Thanks for the reply!! My bad... :o now i ran...
Thanks for the reply!!
My bad... :o
now i ran the same script in bash (removing the /usr/bin/env ksh)..and its running fine... :D

In the same script i have used "Spreadsheet::ParseExcel;" and...
9,155
Posted By Amey Joshi
Not able to run the simple perl script
Hi Experts,

I have written simple perl script, which assign the value to variable and print it. Following is the script:

$ cat 3.pl
#!/usr/bin/env ksh
#!/usr/bin/perl
print "Hello World";...
2,274
Posted By Amey Joshi
Perl script not working
Hi Experts!!

I have written a very simple script in perl.The script is :

$ cat 1.pl
#!/usr/bin/perl
print "Hi there!\n";

When i ran the above perl script it is showing the following...
2,027
Posted By Amey Joshi
Thanks!! It really worked :D :b: Now its...
Thanks!!
It really worked :D
:b: Now its time to celebrate... :D
2,027
Posted By Amey Joshi
Reallt thankful for the replies!! I ahve...
Reallt thankful for the replies!!

I ahve tried the 'awk' command,but still it is giving me same results.

$ cat a
Account Number,Name,Address,Comments
"123","XYZ","302...
2,027
Posted By Amey Joshi
Thanks for the reply!! I just checked the file...
Thanks for the reply!!
I just checked the file through 'od -c ' command, the end delimiter is '\n' along with '\r' preceeding it....that's why it was not working.....:eek:
Showing results 1 to 25 of 61

 

Featured Tech Videos

All times are GMT -4. The time now is 06:07 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy