- Linux is only a kernel (collection of drivers, task schedulers etc).
- Red Hat, Fedora, Ubuntu, Manjaro, Kali, NixOS etc. are OS distributions (uses the Linux kernel).
- Linux OSes can be used via CLI (suitable for servers) or GUI (suitable for personal laptops/desktops).
- Linux CLI
- sh
- bash
- csh
- ksh
- zsh
- fish
- Linux GUI:
- Window Manager
- X org (DE required)
- Wayland (DE required)
- bspwm
- i3
- i3-gaps
- awesomewm
- dwm
- ...
- Desktop Environment (All requires WM)
- Gnome
- KDE
- Mate
- Unity
- xfce
- ...
- Window Manager
- Linux is multi-user (multiple users can login at the same time)
- "root" is the superuser
catto see the contents of a text file e.g.cat /etc/fstabnslookupto get the IP address from domain name or vice versa e.g.nslookup ip,nslookup domainifconfigto get the IP addresses of my machineyumto install or update packages in RedHat (apt-getin Ubuntu,pacmanin Arch etc.) e.g.yum update,yum install python,yum remove pythonpingto check if a server is online/responding (ICMP is blocked by AWS) e.g.ping ip,ping domainsshto login into remote servers e.g.ssh -i keyfile username@ip,ssh username@domainscpto login into remote servers e.g.scp -i keyfile /source username@ip:/destination,scp /source username@domain:/destinationcdto move into a directory e.g.cd /tmpmkdirto make directory e.g.mkdir dirlsto list files inside a directory e.g.ls,ls /tmp,ls -lpwdto get the present working directory e.g.pwdtracertto get the gateway IP addresses of the given destination address/domain e.g.traceroute google.comip link showto get the network interfaces, mac addresses (active + inactive)ip route showto get the gateway addresses of the machine.mountto mount a filesystem (partition / shared filesystem etc.)umountto unmount a filesystem (partition / shared filesystem etc.) e.g.mount /dev/sda1 /mnt/directoryfdisksee and update the attached disks and partitions e.g.fdisk -l,fdisk /dev/sdatreeto get the directory treewhichto get the location of the command e.g.which lsmanmanual for any command. e.g.man lsdf -hlist the mounted partitionssuswitch userwhoamioridto see who I am logged in assystemctl start/stop/restart/reload/enable/disableto manage running serviceschmodto change file mode. e.g.chmod +x filenameto give execute permission.mvto move or rename file or directorycpto copy file or directoryrmto remove file or directory