Veritas-bu

Re: [Veritas-bu] Need a bach script using client_info

2013-08-29 02:21:21
Subject: Re: [Veritas-bu] Need a bach script using client_info
From: Dan Pritts <danno AT umich DOT edu>
To: VERITAS-BU AT MAILMAN.ENG.AUBURN DOT EDU
Date: Thu, 29 Aug 2013 02:21:05 -0400
vexz wrote:
Does anyone have a script out there that i can use to run the line command: client_info
against a file that contain a few hundred clients?





I am not familiar with client_info but it sounds like you just need a pretty simple shell script.
note backticks around "cat client_info" below:


for client_host in `cat client_info`
do
  echo ==================
  echo ${client_host} information:
  client_info "${client_host}"
done


--
Dan Pritts
ICPSR Computing & Network Services
University of Michigan

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
<Prev in Thread] Current Thread [Next in Thread>