Search Results

Search: Posts Made By: preetikate
2,470
Posted By preetikate
Strange error.. help
Hi,

When I give the following
$ ps -ef | grep `echo $var1` | grep -v "grep `echo $var1`" | awk '{print $3}' | grep -v `echo $var1

80892

But when I...
2,759
Posted By preetikate
extracting from a string
How do I extract 5th to 10th characters of string as given below stored in a shell variable.

"ab cd ef gh ij kl"

How is cut to be used on this?
Thanks for any help.
13,102
Posted By preetikate
Hi, It is not clear to me what you mean by...
Hi,
It is not clear to me what you mean by escape sequence
13,102
Posted By preetikate
Thanks You I am using mailx .
Thanks You
I am using mailx .
13,102
Posted By preetikate
Printing in Bold through email via a shell script
$bold$var$norm works as expected on the unix prompt but when called in a shell script which sends output to a mail it prints 1m$var1m.. possibly because it it for terminal only. Is there a way I can...
6
1,975
Posted By preetikate
Following is 'finding' in subdirectories of...
Following is 'finding' in subdirectories of /pc62/exports
Is there any way to have listing associated for /pc62/exports only and not the subdirectories of exports.

find /pc62/exports \! -name...
13,102
Posted By preetikate
Thank You! TERMINFO is not recognized on IBM...
Thank You!
TERMINFO is not recognized on IBM AIX I Guess!
13,102
Posted By preetikate
checked man tput but still unclear!
checked man tput but still unclear!
6
1,975
Posted By preetikate
Thank You!
Thank You!
13,102
Posted By preetikate
Printing in Bold
Hi,
How do I print some shell variable in BOLD/
Thanks for any suggestions,
Preeti
6
1,975
Posted By preetikate
find
Hi,
find /pc62/exports -name "*.Z" -mtime +1 -exec ls -l {} \;
gives me set of files older than a day. But I aim is to have all such files listed except "ABC*.Z". How do I filter such files?
Would...
150,632
Posted By preetikate
How to pass arguments to a function in a shell script?
Hi,
I have two shell variables $t1 and $t2 which I need to pass to a function in a shell script. The function will do some computation with those two variables and echo the resultant. But I do not...
4,174
Posted By preetikate
Computung Percentage
I wish to find % used using shell variables
and am using the following

USED=`expr $1\* 100 / $2`;

But this does not take decimal portion of $1 .
How to resolve?

:(
Showing results 1 to 13 of 13

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