← Back to team overview

documentation-packages team mailing list archive

[Bug 2096763] [NEW] several mistakes in "Ubuntu Server CLI cheat sheet 2024 v6"

 

Public bug reported:

Not sure whether it's the best place to report it. Please forward as
appropriate.

That's about https://assets.ubuntu.com/v1/3bd0daaf-
Ubuntu%20Server%20CLI%20cheat%20sheet%202024%20v6.pdf which one is
offered for download when downloading Ubuntu Server 24.04 at least.

I've noted a few mistakes:

On page 1:

tar -xvf <name.tar.[gz|bz|xz]> [destination]

Should be

tar -xvf <name.tar.[gz|bz|xz]> [members]

Or:

tar [-C <destination>] -xvf <name.tar.[gz|bz|xz]> [members]

awk ‘{print}’ [file]

is not useful (likely causing confusion with readers wondering how it's
different from cat <file>) and uses the wrong quoting characters.


Should be maybe:

awk '{print $2}' <file> : prints the second whitespace delimited field
of every line.

Also using <file> instead of [file] for consistency with other commands
where file can also be omitted to look on stdin but <file> is used
instead of [file]

On page 2:

Sudo change <username>

should be:

sudo chage

(lowercase s for sudo and chage, not change).

Firewall management and SSH and remote access sections are duplicated.

** Affects: ubuntu-docs (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of
Documentation Packages, which is subscribed to ubuntu-docs in Ubuntu.
https://bugs.launchpad.net/bugs/2096763

Title:
  several mistakes in "Ubuntu Server CLI cheat sheet 2024 v6"

Status in ubuntu-docs package in Ubuntu:
  New

Bug description:
  Not sure whether it's the best place to report it. Please forward as
  appropriate.

  That's about https://assets.ubuntu.com/v1/3bd0daaf-
  Ubuntu%20Server%20CLI%20cheat%20sheet%202024%20v6.pdf which one is
  offered for download when downloading Ubuntu Server 24.04 at least.

  I've noted a few mistakes:

  On page 1:

  tar -xvf <name.tar.[gz|bz|xz]> [destination]

  Should be

  tar -xvf <name.tar.[gz|bz|xz]> [members]

  Or:

  tar [-C <destination>] -xvf <name.tar.[gz|bz|xz]> [members]

  awk ‘{print}’ [file]

  is not useful (likely causing confusion with readers wondering how
  it's different from cat <file>) and uses the wrong quoting characters.

  
  Should be maybe:

  awk '{print $2}' <file> : prints the second whitespace delimited field
  of every line.

  Also using <file> instead of [file] for consistency with other
  commands where file can also be omitted to look on stdin but <file> is
  used instead of [file]

  On page 2:

  Sudo change <username>

  should be:

  sudo chage

  (lowercase s for sudo and chage, not change).

  Firewall management and SSH and remote access sections are duplicated.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-docs/+bug/2096763/+subscriptions