Skip to main content
replaced http://meta.askubuntu.com/ with https://meta.askubuntu.com/
Source Link
replaced http://meta.askubuntu.com/ with https://meta.askubuntu.com/
Source Link

I found: "How do I escape backticks in a comment?How do I escape backticks in a comment?", but I want to escape backticks, if I use backticks to format code in an answer.

The following doesn't work:

`sudo update-initramfs -v -u -k \`uname -r\``

The result is this:

sudo update-initramfs -v -u -k \uname -r``

Desired goal, but with using backticks:

sudo update-initramfs -v -u -k `uname -r`

I found: "How do I escape backticks in a comment?", but I want to escape backticks, if I use backticks to format code in an answer.

The following doesn't work:

`sudo update-initramfs -v -u -k \`uname -r\``

The result is this:

sudo update-initramfs -v -u -k \uname -r``

Desired goal, but with using backticks:

sudo update-initramfs -v -u -k `uname -r`

I found: "How do I escape backticks in a comment?", but I want to escape backticks, if I use backticks to format code in an answer.

The following doesn't work:

`sudo update-initramfs -v -u -k \`uname -r\``

The result is this:

sudo update-initramfs -v -u -k \uname -r``

Desired goal, but with using backticks:

sudo update-initramfs -v -u -k `uname -r`
added 13 characters in body
Source Link
BuZZ-dEE
  • 14.4k
  • 13
  • 11

I found: "How do I escape backticks in a comment?", but I want to escape backticks, if I use backticks to format code in an answer.

The following doesn't work:

`sudo update-initramfs -v -u -k \`uname -r\``

The result is this:

sudo update-initramfs -v -u -k \uname -r``

Desired goal, but with using backticks:

sudo update-initramfs -v -u -k `uname -r`

I found: "How do I escape backticks in a comment?", but I want to escape backticks, if I use backticks to format code.

The following doesn't work:

`sudo update-initramfs -v -u -k \`uname -r\``

The result is this:

sudo update-initramfs -v -u -k \uname -r``

Desired goal, but with using backticks:

sudo update-initramfs -v -u -k `uname -r`

I found: "How do I escape backticks in a comment?", but I want to escape backticks, if I use backticks to format code in an answer.

The following doesn't work:

`sudo update-initramfs -v -u -k \`uname -r\``

The result is this:

sudo update-initramfs -v -u -k \uname -r``

Desired goal, but with using backticks:

sudo update-initramfs -v -u -k `uname -r`
Source Link
BuZZ-dEE
  • 14.4k
  • 13
  • 11
Loading