===============
Day-01 : Linux
===============
1) Pre-Requisites
2) Course Content
3) Who can learn this course
4) What is the benefit you are goning to get from this course
5) Realtime usecases of Linux OS
6) Course Info
================
pre-requisites
================
1) Laptop/Desktop => 8 GB RAM
2) AWS Cloud Account (Free Tier)
===============================
Who should learn this course ?
================================
1) Freshers
2) Working Professional (java, net, python, tester, devops, aws)
3) Non IT people
======================================
Where we will use Linux in Realtime ?
======================================
To setup Tomcat server
To setup jenkins
To setup docker
To setup k8s
To setup sonar
To setup nexus
To setup ELK
To store logs
==========================================
What we will learn as part of this course
==========================================
Name : Linux + Shell Scripting
Duration : 2 Weeks
Class Time : 6:30 PM to 8:00 PM (IST) ==> Mon-Sat
Course Fee : Zero (Live Classes + Softcopy material)
Backup Videos : 499 INR (1 year validity)
==========================
What is Operating System
==========================
=> It is a software which acts as mediator between users and computers
=> Users will communicate with computers using Operating System (OS)
=> Without OS we can't use any computer
=> OS provides platform/environment to use computers
Ex: Notepad, Calculator, Browsers....etc
=> We have several Operating Systems in market
Ex: Windows, Linux, MAC, Android, IOS.....
=============
Windows OS
=============
=> Developed by Microsoft
=> It is GUI based OS (Graphical User Interface)
=> It is commercial OS (paid)
=> Security features are less (Anti-virus is required)
=> Windows OS is recommended for personal use
Ex: Play Games, Watch Movies, Internet Browsing, Store data, Online Classes...
=> Single User based OS
Note: Windows is not recommended for business usecases (servers, tools, application
deployment..)
=======================
Linux Operating System
=======================
=> Linux is a community based OS
=> Linux is free & Open Source
=> Linux Provides High Security
=> Linux is Multi User based OS
=> Linux is highly recommended for project operations
=> Linux is CLI based OS (Command Line Interface)
touch
mv
rm
vi
mkdir
cat
Note: In real-time we will use Linux machines to setup our infrastructure.
Ex: jenkins, sonarqube, nexus, docker, k8s, ansible etc.....
=================
Linux OS History
=================
=> Developed by Linus Torvalds
=> Initially Linus Torvalds was using Unix OS and found some challenges in that and
informed to that company but they did not accept his suggestions.
=> Linus started doing research and he found "Minux OS" is similar to his ideas.
=> He has taken Minux OS and made few changes to that and released into market as
Linux OS.
(Lin)us + Min(ux) = Linux
================================
Linux Distributions / Flavours
================================
=> Linus Tarvalds given Linux os as free and open source
=> Many companies downloaded Linux OS code and modified according to their
requirement and released into market with different names.
Those are called as Linux Distributions/Flavours.
Ex: Amazon Linux, Red Hat, Ubuntu, Cent OS, SuSe, Kali, Fedora.......
Note: We have 200+ linux distributions
==========
Summary
==========
1) What is OS & Why we need it ?
2) Windows OS
3) Linux OS
4) Linux OS History
5) Linux Distributions
=====================
Linux Machine Setup
=====================
1) Login into AWS cloud account
2) Create Linux Virtual Machine using AWS Ec2 service
3) Connect with Linux VM using Git Bash/ MobaXterm / Putty
🔥 Thankyou all for being part of *Ashok IT - Family*
✅ Please go thru below videos and get ready with setup before coming to
tomorrow's class.
👉 Linux Free Material Access: [Link]
👉 AWS account setup : [Link]
👉 Linux Machine with Git Bash : [Link]
👉 Linux Machine with MobaXterm : [Link]
si=ZuZs0lQTxoRpbRMk
👉 Linux Machine with putty : [Link]
💥 *Linux Backup Videos (499 INR ) : [Link]
-
*Ashok IT*
===================
Linux File System
===================
=> Everything is represented as a file only
=> 3 Types of files
1) Ordinary file / Normal file (starts with -)
2) Directory file (folder) (starts with d)
3) Link File (starts with l)
================
Linux Commands
================
whoami : To display logged in username
date : displays current date
cal : display calendar
pwd : display present working directory path
cd : change directory
$ cd <dirname>
$ cd ..
ls : list content
mkdir : make directory (create)
rmdir : delete empty directory
ls -l : Long listing with alphabetical order (ascending)
ls -lr : reverse of alphabetical order (descending)
ls -lt : Display latest files on top
ls -ltr : old files on top
ls -la : display hidden files (starts with .)
touch : to create empty files
$ touch [Link] [Link]
rm : to delete files/non-empty directories
$ rm <file-name>
$ rm *.txt
$ rm a*.txt
$ rm -rf <dir-name>
mv : rename & move from one location to another location
$ mv <present-name> <new-name>
$ mv <present-location> <new-location>
cat : create file with data + append data to file + print file data
$ cat > [Link]
$ cat >> [Link]
$ cat [Link]
$ cat -n [Link]
================
whoami
date
cal
pwd
cd
ls
touch
rm
mv
cat
===========