Search Results

Search: Posts Made By: vikasrout
14,851
Posted By vikasrout
Is there no way out other than lsof...???
Is there no way out other than lsof...???
14,851
Posted By vikasrout
I checked the services file available in /etc. ...
I checked the services file available in /etc.
But that showed me the system ports that are enabled.

Hence one will not be able to decipher which port is being used by which process.

Thanks,...
14,851
Posted By vikasrout
Which port is used by which process ?
Hi all,

I work in three platforms SOLARIS,HPUX,AIX.

My requirement is to find the user id which is using a particular port.
So I tried searching commands which will help me to know which port...
1,204
Posted By vikasrout
Sorry with the slash:- The actual path is...
Sorry with the slash:-

The actual path is like that of Windows folder structure:-
x=C:\Program Files\Cogny\cert

The value of this x needs to be changed.

Can you help me out in this case.
1,204
Posted By vikasrout
Is there any method by which I can replace the...
Is there any method by which I can replace the entire text without finding the pattern...???

I mean to say that:-
if i would like to replace
x=dfg/hjl
with
x=fgh/klo

then can I replace...
1,904
Posted By vikasrout
Have u tried echo "$x" within the same...
Have u tried echo "$x" within the same script...???

You can also try with paths such as:-
APPDIR=C:\Program Files\Cogny\bce

In this case because of \b the output will be shown as:-...
1,904
Posted By vikasrout
Problems in Usage of grep
Hi all,

I have a file resp_cde.ats which has values as:-
APPDIR=C:\Program Files\Cogny\cert
PUBSDIR=C:\Program Files\Cognoy\cert\documentation
TOURDIR=C:\Program Files\Cognoy\cert\tour...
1,204
Posted By vikasrout
Problem with sed
Hi all,

i am writing a shell script to replace a variable using sed command.
The snippet is as follows:-

# to find the value of APPDIR
# APPDIR 's value needs to be changed
x=`grep APPDIR...
7,916
Posted By vikasrout
I tried using:- fuser -u file_name It...
I tried using:-

fuser -u file_name

It gave me the parent process which was using the file.

It worked.

Thanks a lot for your help.
7,916
Posted By vikasrout
No I was not 'root' while using this command. ...
No I was not 'root' while using this command.

But I found out the reason the command works fine.

Will let you know if I face any other issues.

Thanks a lot...!!!

Vikas
7,916
Posted By vikasrout
The fuser option doesn't work on my HP-UX box, so...
The fuser option doesn't work on my HP-UX box, so could you kindly suggest me something else.

Thanks,
Vikas
7,916
Posted By vikasrout
Is there some other solution...???
Is there some other solution...???
7,916
Posted By vikasrout
I am working on HP-UX machine
I am working on HP-UX machine
7,916
Posted By vikasrout
Unable to delete an open file
I am working on a unix server.
I killed all the processes with my id on the machine.
After that I tried to delete a file, I got an error:-
file not removed.Text File busy.

Deletion of directory...
Showing results 1 to 14 of 14

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