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

  • CINUC11 - Fedora
Mount PointUUIDSizePartition TypeFS TypeLabel
/dev/nvme0n1p18017-039C629MBEFI SystemFAT32
/dev/nvme0n1p2e962ae35-fee4-4f35-9a33-0995c4cea9e71.1GB/bootExt4
/dev/nvme0n1p3dce36504-d2fa-4016-b7e2-41e1ad785856525GB/homeExt4
/dev/nvme0n1p51e4ce292-7d3c-44ee-be6d-e82edba14980300GB/varExt4
/dev/nvme0n1p6b98df302-e2dc-4921-aec5-e60f2af9865274GB/Ext4
/dev/nvme0n1p7565efedc-19ec-4f20-965e-115a13099839300GBExt4Backup
/dev/nvme0n1p4262a48c4-b1a6-412e-89ca-f386891b784d12GBLinux SwapSwap

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