SlideShare una empresa de Scribd logo
1 de 15
Linux Fundamentals
“EXPERIENCE THE FUN IN LINUX”
by Deepak Upadhyay
What is Linux?
 Linux:
 Linux is an open-source operating system and has existed for decades and its system
base-UNIX is the foundation of both Microsoft Windows and Apple(Macintosh).
 Accounts on Linus are either Root or User and a user can enact permissions that are
based on root privileges.
 There are hundreds of Linux distributions and a distribution is a type of Linus platform
that has been created for a specific purpose or design that separates itself from other
distributions.
 Some of the most common types of Linux systems consist of Ubuntu, Debian, Fedora,
and Red Hat.
Why Use Linux?
 Linux uses less resources and computing power than other operating systems
such as Microsoft Windows.
 It will increase the ability to learn the use of other software and specifically,
information security tools.
 The open-source platform enables multiple systems to have an operating system
without limitations of product keys and licenses.
 Although Linux is still vulnerable to malware, the majority of present malware is
crafted to target Windows because it is still the most widely used operating
system.
Command Line Syntax
 The command line is made up of three components:
 Command
 Option
 File/Location
► Example: root@mint:Desktop/cat cybrary.txt
► The <cat> is the command that instructs the computer to read the contents of the
file, and <cybrary.txt> is the file itself.
► The location should be correct BEFORE executing the command because
otherwise the file will not be found, rendering the command ineffective.
Linux File and Folder Structure
 The layout of Linux resembles the design of Windows but there are some
variances.
 Linux begins with the root directory and it contains a </> slash
 Multiple folders are extensions from root and are: /home, /bin, /sbin, /usr,
/mnt, /etc, /dev
 /etc has sub folders: /etc/passwd & /etc/shadow
 The home directory contains all directories in home
 etc contains the passwords and files related to administrators. The shadow folder holds
the encrypted passwords.
 Dev (short for device) contains locations of storage and optical drives.
How to Use Linux: Terminal
 Terminal:
 The terminal is the command shell of Linux and it is the hub for the majority of the operations in Linux.
 Commands:
 ifconfig – Very similar to ipconfig in Windows. Displays network information.
 Passwd – Changes the password
 Clear – Clears the terminal (Helps when you have a full screen)
 Cat – Displays the contents of a file
 cd – Change the directory
 Cd.. – moves up one level in a directory tree
 ls – List files and directories
 Pwd – Displays path and name of current directory
 su – Become the root user.
 Sudo – Run command with root authority
 There are hundreds of commands in a Linux system yet I wanted to highlight some of the more common ones.
Linux In Action
Open Terminal in Kali Linux
Linux In Action
Kali Linux
► A file titled Cybrary-Note
was created.
► I changed the directory to
Desktop
► The ‘cat’ command was
used to read the file’s
contents.
Linux In Action
Kali Linux
► The directory was changed
to ‘dev’
► A ‘ls’ was executed to list
all in ‘dev’
Linux In Action
Kali Linux
► The file was read by using
cat and then a ‘mv’
command was done.
► ‘mv’ tells the system to
rename the file.
► Renaming files and other
things can be done by
using the terminal.
Linux In Action
Mint
Distribution
Mint is a popular Linux Distribution
Linux In Action
Mint
► The user “cybrary” was
added by using ‘sudo’
and ‘adduser’ Sudo
enables permissions
without being a root user.
► A UNIX password was
given to the user.
► Also a few fictional phone
#s for fun.
Linux In Action
Mint
► After changing the
directory to /etc , the
command to read the
shadow file was executed
/etc $ cat shadow
► Shadow contains the
encrypted passwords and
the screenshot shows how
the password to cybrary is
encrypted (Bottom of the
screenshot).
Linux Commands - Common
• cd – Change Directory
• Cd.. Move up one level in the directory
• Logout – Close the session
• Ls – List all files
• Mv – Rename file
• Rm – Delete the file
• Clear – Clear screen
• Kill – Kill the running process
• Su – Become root user
• Sudo – use root privileges
• Exit – Exit terminal
• Cat – Display contents of file
• ifconfig – Display network
configurations
• Open – open the application
• Apt-get update – update package
• passwd – change password
• pwd – Display the directory path and
name
• mkdir – make new directory
• locate – locate files with specific name
• chmod – modify permissions for files and
directories
Linux fundamentals

Más contenido relacionado

La actualidad más candente

Linux Administration
Linux AdministrationLinux Administration
Linux AdministrationHarish1983
 
Linux directory structure by jitu mistry
Linux directory structure by jitu mistryLinux directory structure by jitu mistry
Linux directory structure by jitu mistryJITU MISTRY
 
Linux fundamentals
Linux fundamentalsLinux fundamentals
Linux fundamentalsRaghu nath
 
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...Edureka!
 
Linux Network Administration (LPI-1,LPI-2)
Linux Network Administration (LPI-1,LPI-2)Linux Network Administration (LPI-1,LPI-2)
Linux Network Administration (LPI-1,LPI-2)laonap166
 
User Administration in Linux
User Administration in LinuxUser Administration in Linux
User Administration in LinuxSAMUEL OJO
 
Unix Operating System
Unix Operating SystemUnix Operating System
Unix Operating Systemsubhsikha
 
Linux Presentation
Linux PresentationLinux Presentation
Linux PresentationNaiyan Noor
 
Introduction to Linux basic
Introduction to Linux basicIntroduction to Linux basic
Introduction to Linux basicf114n
 

La actualidad más candente (20)

Linux distributions
Linux    distributionsLinux    distributions
Linux distributions
 
Linux
LinuxLinux
Linux
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
 
Linux directory structure by jitu mistry
Linux directory structure by jitu mistryLinux directory structure by jitu mistry
Linux directory structure by jitu mistry
 
Linux: Basics OF Linux
Linux: Basics OF LinuxLinux: Basics OF Linux
Linux: Basics OF Linux
 
Presentation on linux
Presentation on linuxPresentation on linux
Presentation on linux
 
Linux file system
Linux file systemLinux file system
Linux file system
 
Linux file system
Linux file systemLinux file system
Linux file system
 
Linux - Introductions to Linux Operating System
Linux - Introductions to Linux Operating SystemLinux - Introductions to Linux Operating System
Linux - Introductions to Linux Operating System
 
Linux fundamentals
Linux fundamentalsLinux fundamentals
Linux fundamentals
 
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
 
Linux basics
Linux basicsLinux basics
Linux basics
 
Basic 50 linus command
Basic 50 linus commandBasic 50 linus command
Basic 50 linus command
 
Linux
LinuxLinux
Linux
 
Linux Network Administration (LPI-1,LPI-2)
Linux Network Administration (LPI-1,LPI-2)Linux Network Administration (LPI-1,LPI-2)
Linux Network Administration (LPI-1,LPI-2)
 
User Administration in Linux
User Administration in LinuxUser Administration in Linux
User Administration in Linux
 
Unix Operating System
Unix Operating SystemUnix Operating System
Unix Operating System
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
 
Introduction to Linux basic
Introduction to Linux basicIntroduction to Linux basic
Introduction to Linux basic
 

Similar a Linux fundamentals

Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linuxnanocdac
 
Linux Basics Knowlage sharing.pptx
Linux Basics Knowlage sharing.pptxLinux Basics Knowlage sharing.pptx
Linux Basics Knowlage sharing.pptxbemnitekalegn
 
Get Started with Linux Management Command line Basic Knowledge
Get Started with Linux Management Command line Basic KnowledgeGet Started with Linux Management Command line Basic Knowledge
Get Started with Linux Management Command line Basic KnowledgeDavid Clark
 
Introduction, Features, Basic Commands and Distribution of LINUX
Introduction, Features, Basic Commands and Distribution of LINUXIntroduction, Features, Basic Commands and Distribution of LINUX
Introduction, Features, Basic Commands and Distribution of LINUXDeeksha Verma
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt onu9
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linuxPrasanth V
 
Linux operating system ppt
Linux operating system pptLinux operating system ppt
Linux operating system pptAchyut Sinha
 
Online Training in Unix Linux Shell Scripting in Hyderabad
Online Training in Unix Linux Shell Scripting in HyderabadOnline Training in Unix Linux Shell Scripting in Hyderabad
Online Training in Unix Linux Shell Scripting in HyderabadRavikumar Nandigam
 
User administration concepts and mechanisms
User administration concepts and mechanismsUser administration concepts and mechanisms
User administration concepts and mechanismsDuressa Teshome
 
Group project linux helix
Group project linux helixGroup project linux helix
Group project linux helixJeff Carroll
 
INTRODUCTION TO LINUX
INTRODUCTION TO LINUXINTRODUCTION TO LINUX
INTRODUCTION TO LINUXhafees4
 
Linux: Everyting-as-a-service
Linux: Everyting-as-a-serviceLinux: Everyting-as-a-service
Linux: Everyting-as-a-serviceRohit Sansiya
 
linux-lecture1.ppt
linux-lecture1.pptlinux-lecture1.ppt
linux-lecture1.pptNikhil Raut
 

Similar a Linux fundamentals (20)

Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
 
Intro to linux
Intro to linuxIntro to linux
Intro to linux
 
Linux introduction (eng)
Linux introduction (eng)Linux introduction (eng)
Linux introduction (eng)
 
Linux administration classes in mumbai
Linux administration classes in mumbaiLinux administration classes in mumbai
Linux administration classes in mumbai
 
Module1
Module1Module1
Module1
 
Linux Basics Knowlage sharing.pptx
Linux Basics Knowlage sharing.pptxLinux Basics Knowlage sharing.pptx
Linux Basics Knowlage sharing.pptx
 
Get Started with Linux Management Command line Basic Knowledge
Get Started with Linux Management Command line Basic KnowledgeGet Started with Linux Management Command line Basic Knowledge
Get Started with Linux Management Command line Basic Knowledge
 
Introduction, Features, Basic Commands and Distribution of LINUX
Introduction, Features, Basic Commands and Distribution of LINUXIntroduction, Features, Basic Commands and Distribution of LINUX
Introduction, Features, Basic Commands and Distribution of LINUX
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
 
Introduce to linux
Introduce to linuxIntroduce to linux
Introduce to linux
 
Linux operating system ppt
Linux operating system pptLinux operating system ppt
Linux operating system ppt
 
Online Training in Unix Linux Shell Scripting in Hyderabad
Online Training in Unix Linux Shell Scripting in HyderabadOnline Training in Unix Linux Shell Scripting in Hyderabad
Online Training in Unix Linux Shell Scripting in Hyderabad
 
User administration concepts and mechanisms
User administration concepts and mechanismsUser administration concepts and mechanisms
User administration concepts and mechanisms
 
Linux basic
Linux basicLinux basic
Linux basic
 
Group project linux helix
Group project linux helixGroup project linux helix
Group project linux helix
 
INTRODUCTION TO LINUX
INTRODUCTION TO LINUXINTRODUCTION TO LINUX
INTRODUCTION TO LINUX
 
Linux
Linux Linux
Linux
 
Linux: Everyting-as-a-service
Linux: Everyting-as-a-serviceLinux: Everyting-as-a-service
Linux: Everyting-as-a-service
 
linux-lecture1.ppt
linux-lecture1.pptlinux-lecture1.ppt
linux-lecture1.ppt
 

Más de Deepak Upadhyay

Power of positive attitude
Power of positive attitudePower of positive attitude
Power of positive attitudeDeepak Upadhyay
 
EFFICIENT DATA EXTRACTION USING ARTIFICIAL INTELLIGENCE
EFFICIENT DATA EXTRACTION USING  ARTIFICIAL INTELLIGENCEEFFICIENT DATA EXTRACTION USING  ARTIFICIAL INTELLIGENCE
EFFICIENT DATA EXTRACTION USING ARTIFICIAL INTELLIGENCEDeepak Upadhyay
 
Holographic Data Storage
Holographic Data StorageHolographic Data Storage
Holographic Data StorageDeepak Upadhyay
 
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJSBasic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJSDeepak Upadhyay
 
ADBMS (MySql) tiny project
ADBMS (MySql) tiny projectADBMS (MySql) tiny project
ADBMS (MySql) tiny projectDeepak Upadhyay
 
Man in The Middle Attack
Man in The Middle AttackMan in The Middle Attack
Man in The Middle AttackDeepak Upadhyay
 
You Are Born To Blossom by Dr. APJ Abdul Kalam Book Review
You Are Born To Blossom by Dr. APJ Abdul Kalam Book ReviewYou Are Born To Blossom by Dr. APJ Abdul Kalam Book Review
You Are Born To Blossom by Dr. APJ Abdul Kalam Book ReviewDeepak Upadhyay
 

Más de Deepak Upadhyay (10)

Power of positive attitude
Power of positive attitudePower of positive attitude
Power of positive attitude
 
EFFICIENT DATA EXTRACTION USING ARTIFICIAL INTELLIGENCE
EFFICIENT DATA EXTRACTION USING  ARTIFICIAL INTELLIGENCEEFFICIENT DATA EXTRACTION USING  ARTIFICIAL INTELLIGENCE
EFFICIENT DATA EXTRACTION USING ARTIFICIAL INTELLIGENCE
 
Holographic Data Storage
Holographic Data StorageHolographic Data Storage
Holographic Data Storage
 
Augmented Reality
Augmented RealityAugmented Reality
Augmented Reality
 
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJSBasic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
 
Progressive web app
Progressive web appProgressive web app
Progressive web app
 
ADBMS (MySql) tiny project
ADBMS (MySql) tiny projectADBMS (MySql) tiny project
ADBMS (MySql) tiny project
 
Man in The Middle Attack
Man in The Middle AttackMan in The Middle Attack
Man in The Middle Attack
 
You Are Born To Blossom by Dr. APJ Abdul Kalam Book Review
You Are Born To Blossom by Dr. APJ Abdul Kalam Book ReviewYou Are Born To Blossom by Dr. APJ Abdul Kalam Book Review
You Are Born To Blossom by Dr. APJ Abdul Kalam Book Review
 
Online notice board
Online notice boardOnline notice board
Online notice board
 

Último

Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Roomdivyansh0kumar0
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...Diya Sharma
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsAlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsThierry TROUIN ☁
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Roomishabajaj13
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607dollysharma2066
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024APNIC
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxellan12
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Servicesexy call girls service in goa
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)Damian Radcliffe
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girlsstephieert
 
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With RoomVIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Roomdivyansh0kumar0
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceDelhi Call girls
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirtrahman018755
 

Último (20)

Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
 
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
AlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with FlowsAlbaniaDreamin24 - How to easily use an API with Flows
AlbaniaDreamin24 - How to easily use an API with Flows
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)
 
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girls
 
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With RoomVIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
 

Linux fundamentals

  • 1. Linux Fundamentals “EXPERIENCE THE FUN IN LINUX” by Deepak Upadhyay
  • 2. What is Linux?  Linux:  Linux is an open-source operating system and has existed for decades and its system base-UNIX is the foundation of both Microsoft Windows and Apple(Macintosh).  Accounts on Linus are either Root or User and a user can enact permissions that are based on root privileges.  There are hundreds of Linux distributions and a distribution is a type of Linus platform that has been created for a specific purpose or design that separates itself from other distributions.  Some of the most common types of Linux systems consist of Ubuntu, Debian, Fedora, and Red Hat.
  • 3. Why Use Linux?  Linux uses less resources and computing power than other operating systems such as Microsoft Windows.  It will increase the ability to learn the use of other software and specifically, information security tools.  The open-source platform enables multiple systems to have an operating system without limitations of product keys and licenses.  Although Linux is still vulnerable to malware, the majority of present malware is crafted to target Windows because it is still the most widely used operating system.
  • 4. Command Line Syntax  The command line is made up of three components:  Command  Option  File/Location ► Example: root@mint:Desktop/cat cybrary.txt ► The <cat> is the command that instructs the computer to read the contents of the file, and <cybrary.txt> is the file itself. ► The location should be correct BEFORE executing the command because otherwise the file will not be found, rendering the command ineffective.
  • 5. Linux File and Folder Structure  The layout of Linux resembles the design of Windows but there are some variances.  Linux begins with the root directory and it contains a </> slash  Multiple folders are extensions from root and are: /home, /bin, /sbin, /usr, /mnt, /etc, /dev  /etc has sub folders: /etc/passwd & /etc/shadow  The home directory contains all directories in home  etc contains the passwords and files related to administrators. The shadow folder holds the encrypted passwords.  Dev (short for device) contains locations of storage and optical drives.
  • 6. How to Use Linux: Terminal  Terminal:  The terminal is the command shell of Linux and it is the hub for the majority of the operations in Linux.  Commands:  ifconfig – Very similar to ipconfig in Windows. Displays network information.  Passwd – Changes the password  Clear – Clears the terminal (Helps when you have a full screen)  Cat – Displays the contents of a file  cd – Change the directory  Cd.. – moves up one level in a directory tree  ls – List files and directories  Pwd – Displays path and name of current directory  su – Become the root user.  Sudo – Run command with root authority  There are hundreds of commands in a Linux system yet I wanted to highlight some of the more common ones.
  • 7. Linux In Action Open Terminal in Kali Linux
  • 8. Linux In Action Kali Linux ► A file titled Cybrary-Note was created. ► I changed the directory to Desktop ► The ‘cat’ command was used to read the file’s contents.
  • 9. Linux In Action Kali Linux ► The directory was changed to ‘dev’ ► A ‘ls’ was executed to list all in ‘dev’
  • 10. Linux In Action Kali Linux ► The file was read by using cat and then a ‘mv’ command was done. ► ‘mv’ tells the system to rename the file. ► Renaming files and other things can be done by using the terminal.
  • 11. Linux In Action Mint Distribution Mint is a popular Linux Distribution
  • 12. Linux In Action Mint ► The user “cybrary” was added by using ‘sudo’ and ‘adduser’ Sudo enables permissions without being a root user. ► A UNIX password was given to the user. ► Also a few fictional phone #s for fun.
  • 13. Linux In Action Mint ► After changing the directory to /etc , the command to read the shadow file was executed /etc $ cat shadow ► Shadow contains the encrypted passwords and the screenshot shows how the password to cybrary is encrypted (Bottom of the screenshot).
  • 14. Linux Commands - Common • cd – Change Directory • Cd.. Move up one level in the directory • Logout – Close the session • Ls – List all files • Mv – Rename file • Rm – Delete the file • Clear – Clear screen • Kill – Kill the running process • Su – Become root user • Sudo – use root privileges • Exit – Exit terminal • Cat – Display contents of file • ifconfig – Display network configurations • Open – open the application • Apt-get update – update package • passwd – change password • pwd – Display the directory path and name • mkdir – make new directory • locate – locate files with specific name • chmod – modify permissions for files and directories