Skip to content

Latest commit

 

History

History

2021_10_08_LinuxClass-2

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Linux Class - II

October 08, 2021

Linux logo Tux

Presentation: Here

Reading Resources: Here

Class Recording: Here


Class coverage

  1. Revised previous class in 5 mins
  2. Discussed with examples how everything is a file in Linux. Showed examples using /dev/ directory.
  3. Talked a little about wildcards. Read in-depth here.
  4. Showed what shell scripting is.
  5. Talked about PATH environment variable.
  6. Showed how to create a command in Linux by either placing the program file in a directory that is present in PATH or by changing PATH itself.
  7. Talked a little about ~/.bashrc, ~/.zshrc and ~/.profile.

  1. Discussed the Linux booting process.
  2. Talked about BIOS, POST, CMOS, MBR, UEFI, GPT, GRUB, init, initrd, Runlevels.
  3. Also showed the examples of contents /etc/rc* directories.

  1. Talked about I/O Redirection and pipes.
  2. Discussed sudo and su and the difference between them.
  3. Discussed mount and umount using an example.

  1. Talked about kill -9 and pkill with examples.
  2. Talked briefly about file descriptors.
  3. Discussed a little about system call functions like read(), write(), fork(), exec().

Homework

  1. Revise the previous class and do leftover homework.
  2. Read about wildcards.
  3. Create your own shell script and command. Check out your ~/.bashrc or ~/.zshrc.
  4. Learn what is ~/.bash_history or ~/.zsh_history file in Linux.
  5. Read more about the system calls like read(), write(), fork(), exec(), alarm(), etc. You can use man page for this.
  6. Read more about the kill command and what all signals can be used with it. Use kill -L in bash to learn this (or the internet).
  7. Participate in TuxWars XD.