Search Results

Search: Posts Made By: nirav_soni
3,167
Posted By nirav_soni
Thanks for the reply deindorfer!!! I did...
Thanks for the reply deindorfer!!!
I did understood your logic and it'll work if i only have to control the end time.
I'm sorry I mention CRON actually this job run through CA7 scheduler which is...
3,167
Posted By nirav_soni
Ending script at specific time.
Hello Everybody..

I've written the script that kick off through CRON job and kill itself by specific time.

I've start time and end time specify in env file.
i.e
START_TIME=1500 (03:00 PM)...
1,347
Posted By nirav_soni
Thanks era!!!!!! It works fine!!! I...
Thanks era!!!!!!
It works fine!!!
I appreciate for your help
1,347
Posted By nirav_soni
No, I'm working on sun solaris....it's illegal...
No, I'm working on sun solaris....it's illegal option in sun solaris
1,347
Posted By nirav_soni
need help in sed command
Hello.

I have one big data file and i have to replace two words in first line.
right now i have following command that working fine.

sed -e '1 s/'$E_STR_NUM'/'$STR_NUM'/g' -e '1...
24,887
Posted By nirav_soni
How can i get the parent process only?
Hello,

I'm running one script every night and that's kick off through cron jobs.

Inside the script i'm checking whether my script is already running or not.

I'm using following command...
Forum: AIX 07-09-2008
10,549
Posted By nirav_soni
12,909
Posted By nirav_soni
line count
here is your solution

wc -l file_name.txt | nawk '{print "\tRecord count :" expr $1-1}' >> file_name.txt


Thanks
Soni
14,748
Posted By nirav_soni
Do you wanted to delete only first blank line or...
Do you wanted to delete only first blank line or all blank line in files

Try this command ... it should work

sed -e '/^ /d' tmp.txt > tmp1.txt
2,777
Posted By nirav_soni
Hey you can copy through scp command scp -o...
Hey you can copy through scp command

scp -o Port=22 username@hostname:/export/home/filename /export/home/
-------------------- ------------...
2,721
Posted By nirav_soni
nawk 'NR == 1' input_file > output_file grep -v...
nawk 'NR == 1' input_file > output_file
grep -v "^FHS" input_file > pp | grep -v "^BTS" pp >> output_file
Q=wc -l input_file
nawk 'NR == $Q' input_file >> output_file
1,610
Posted By nirav_soni
could you please describe your problem in brief,...
could you please describe your problem in brief, what kind of text you need to cut and on what condition.
76,126
Posted By nirav_soni
You can use nawk 'NR==40' filename to grab...
You can use nawk 'NR==40' filename to grab particular line
27,364
Posted By nirav_soni
checking file
i have create one dir that have 3 files and my following script keep checking those file in every 10 sec

#!/usr/bin/ksh
DD=`date`
while :;
do
if [ -f ./tmp/tmp1.tmp -a -f ./tmp/tmp2.tmp -a...
Showing results 1 to 14 of 14

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