Delete Set public Set private Add tags Delete tags
  Add tag   Cancel
  Delete tag   Cancel
  • • DevOps notes •
  •  
  • AI
  • Tags
  • Login

System Run Level and Boot Process/shaare/CcSV1A

  • linux
  • linux

System Run Level

  • init 0 → shutdown
  • init 1 → single user mode → troubleshoot
  • init 6 → reboot the system
  • init 2 → multiuser without networking
  • init 3 → multiuser with networking
  • init 5 → multiuser with networking with GUI
who -r
  • To know which level

Boot Process

  • CPU -> BIOS -> CMOS
  • BIOS = Basic Input / Output System
  • CMOS = Complementary Metal-Oxide Semiconductor
  • ROM = Read Only Memory
  • POST = Power On Self Test
  • HDD → 1st sector = MBR
  • MBR = Master Boot Record
  • OS in RAM
  • App goes to CPU

Bootstrap

  • How the computer is going to power on
2 months ago Permalink
cluster icon
  • File Display Commands / Filters / Text Processing Input : File Display Commands cat → Show entire content cat -A → Show non-printable characters more → Paginate output less → Same as more but allows navigatio...
  • Linux File Ownership, ACLs, and I/O Redirects : File Ownership chown → Change ownership chgrp → Change group Access Control List (ACL) setfacl → Set file ACL getfacl → Get file ACL Add Permissi...
  • System information, root recovery, environment variables, shortcuts : Finding System Information cat /etc/redhat-release → Red Hat version uname -a → Linux hostname, kernel, architecture dmidecode → hardware, BIOS, syst...
  • SED: Stream Editor for Text Manipulation : Basic Replace Syntax: sed -i 's/KENNY/LENNY/g' filename Substitute all occurrences of "KENNY" with "LENNY" Delete Line Containing String: s...
  • Filesystem check and disk cloning : fsck & xfs_repair → filesystem check fsck → ext2, ext3, ext4 xfs_repair → xfs only Made each boot & fix it df -T → check Unmount before fsck ...


(97)
Filter untagged links
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community