On Mon, 10 Mar 2008, Jim Wight wrote:
On Fri, 2008-03-07 at 11:59 -0500, Ross S. W. Walker wrote:
Ross S. W. Walker wrote:
Jerry Geis wrote:
Hi - I am not an expert at shell script writing.
If /proc/cmdline looks like
option1 option2 ... ks=http://192.168.1.8/ks/ks.cfg option3
option 4 ...
On Fri, 2008-03-07 at 11:59 -0500, Ross S. W. Walker wrote:
> Ross S. W. Walker wrote:
> > Jerry Geis wrote:
> > >
> > > Hi - I am not an expert at shell script writing.
> > > If /proc/cmdline looks like
> > >
> > > option1 option2 ... ks=http://192.168.1.8/ks/ks.cfg option3
> > > option 4 ...
>
It's Saturday A.M, so please forgive me.
On Fri, 2008-03-07 at 10:54 -0500, Filipe Brandenburger wrote:
> On Fri, Mar 7, 2008 at 10:35 AM, Jerry Geis <[EMAIL PROTECTED]> wrote:
> > If /proc/cmdline looks like
> >
> > option1 option2 ... ks=http://192.168.1.8/ks/ks.cfg option3 option 4 ...
> >
>
Ross S. W. Walker wrote:
> Jerry Geis wrote:
> >
> > Hi - I am not an expert at shell script writing.
> > If /proc/cmdline looks like
> >
> > option1 option2 ... ks=http://192.168.1.8/ks/ks.cfg option3
> > option 4 ...
> >
> > How can I get the 192.168.1.8 out of this cmdline.
>
> Try:
>
> #
Jerry Geis wrote:
>
> Hi - I am not an expert at shell script writing.
> If /proc/cmdline looks like
>
> option1 option2 ... ks=http://192.168.1.8/ks/ks.cfg option3
> option 4 ...
>
> How can I get the 192.168.1.8 out of this cmdline.
Try:
# IPADDR=`cat /proc/cmdline | sed
's/.*\/\([1-9][0-9
I didn't see the original, so I'm jumping in here...
> >Hi - I am not an expert at shell script writing.
>
> >If /proc/cmdline looks like
> >
> >option1 option2 ... ks=http://192.168.1.8/ks/ks.cfg option3 option
> >4 ...
> >
> >How can I get the 192.168.1.8 out of this cmdline.
This should work
2008/3/7, Alfred von Campe <[EMAIL PROTECTED]>:
> > Hi - I am not an expert at shell script writing.
>
>
> Me neither, Perl is my thing, and with regular expressions this would
> be trivial.
>
>
> > If /proc/cmdline looks like
> >
> > option1 option2 ... ks=http://192.168.1.8/ks/ks.cfg option3
Hi - I am not an expert at shell script writing.
Me neither, Perl is my thing, and with regular expressions this would
be trivial.
If /proc/cmdline looks like
option1 option2 ... ks=http://192.168.1.8/ks/ks.cfg option3 option
4 ...
How can I get the 192.168.1.8 out of this cmdline.
T
On Fri, Mar 7, 2008 at 10:35 AM, Jerry Geis <[EMAIL PROTECTED]> wrote:
> If /proc/cmdline looks like
>
> option1 option2 ... ks=http://192.168.1.8/ks/ks.cfg option3 option 4 ...
>
> How can I get the 192.168.1.8 out of this cmdline.
Cryptic but does the job:
$ cat /tmp/cmdline
option1 option2
Hi - I am not an expert at shell script writing.
If /proc/cmdline looks like
option1 option2 ... ks=http://192.168.1.8/ks/ks.cfg option3 option 4 ...
How can I get the 192.168.1.8 out of this cmdline.
THanks,
Jerry
___
CentOS mailing list
CentOS@cen
10 matches
Mail list logo