Search Results

Search: Posts Made By: sarwan
3,294
Posted By sarwan
We have 2 servers, 1 for development environment,...
We have 2 servers, 1 for development environment, 1 for test environment (UAT), All these 2 are UNIX(SunOS 5.6) servers. I can open the dev server from the browser like http : // system name .com ...
3,294
Posted By sarwan
Hi Pludi, Thanks for your quick response. We...
Hi Pludi,
Thanks for your quick response. We are able to open Dev server through the browser, but unable to open the UAT server. Can you tell which configuration file or set up I have to compare...
3,294
Posted By sarwan
Login to UNIX from the browser.
Hi All,
I need to login to the UNIX server from the browser. can you please tell me the procedure?

Thanks
Sarwan
3,980
Posted By sarwan
Franklin52 Thank you.........
Hi Franklin your code works perfectly, So much thanks to you and others who are all replied to my post.

Momo.reino, really last two days I am stuck with many issues, I really sorry for not...
3,980
Posted By sarwan
Franklin52 please see my reply.
Hi Scrutinizer, the following is not giving any output in SunOS.
echo "Hi I am 100, my friend is 500, his friend is 423" |sed -n 's/[^0-9]\+/|/gp'
No outout for the above cmd.

echo "Hi I am 100,...
2,034
Posted By sarwan
t.txt file contains the line which we want to...
t.txt file contains the line which we want to change.

sed 's/\/10\//\/45\//g' t.txt > temp.txt
mv temp.txt t.txt

Thanks
Sarwan
3,980
Posted By sarwan
$ echo "....." | awk '{for(i=1;i<=NF;i++){...
$ echo "....." | awk '{for(i=1;i<=NF;i++){ gsub(/,/,"",$i);if($i+0==$i){print $i} } }'

The above command with awk and nawk are not working.
2,034
Posted By sarwan
New to change change 10 to 45 its a first line in...
New to change change 10 to 45 its a first line in the file.

"15/10/2009 00:00:00"|DATA|NEW

you mean to say if the line has 10 then u want to change to 45.

if ur 1st line is "10/10/2010...
9,009
Posted By sarwan
how its not working for you? see the following...
how its not working for you? see the following output.

egrep '6.00E-45|9.00E-45' hi.txt
data_10 Jones 869 9.00E-45 65/253 140/253 18
data_50 Pink 785 6.00E-45 12/253 140/253 16
9,009
Posted By sarwan
Hi, Try this ... egrep '6.00E-45|9.00E-45'...
Hi,
Try this ...
egrep '6.00E-45|9.00E-45' hi.txt

the hi.txt should contain your inputs.

Thanks
Sarwan
3,980
Posted By sarwan
echo "Hi I am 100, my friend is 500, his friend...
echo "Hi I am 100, my friend is 500, his friend is 423" | sed -n "s/\([^0-9]*\)\([0-9]\+\)/\2|/gp"

The above command doesn't give any output. My machine is SunOs.
3,980
Posted By sarwan
Extract 2 or more int from the text with delimiter.
Hi All,
I want to extract the integers from the each line, each line may have 2 or more integers.
The following command is appending each integers.
echo "Hi I am 100, my friend is 500, his friend...
Forum: Solaris 11-20-2008
25,060
Posted By sarwan
It shows only the version but there is no type...
It shows only the version but there is no type information.
Server version: Apache/2.2.0
Server built: Mar 31 2006 14:36:43
Forum: Solaris 11-20-2008
25,060
Posted By sarwan
How to identify which type of Apache is installed?
Hi,
I need to find out which type of Apache is installed.
following is the list of Apache types
Covalent,
IBM HTTP,
HP Apache-based,
Oracle,
Stronghold
and may be some other as well.
If...
2,461
Posted By sarwan
First create the log file for the following. ...
First create the log file for the following.
nohup ./serial_script.sh > /tmp/serial_script.log &
Put more debug statement.
Check this log after which directory the system goes down.

Also you...
1,667
Posted By sarwan
#To purge the files which are older than 60 days ...
#To purge the files which are older than 60 days
find [dir] -name [file] -mtime +60 -exec rm -rf {} \;

#gzipping the old Hi*.txt files
for i in `find [dir] -name [file] -mtime +59`
do
gzip $i...
23,227
Posted By sarwan
what is your OS? My OS is sun. I tried the same...
what is your OS? My OS is sun. I tried the same program but I haven't get any extra <A* .txt> file. I attached .txt and .xls file, both os them I received as it is.
Instead of mailx you can try the...
2,807
Posted By sarwan
Hi fpmurphy and Franklin thanks for the answer....
Hi fpmurphy and Franklin thanks for the answer. As per my program a and b are integers, "a" is not a octal, but I will get "a" as preceeded by 0, like 001,002,..008.. and "b" like 1,2...8...10. So...
2,807
Posted By sarwan
Interesting TCL behavior: 007 == 7 is true; 008==8 is false.
Hi all,
If anyone has the explanation for the following issue, please share it with me.

I am comparing two variable a and b with the values of 007 and 7, for these values it get evaluated as...
Forum: Solaris 07-16-2008
4,947
Posted By sarwan
Normally how many oninit will run?
Hi All,
I am using Sun OS 5.9, when I did
ps -ef | grep oninit | wc -l
60
I come to know there are 60 oninit process, In Normal situation how many oninit process will run at a time?
...
1
Rsh
3,285
Posted By sarwan
Rsh
Hi All,

I want to execute a command from my Windows machine to Linux machine using RSH only

d:> rsh <Linux machine add> -l <user_name> pwd>dir

in linux machine users home directory in...
Forum: Linux 01-18-2008
3,339
Posted By sarwan
Pls help me in this
Pls help me in this
Forum: Linux 01-17-2008
3,339
Posted By sarwan
Help in RSH
Hi All,

I want to execute a command from my Windows machine to Linux machine.

d:> rsh <Linux machine add> -l <user_name> pwd>dir

in linux machine users home directory in .rhosts file I...
1,741
Posted By sarwan
Try echo insteadof cat.
Try echo insteadof cat.
6,608
Posted By sarwan
FTP Authentication through shell script.
Hi All,
My intention is to get file from the remote server, the following scripts works fine, but once if we give worng password it displays the err msg in the console, then it proceeds the further...
Showing results 1 to 25 of 57

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