LinuxSysAdminsDoc/Linux/basic_cmd.md

739 B

Basic Linux Command

Searching the PATH for executable files matching the names of the arguments

$ which ls

Interactive processes viewer

$ htop

APT

$ apt install $ apt remove $ apt autoremove $ apt update

Display & Destop Manager

  • Architecture:

BIOS -> GRUB -> Display Manager -> Desktop Environement

  • Install Desktop Environement (GUI)

$ tasksel $ apt install gnome $ apt remove gnome

  • Reconfigurer le display manager

$ sudo dpkg-reconfigure gdm3

  • Installer le display manager

$ sudo apt install lightdm

$ sudo apt install gdm3

  • remove Desktop environement

$ sudo apt remove lightdm

Services

  • HTOP
  • dhclient > get ip
  • gnome networkmanager
  • wpa_supplicant > encryption @ wifi