#714 Remove leading `$` symbols in the `upgrading-fedora-offline` page
Opened 16 days ago by kada49. Modified 16 days ago
fedora-docs/ kada49/quick-docs main  into  main

@@ -127,7 +127,7 @@ 

  

  [source,bash]

  ----

- $ sudo mount | grep "/boot "

+ sudo mount | grep "/boot "

  /dev/sda4 on /boot type ext4 (rw,relatime,seclabel)

  ----

  
@@ -135,7 +135,13 @@ 

  

  [source,bash]

  ----

- $ sudo grub2-install /dev/sda

+ sudo grub2-install /dev/sda

+ ----

+ 

+ The correct output should be:

+ 

+ [source,bash]

+ ----

  Installing for i386-pc platform.

  Installation finished. No error reported.

  ----
@@ -153,16 +159,16 @@ 

  

  [source,bash]

  ----

- $ sudo dnf install remove-retired-packages

- $ remove-retired-packages

+ sudo dnf install remove-retired-packages

+ remove-retired-packages

  ----

  

  If you upgrade across two releases (e.g. Fedora Linux {PREVPREVVER} to {MAJOROSVER}), you must supply the old release version to `remove-retired-packages`:

  

  [source,bash,subs="attributes"]

  ----

- $ sudo dnf install remove-retired-packages

- $ remove-retired-packages {PREVPREVVER}

+ sudo dnf install remove-retired-packages

+ remove-retired-packages {PREVPREVVER}

  ----

  

  NOTE: Upgrades across *more* than two releases are not supported.

Some code blocks had leading $ signs, which were also automatically copied when clicking the copy button on the top right corner of the code block. Also split up a code block which had both command line input and output in one block to be able to recognise which line was a command and which was the expected result.

Resolves #713

Metadata