parsing /proc/cmdline

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



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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux