[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Configuring wireless adapters



On Tue, 30 May 2006, Philip Prindeville wrote:

> solution is.  I'd like to be able to get the file as:
> 
> /etc/sysconfig/network-scripts/ifcfg-iwlan0
> 
> (or whatever) written out in a semi-automatic way, but I
> can't figure out how to do that.
> 

cat > /etc/sysconfig/network-scripts/ifcfg-iwlan0 <<ENDOFIWLAN0
neat config stuff
ENDOFIWLAN0

comes to mind.

gogole for 'bash "here document"'

------------------------------------------------------------------------
Jim Wildman, CISSP, RHCE       jim rossberry com http://www.rossberry.com
"Society in every state is a blessing, but Government, even in its best
state, is a necessary evil; in its worst state, an intolerable one."
Thomas Paine


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]