MNNIT CC 2021-22 Classes

Linux Class - I

September 05, 2021

Linux logo Tux


Presentation: Here

Reading Resources: Here

Class Recording: Here


Class coverage

  1. What is Linux?
  2. Why use it?
  3. Why is it cool?
  4. Why is it better for engineers to use Linux?
  5. Linux can do all things Mac and Windows can and is just underrated.


  1. History of Linux
  2. What are Linux Flavors or Distributions (distros)?
  3. What differs between these distros?
  4. Which distro to choose?


  1. Linux Architecture
  2. What is Kernel?
  3. What are System Calls?
  4. The Linux File System (and saw similarities with Windows file system).
  5. /bin/, /opt/, /boot/, /root/, /dev/, /etc/, /home/, /lib/, /tmp/, /mnt/, /media/, /var/


  1. What is a shell?
  2. Different types of shell
  3. Comparison between sh, c, tc, korn, bash, fish and zsh


  1. What is POSIX?
  2. How files can be hidden in POSIX complaint systems?
  3. Command options like ls -la.
  4. alias
  5. About Linux Package Managers and apt


  1. Lots of commands
  2. ls, cd, pwd, chown, chmod, chgrp, grep, cat, head, tail, touch, nano, wc, echo, clear, exit, bash, rm, rmdir
  3. Useful commands like man, which, whereis, apropos
  4. Useful utilities like top, htop, uname, neofetch, free, ps, tty
  5. echo $0 to see which shell we are running
  6. How everything in Linux is a file?
  7. A little about .bashrc, .zshrc, .bash_history
  8. How to use pipe (|) to pipe output of a command to grep?


  1. Fun commands like sl, fortune, lolcat, cmatrix, espeak, cowsay

Homework

  1. ls -la output explanation, the first character of permissions string meaning and meaning of numbers in column 2
  2. awk (recommend watching this)
  3. sed
  4. find
  5. more and less
  6. Difference between terminal and shell.
  7. Learn more about Linux package managers. Some ways to install software in Ubuntu.
  8. Binge watch this and this
  9. r/unixporn for customisation motivation
  10. pling.com for Linux customisation resources.
  11. You can post your cool Linux decorations on TuxWars and Revengg channel on CC Teams.
  1. 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.
  2. 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.