Batch 29 Linux Basics
Batch 29 Linux Basics
2) Structure of Linux
Windows uses backslash whereas Linux uses forward slash.
Windows uses drive letters, Linux uses directories or folders instead of drives.
In windows -
This PC
C D E F
In Linux
/ folder (root)
/bin /etc /tmp /root (root user) /home /kali (normal)
3) Usage basics
a. CLI – Command Line Interface is used to type commands rather than interact with
the user interface. In windows you have command prompt the black screen and in
linux you call it as terminal.
d. In Windows, you call “Administrator” whereas in Linux you say “root user”. You
enable root user by typing “sudo”.
e. Installation of applications involve downloading the correct .deb file and running
terminal (black screen) and using the command “sudo apt install ./filename.deb”.
Demo with Google Chrome.
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
or download the latest .deb file from Chrome website
sudo apt install ./google-chrome-stable_current_amd64.deb