I have created the script till here ..
import os
os.chdir(/var/log)
fd = open(t1.txt, r)
for line in fd:
if re.match((.*)(file1)(.*), line):
print line,
Output :
file1
this script i ran on the linux server, but now i want to run this script from
another linux
On Fri, 02 May 2014 12:55:18 -0700, Bhawani Singh wrote:
I have created the script till here ..
import os
os.chdir(/var/log)
fd = open(t1.txt, r)
for line in fd:
if re.match((.*)(file1)(.*), line):
print line,
Output :
file1
this script i ran
In article lk16di$854$1...@dont-email.me,
Denis McMahon denismfmcma...@gmail.com wrote:
Method b:
Use telnet to login to your account on the other server, run the script.
Ugh. I hope nobody is using telnet anymore. Passwords send in plain
text over the network. Bad. All uses of telnet