Supprimer Rendre public Rendre privé Add tags Delete tags
  Ajouter un tag   Annuler
  Supprimer le tag   Annuler
  • • DevOps notes •
  •  
  • AI
  • Tags
  • Connexion

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
3 months ago Permalien
cluster icon
  • Alias and command history : alias l="ls -al" → define alias unalias l → remove alias Persistent Alias Config User-specific: ~/.bashrc Global: /etc/bashrc Add: alias l="ls -a...
  • Chmod Calculator :
  • 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...
  • Linux filesystem : Directory Description /boot Grub.cfg /root home of root /dev system device (mouse, keyboard) /etc configuration files /bin → /usr/bin e...
  • Special Permissions (SetUID, SetGID, Sticky Bit) : chmod u+s xyz.sh → add SetUID (user-level special permission) chmod g+s xyz.sh → add SetGID (group-level special permission) chmod u-s xyz.sh → remov...


(110)
Filtrer par liens sans tag
Replier Replier tout Déplier Déplier tout Êtes-vous sûr de vouloir supprimer ce lien ? Êtes-vous sûr de vouloir supprimer ce tag ? Le gestionnaire de marque-pages personnel, minimaliste, et sans base de données par la communauté Shaarli