Search Results

Search: Posts Made By: jagadish_gaddam
2,094
Posted By jagadish_gaddam
Perfect... Many thanx!
Perfect... Many thanx!
2,094
Posted By jagadish_gaddam
Problem with Find command
Hi,


I have a script below,which reads dates from No_weekandMonthend_dates.txt performs the copy operation.



for i in `cat /tmp/No_weekandMonthend_dates.txt`
do
cd $Gerenimopath/ZH_LP...
2,142
Posted By jagadish_gaddam
Need help in moving files recursively
Hi,

I have d1,d2,d3 directories
/
/home/abc/d1
/home/abc/d2
/home/abc/d3
d1,d2 and d3 also have subdirctories.
d1-->d11-->d12
d2-->d22-->d23
d3-->d33-->d34


All these directories...
12,481
Posted By jagadish_gaddam
How to Exclude multiple directories from find command?
Hi,

Can some one help me how to exclude multiple directories using find command..

I have the directory structure below.

/a/a1/b1
/a/c1/c2
/a/d1/d2/d3

I want to exlcude a1,c2and d3 ...
25,251
Posted By jagadish_gaddam
sure... ---------- Post updated at 12:55 PM...
sure...

---------- Post updated at 12:55 PM ---------- Previous update was at 12:40 PM ----------

Perfect.. Excellent!!

Thanks,Could you pls explain how the second line works.
25,251
Posted By jagadish_gaddam
The below error encountered szur1254pap:%...
The below error encountered

szur1254pap:% awk 'NR==FNR{a[$0]=$0;next}!a[$0]' input.txt booknames.txt
a[$0]': Event not found

grep -vf also doesnt work

szur1254pap:% grep -vf input.txt...
25,251
Posted By jagadish_gaddam
it didnt work for me Actually the files has...
it didnt work for me

Actually the files has the follwing data

File1:
Ranger/62/CAD
Ranger/62/GBP
Ranger/62/JPY
Ranger/OPTD/GBP
Broil/ABGMM/USD
File2:
Ranger/62/CAD
Ranger/62/GBP...
25,251
Posted By jagadish_gaddam
Find difference between two files
I have two files as below

File1:
a
b
c
d
File2:
a
b

When i find the difference the output would be c&d..

How can i get my requirement...pls...
1,704
Posted By jagadish_gaddam
Need help in excluding a particular directory using Find commad
Hi,

I have a directory structure as below

/home/gad/Merl/a/a1.txt
/home/gad/Merl/b/a1.txt
/home/gad/Merl/c/a1.txt

How can I find the file a1.txt but not from directory 'a' and it(the...
3,047
Posted By jagadish_gaddam
Thanks for the above,can anyone pls tell me how...
Thanks for the above,can anyone pls tell me how can I exclude searching a particular directory using 'find'

for eg: in the path /a/b/c, c1,c2 are two directories
I want find to skip the c2...
3,047
Posted By jagadish_gaddam
Could you pls explain me how it works(sed...
Could you pls explain me how it works(sed 's/\/.*\///g')?
3,047
Posted By jagadish_gaddam
Perfect! Many thanx !!
Perfect! Many thanx !!
3,047
Posted By jagadish_gaddam
Need help with Cut command
Hi

I am using 'find' on a particular directory which has some subdirectories too,so when I search for .txt files from the parent directory, it gives all files that matches the pattern in the...
3,742
Posted By jagadish_gaddam
its not working ,If i use this i get output only...
its not working ,If i use this i get output only for the last line in input.txt :(

---------- Post updated at 09:18 PM ---------- Previous update was at 08:53 PM ----------

Sorry its working...
3,742
Posted By jagadish_gaddam
hope you didnt get it exactly. I have a...
hope you didnt get it exactly.

I have a file with certain rows (input.txt)

from this i need to takeout 1 line at a time till the end and running the sql for every line(every bookname in...
3,742
Posted By jagadish_gaddam
Hi, found the issue, thanks for that ...
Hi, found the issue, thanks for that

bookname=`cat input.txt | tail -'$count' |head -1` is not working

Cant we pass a variable to tail command,if not is there any alternate for this...
...
3,742
Posted By jagadish_gaddam
Script Runs fine but not giving any output
Hi,

My script is running with no erros but not giving any output can anyonehelp.


#!/bin/ksh
. /home/application/bin/application.env
OUTFILE=Result.txt
PROD_PASSWORD=`${GET_PWD} -f...
4,869
Posted By jagadish_gaddam
Script not running from cron it gives blank output
Hi,

I have ascript which drops a mail with the jobs status.

here is the script:

#!/bin/ksh
mypath=/home/gaddamja
flashlogpath=/sbcimp/dyn/data/flash/log
cd $mypath

v1=`ls -lrt |...
18,033
Posted By jagadish_gaddam
Help with tail command
Hi All,

My query seems to be silly but Iam unable to find where the exact problem lies.

I have a script to unzip set of files

here is the script

#!/bin/ksh
Count=`cat...
2,278
Posted By jagadish_gaddam
SunOS 5.10 Generic_137111-07 - "4.3" ...
SunOS 5.10 Generic_137111-07 - "4.3"

---------- Post updated at 03:50 AM ---------- Previous update was at 03:44 AM ----------

I can find the logs under /var/cron/ but seems i cant access it ,...
2,278
Posted By jagadish_gaddam
Actually Iam not sure where exactly cron logs...
Actually Iam not sure where exactly cron logs reside..Can you pls advise
2,278
Posted By jagadish_gaddam
Actually my question is to know the terminal no...
Actually my question is to know the terminal no from which the cron has modified ,I dont see any detials related to this in syslog.conf
2,278
Posted By jagadish_gaddam
How Can I get terminal no when someone modifies CRONTAB file
Hi All

I have a script which drops a mail with the changes done on crontab file for every 1 hour

Can anyone pls tell me how can I modify the script so that it should display the terminal from...
2,668
Posted By jagadish_gaddam
I got it with the below,Its working ...
I got it with the below,Its working

redirecting it to a file and renaming the output file with the same file for next days run

#!/bin/ksh
cd /home/gaddamja
paste...
2,668
Posted By jagadish_gaddam
Need help on appending info from one file to other side by side
Hi All,

I have a file abc.xls which contains data
applciation usage
merlin 24000
hermes 48000

and my script generates an output to a file def.xls
applciation usage
merlin 23000
hermes...
Showing results 1 to 25 of 25

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