Linux Distro

Filesystem

  • Filesystem hierarchy

    man hier

File descriptor (opens in a new tab)

  • Standard streams and its file descriptors

    • stdin: 0
    • stdout: 1
    • stderr: 2
  • > by default redirects stdout, therefore > is equivalent to 1>

  • >&<FILE_DESCRIPTOR> redirects stdout to another stream.

    echo "An error occurred" >&2 # Redirect stdout to stderr

  • &>, To redirect to either stdout or stderr, depending on the runtime outcome

    if cmp a b &> /dev/null # Suppress output whether it's from stdout or stderr

Partition management

Partition Scheme

Red Hat family

Fedora

Upgrading Fedora Linux Using DNF System Plugin

Install application and add desktop shortcut

RHEL

RHEL - Subscription Management

RHEL - Flatpak

Package management - EPEL