Search Results

Search: Posts Made By: sriki32
8,667
Posted By sriki32
I think the code send by frans is fine.But can...
I think the code send by frans is fine.But can you please test it and resend. its not working
8,667
Posted By sriki32
Reading from input with sed
I am trying to edit a file in shell script using sed. I need to get the input from command line
suppose

script.sh
sed"/s place=/place=california/g" > /root/user/mark.txt
echo " place changed "...
5,350
Posted By sriki32
I found the process for a particular port. but I...
I found the process for a particular port. but I am unable to kill that process
1,853
Posted By sriki32
I need a script which checks If you login as...
I need a script which checks
If you login as mark do process1
else
if you login as Tom do process2
5,350
Posted By sriki32
How to kill the process or terminate port...
How to kill the process or terminate port connection
5,350
Posted By sriki32
Suppose a installer uses a specific port 2010....
Suppose a installer uses a specific port 2010. During installation the port was assigned.
Now I deleted the installed files. But the port is still assigned. Now When I reinstall , it says port is...
1,853
Posted By sriki32
What you have is working good. But I need the way...
What you have is working good. But I need the way to find users who logged in
suppose there are 4 users
Tom, Mark John, Jean

If I login as Mark do one process or else If u login as John do...
6,460
Posted By sriki32
I need to do a silent install......Can any one...
I need to do a silent install......Can any one find a solution for this situation
5,350
Posted By sriki32
Terminate a port connection
I have executed a command which has ports that have to be assigned.

then I deleted the files. Now I need to reinstall the command. but it says the ports are not free

How to terminate the...
1,853
Posted By sriki32
How do you put that in that user in if condition...
How do you put that in that user in if condition and check
1,853
Posted By sriki32
Finding just unix user
I need to check for username that we are logged in.There are a lot of unix users and proceed according to that
i.e

find unix user

if [ user = x]

then echo "x"
elif [ user = y]
...
6,460
Posted By sriki32
a) cd /root/user/dir/sd/disk ./runInstaller...
a) cd /root/user/dir/sd/disk
./runInstaller -silent -responseFile

b) cd /root1/user1
echo "copying"
cp /root/user/dir/sd/disk/ram.txt
now b) executes before a) is successfully done.

so I...
6,460
Posted By sriki32
Let me make it clear. Iam running installer.It...
Let me make it clear. Iam running installer.It should return exit staus that installation is done succeesfully and then we can run the further commands.

---------- Post updated 09-23-10 at 09:40...
6,460
Posted By sriki32
export TMOUT=0 or unset TMOUT It says TMOUT...
export TMOUT=0 or unset TMOUT

It says TMOUT is read only
13,922
Posted By sriki32
do I need to do this inside the script
do I need to do this inside the script
1,737
Posted By sriki32
ya I can fill out the destination ...and can i...
ya I can fill out the destination ...and can i use this


cd /root/user/dir/sd/disk
./runInstaller -silent -responseFile

if [$? eq "0"]
then
cp /root1/user1/root/user/dir/sd/disk/ram.txt
...
1,737
Posted By sriki32
I need b) to run only after a) is done...
I need b) to run only after a) is done successfully. I need to do it by if loop.
1,737
Posted By sriki32
Code for execution command by command
a) cd /root/user/dir/sd/disk
./runInstaller -silent -responseFile

b) cd /root1/user1
cp /root/user/dir/sd/disk/ram.txt

now a) executes and starts running but b) interupts a) and is executed...
6,460
Posted By sriki32
It doesnt work... Can anyone one help me better
It doesnt work... Can anyone one help me better
13,922
Posted By sriki32
can u tell me how to set it out
can u tell me how to set it out
13,922
Posted By sriki32
Shell exit due to inactivity
I am installing an executable files. It takes around 30 minutes. During this time...the shell pops the msg "due to inactivity shell pops out in 60 seconds. I dont want this to happen. the terminal...
6,460
Posted By sriki32
what do u mean by exit 1 ....how does it work....
what do u mean by exit 1 ....how does it work. can u brief it out
6,460
Posted By sriki32
I am doing this in a script...there are like 100...
I am doing this in a script...there are like 100 commands after that installation file...and 100 commands are dependant on the installation directory

---------- Post updated at 05:08 PM ----------...
6,460
Posted By sriki32
a) cd /root/user/dir/sd/disk ...
a) cd /root/user/dir/sd/disk
./runInstaller -silent -responseFile

b) cd /root1/user1
cp /root/user/dir/sd/disk/ram.txt
now b) executes before a) is successfully done.

so I want...
6,460
Posted By sriki32
Code for running commands one after other
I need an if code in shell script where it should continue to further commands after succesfully installing the executable file.

i.e. /run installer is continuing but in the middle it executes...
Showing results 1 to 25 of 29

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