What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 150 Stack Exchange communities.

I was just answering a question when I observed the following behavior. I wanted to type something like

wget --bind-address=``ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{print $1}'` ` URL

completely inside a code tag but it did not work. I tried using double apostrophe and back-slash apostrophe, but still it did not work. Is there any way to use the code formatting quote as such inside a code block?

share|improve this question

2 Answers 2

up vote 4 down vote accepted

You should be able to use the backslash (\) character before the backtick (`) to escape it code-formatting your text:


=\`ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{print $1}'\` ` URL


=`ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{print $1}'` ` URL

share|improve this answer
Wow! THanks. Never know we could use <code> tag – vpram86 Mar 5 '10 at 8:26

like this?

wget --bind-address=`ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{print $1}' ` URL

with 4 spaces at line start

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .