Linux Class - I
September 05, 2021
Presentation: Here
Reading Resources: Here
Class Recording: Here
Class coverage
- What is Linux?
- Why use it?
- Why is it cool?
- Why is it better for engineers to use Linux?
- Linux can do all things Mac and Windows can and is just underrated.
- History of Linux
- What are Linux Flavors or Distributions (distros)?
- What differs between these distros?
- Which distro to choose?
- Linux Architecture
- What is Kernel?
- What are System Calls?
- The Linux File System (and saw similarities with Windows file system).
/bin/
, /opt/
, /boot/
, /root/
, /dev/
, /etc/
, /home/
, /lib/
, /tmp/
, /mnt/
, /media/
, /var/
- What is a shell?
- Different types of shell
- Comparison between sh, c, tc, korn, bash, fish and zsh
- What is POSIX?
- How files can be hidden in POSIX complaint systems?
- Command options like
ls -la
.
- alias
- About Linux Package Managers and
apt
- Lots of commands
ls
, cd
, pwd
, chown
, chmod
, chgrp
, grep
, cat
, head
, tail
, touch
, nano
, wc
, echo
, clear
, exit
, bash
, rm
, rmdir
- Useful commands like
man
, which
, whereis
, apropos
- Useful utilities like
top
, htop
, uname
, neofetch
, free
, ps
, tty
echo $0
to see which shell we are running
- How everything in Linux is a file?
- A little about
.bashrc
, .zshrc
, .bash_history
- How to use pipe (
|
) to pipe output of a command to grep
?
- Fun commands like
sl
, fortune
, lolcat
, cmatrix
, espeak
, cowsay
Homework
ls -la
output explanation, the first character of permissions string meaning and meaning of numbers in column 2
awk
(recommend watching this)
sed
find
more
and less
- Difference between terminal and shell.
- Learn more about Linux package managers. Some ways to install software in Ubuntu.
- Binge watch this and this
- r/unixporn for customisation motivation
- pling.com for Linux customisation resources.
- You can post your cool Linux decorations on TuxWars and Revengg channel on CC Teams.
Linux distros we recommended
- For those with NVIDIA Graphic Card, use Pop!_OS for peace of mind. From https://pop.system76.com click on the NVIDIA version while downloading.
- For others, its are yours, try whatever you want. For beginners Linux Mint, Ubuntu, Pop!_OS, KDE Neon, Zorin OS, Deepin Linux are great options.