Search Results

Search: Posts Made By: clay
3,634
Posted By clay
printing a line of a file
Ok, here it is again.

export HOUR=`/usr/bin/date +%H`
export MINUTE=`/usr/bin/date +%M`
export REMOTECOUNT=`ps -ef | grep LOCAL=NO | wc -l`;
if [ $REMOTECOUNT -ne 1 ]
then
export...
3,634
Posted By clay
printing a line of a file
Thanks. You are really good.
When the ip detected matches the ip of ipconnect.txt, I like to have the corresponding row of ipconnect.txt
to be printed. I do not know how to do this. How can this...
3,634
Posted By clay
printing a line from a file
I think that the former thread is not correct.
What I am trying to do is when the script is triggered by
an ip address, it goes to a file called ipconnect.txt and
print the row that has the...
3,634
Posted By clay
I am trying to write a script that when triggered...
I am trying to write a script that when triggered by an ip address it will run the following
export DAVIDCOUNT=`(fgrep -ce 140.147.146.146 /export/home/ipconnect.txt) >>...
Showing results 1 to 4 of 4

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