Search Results

Search: Posts Made By: ensameer
3,478
Posted By ensameer
Thanks guys. Tried all those. Finally the issue...
Thanks guys. Tried all those.
Finally the issue we found is, only one can login to that server with that same generic id. It was not the case previously. It has been resolved now, not sure how it...
3,478
Posted By ensameer
couldn't telnet using putty, but my colleague could
Hi,
I am using putty. I telnet to a system from a Solaris system(jump server) regularly.
But this time when I tried, it behaved differently, like kept on giving login prompt like password is...
1,138
Posted By ensameer
If the no. of fields on the input file is 1, then...
If the no. of fields on the input file is 1, then it will print 0.0000%, else it will always print 100.0000%.

Thanks,
Sameer.
9,107
Posted By ensameer
Can you please post the command that you use to...
Can you please post the command that you use to send email, so that it will be easy to find any error.

Thanks,
Sameer.
16,385
Posted By ensameer
Here you go. #!/bin/ksh set -x ...
Here you go.

#!/bin/ksh
set -x
logfile=$dir/logfilename.txt
thr=100
cat $logfile | while read a
do
nochar = `echo $a | wc -c`
sleep 1
if (( $nochar < $thr )) then
echo echo "$a"...
3,510
Posted By ensameer
Here you go, > YESTERDAY=$((`date +%d`...
Here you go,


> YESTERDAY=$((`date +%d` -1))
> printf %2d$YESTERDAY
08

Does this resolve ?

Thanks,
Sameer.
3,510
Posted By ensameer
try this if you are in solaris: date +'%Y%m%d' ...
try this if you are in solaris:
date +'%Y%m%d'
sorry, this gives only current date.
Forum: Programming 07-08-2010
15,107
Posted By ensameer
how to find if C compiler in Solaris
Hi experts,

How do I find if a C compiler is installed on Solaris ?

> cc -o
ksh: cc: not found
> CC
ksh: CC: not found
> gcc
ksh: gcc: not found
[I am using Solaris 5.8

Thanks,...
1,263
Posted By ensameer
Hi pludi, I am using firefox 3.5 in windows...
Hi pludi,

I am using firefox 3.5 in windows xp.
The problem is fixed now.
I was unable to see your Code tag in this reply itself. I restarted firefox, which didn't resolve, so I restarted the PC...
1,263
Posted By ensameer
Not seeing code tags
Hi moderators,

Till this morning I was able to browse the forum without any issues. Now when I tried, I could read the contents, but the code area is showing as blank. I randomly checked few...
1,794
Posted By ensameer
You can't execute that file as other user, thats...
You can't execute that file as other user, thats why the permission is given as that. Only if the permission is changed to -rw-rw-r-x, you can execute it.
16,204
Posted By ensameer
Hi kevintse, I am getting error while using...
Hi kevintse,

I am getting error while using that command in Sun Solaris. Is there any equivalent command for this in Sun OS.

> ls -l --time-style=long-iso
ls: illegal option -- -
ls: illegal...
9,797
Posted By ensameer
wc -c counts 1 char more per line
Hi,
this might be a basic question...
why is that wc -c counts 1 more per line than what is there.
for example,
> cat dum1.txt
123
12
> wc -c dum1.txt
7 dum1.txt

Thanks,
Sameer.
Showing results 1 to 13 of 13

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