Search Results

Search: Posts Made By: dashok.83
6,834
Posted By dashok.83
once you open the file in vi , you can do this ...
once you open the file in vi , you can do this

:%s#xxx#yyy

to replace all the occurrence

:%s#xxx#yyy#g

where
g - stands for global.
xxx - the word you want to replace
yyy - the...
4,138
Posted By dashok.83
Yep. Anyways I figured it out.. ...
Yep. Anyways I figured it out..


#!/bin/ksh


. ./set.properties


echo $RELEASE_NUM | tr -dc '.' | wc -c | read a
a=`echo $a + 1 | bc`
echo $RELEASE_NUM | cut -d "." -f$a | read VAL...
4,138
Posted By dashok.83
Increment a floating number in ksh
Hi !

How to increment a varibale in ksh. [ something like this : 5.2.102]



#!/bin/ksh
set -x

RELEASE_NUM=5.2.103
VAL=0.0.1
RELEASE_NUM=`echo $RELEASE_NUM + $VAL | bc`
echo...
4,781
Posted By dashok.83
XML parsing in a shell script.
Below is a XML I have...


<?xml version="1.0" encoding="UTF-8" ?>
<component
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
...
12,921
Posted By dashok.83
NFS Files system and df command
How can I get the available file system in a given box.

Example : When I give df -kh * from /apps I get this out


megatron% df -kh *
Filesystem Size Used Avail Use% Mounted on...
1,430
Posted By dashok.83
Thatz what I did as work around :). But just...
Thatz what I did as work around :). But just curious ,there must be way out.

Hence posted my problem.

Thanks anyways. !
1,430
Posted By dashok.83
A logical problem.
I'm having a logical problem.Can anybody help me.

while [[ ! -e $ZipFile ]]
do
echo " Enter the Zip File Name : \c"
read ZipFile
done


In the above snippet - I want it ask for file...
6,115
Posted By dashok.83
How to view the unix logs in windows ??
Hi !

I have a FTP site, where I softlinked my server log file.

Now I want to view the logs in IE [ ie, windows ] as I do in unix [tail -f ]

Some kind of free tool should be there, Can...
2,876
Posted By dashok.83
How to export ENV variables, which remains set for all the shell
Hi !

How to export ENV variables, which remains set for all the shell

Example :-
Login :myID
Pwd : **** -> Here my ID .profile is executed. Let say I set MYENV variable
Kisses% rlogin...
Forum: Solaris 04-30-2009
17,748
Posted By dashok.83
How to configure Xming
Hi ,

I installed Xming on my laptop[ win XP] .

I have a remote server Sun Solaris 10, When I lanch xlaunch and do these

export DISPLAY=10.149.132.111:0.0
xterm &
...
9,719
Posted By dashok.83
RedHat, Solaris - what is uname command ??
Hi ! All

I'm big fan of Unix/Linux . I want understand the basics of linux/unix version and How they are related to Vendor [ Solaris , HP, RH ]... releases.

uname -a will give the OS details....
3,638
Posted By dashok.83
Its is sun solaris box. and I guess its the one...
Its is sun solaris box. and I guess its the one used to authenticate my crendentials..

correct me if I'm wrong. Also tell how can I find that info.
8,589
Posted By dashok.83
The problem was.. the current dir was having HUGE...
The problem was.. the current dir was having HUGE files.. 9GB.

Once I move those to a diff file system.. it worked. :-)
3,638
Posted By dashok.83
How get secondary ID. ??
This is one our office BOX [ Solaris10 ]


Sun Microsystems Inc. SunOS 5.10 Generic January 2005
Kisses% rlogin pebblz01 -l adminID
Password:
Last login: Sat Feb 14 01:11:36 from Kisses...
1,981
Posted By dashok.83
Thanks you for replying. But I dont want...
Thanks you for replying.

But I dont want the script to prompt for password. I dont mind hard-coded the password .

The purpose , I have a file and I dont want anybody to modify it except me....
1,981
Posted By dashok.83
Need to modify a file of different username through script.
Hi ! All

I want to write a script where, it will open a new shell with a
username / pwd and modify a file of same username and exit.

example:

1. UserA
2. UserB- FileB

ScriptA...
8,589
Posted By dashok.83
"ls -lrt" is not working... Need help
Hi ! All

This might be a silly question.. to experts in unix. but defintely its a interesting question and I want to know the root cause.

Here is the problem....

I have a Linux OS box. It...
8,589
Posted By dashok.83
" ls -lrt " not working ! --- Need a insight from a expert .
Hi ! All

This might be a silly question.. to experts in unix. but defintely its a interesting question and I want to know the root cause.

Here is the problem....

I have a Linux OS box. It...
1,836
Posted By dashok.83
Simple question abt Copy command.
Hi ! All

This is very simple question....

How to write a 'cp' command interative.

Example :

cp /wlsuite/om/cm/Tools/deploy_scripts/*.xml ${INF_ROOT}/tmp | echo "[DONE]" || echo...
Forum: Linux 09-01-2008
2,558
Posted By dashok.83
URGENT :- Linux remote access... issue
Hi !

I have a linux machine( stand lone) in my office network.

now, I have application on that machine ( web based)

I'm not able to access that box.. using http://abc:4435/console

I'm...
2,535
Posted By dashok.83
why will a unix box become slow... ???
Hi !

Can somebody tell me why -or- when will a unix box will become slow in processing ....

where to go and chk the stats... for this ???

Pls help..

Thanks in advance...
1,780
Posted By dashok.83
need help.. ! Production Env.
Hi !

I want to delete a softlink... with a name..

" -> ALCATEL "

FYI:-

lrwxrwxrwx 1 infomcm develop 32 Dec 3 2007 COX -> /wlsuite/om/cm/build/sandbox/COX
lrwxrwxrwx 1...
2,558
Posted By dashok.83
How to start a process.. from a different host ...
Hi !

I want to start and stop a process... on different machines(HOSTS)

example :

I have machine1..machine2..machine3

And I have a NFS file system. (Wlsuite/myfile/)

I'm writing a...
18,745
Posted By dashok.83
how to extract a .rar file
Hi !

I have a abc.rar file.

I want to extract this file.. pls help.

OS Details :

SunOS papillon 5.10 Generic_127111-11 sun4us sparc FJSV,GPUZC-M
7,865
Posted By dashok.83
Need Help... to extract the substring
> tnsping $TWO_TASK | grep HOST
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.12.10.212)(PORT = 1540)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = OMTST15)))
...
Showing results 1 to 25 of 25

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