You're replying to a comment by Visu.

Visu Permalink
April 11, 2013, 20:12

How to write a sed command for:
match a word from the output of a command.

fw_printenv | grep bootcmd
When i execute above command i get the following output
bootcmd=run sdboot3

Now I need a something of the sort
fw_printenv | grep bootcmd | sed ......
which gives sdboot3 and no new line at the end.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "cloud_273": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.