SlideShare ist ein Scribd-Unternehmen logo
1 von 21
Starting with Linux

                      Mesi Rendón
                      @mesirendon
                                         1
                       Starting with Linux
Type of installation



                                         2
                       Starting with Linux
Dual boot

Live CD

Fresh install

Virtual installation



                                         3
                       Starting with Linux
Selecting a distro



                                       4
                     Starting with Linux
5
Starting with Linux
Stable code base
Changing
Upgrading software
Upgrading between versions
Large developer base


                                         6
                       Starting with Linux
http://www.debian.org/
                                           7
                         Starting with Linux
Solid, quality Linux distro (Long history)

It's the base for another famous Linux distros (e.g. Ubuntu)

Non-profit, non-commercial

Applicable to a wide range of users and uses

Easily obtained and updated


                http://www.debian.org/
                                                                        8
                                                      Starting with Linux
Starting the installation



                                         9
                       Starting with Linux
Partitioning Hard Drives
         in Linux



                                       10
                      Starting with Linux
11
Starting with Linux
Directory Structure of
        Linux



                                      12
                     Starting with Linux
13
Starting with Linux
/bin     Essential binary commands
/boot    Boot loader static files
/dev     Devices' files
/etc     System specific configuration
/root    Root's home file
/home    Users home folder
/lib     Kernel modules and essential shared libraries
/libX    Alternative essential shared libraries
/media   Removable devices mount point
/mnt     Temporary filesystem mount point
/opt     Additional software packs
/sbin    Essentail system binaries
/srv     Service data provided by the system
/tmp     Temporary files
/usr     Secondary hierarchy
/var     Variable data



                                                                          14
                                                         Starting with Linux
In Linux everything is a file.




                                             15
                            Starting with Linux
Filesystem



                              16
             Starting with Linux
File Persmissions



                                     17
                    Starting with Linux
chown [OPTION]... [OWNER][:[GROUP]] FILE...
-c, --changes              like verbose but report only when a change is made
--dereference              affect the referent of each symbolic link, rather than the symlink
-h, --no-dereference       affect each symbolic link instead of any referenced file
--from=CURRENT_OWNER:CURRENT_GROUP
change the owner and/or group of each file only if its current owner and/or group match those
specified here. Either may be omitted, in which case a match is not required for the omitted
attribute.
--no-preserve-root         do not treat '/' specially (the default)
--preserve-root            fail to operate recursively on '/'
-f, --silent, --quiet      suppress most error messages
--reference=RFILE          use RFILE's owner and group rather than specifying
OWNER:GROUP values
-R, --recursive            operate on files and directories recursively
-v, --verbose              output a diagnostic for every file processed

The following options modify how a hierarchy is traversed when the -R option is also specified.
If more than one is specified, only the final one takes effect.
-H                          if a command line argument is a symbolic link to a directory,
traverse it
-L                          traverse every symbolic link to a directory encountered
-P                          do not traverse any symbolic links (default)
--help                      display this help and exit
--version                   output version information and exit
                                                                                                18
                                                                               Starting with Linux
chmod [options] mode[,mode] file1 [file2 ...]


         #        Permission    rwx
         7 Full                111
         6 Read and write      110
         5 Read and execute    101
         4 Read only           100
         3 Write and execute   011
         2 Write only          010
         1 Execute only        001
         0 None                000




                                                            19
                                           Starting with Linux
chmod [references][operator][modes] file ...
     Ref        Class                             Description
     u         User        Owner of the file
     g         Group       Users who are members of the file's group
     o         Others      Users who are neither the owner nor the file's group
     a         All         All of above or ugo

         Op                                      Description
           +           Adds the specified modes to the specified classes
           -           Removes the specified modes from the specified classes
                       The modes specified are to be made the exact modes for
           =
                       the specified classes

Mode           Name                                 Description
 r       Read            Read a file or list a directory's contents
 w       Write           Write to a file or directory
 x       Execute         Execute a file or recurse a directory tree


                                                                                             20
                                                                            Starting with Linux
Starting with Linux by Mesi Rendón is licensed under a
Creative Commons Attribution-ShareAlike 3.0 Unported License.




                                                                      21
                                                     Starting with Linux

Weitere ähnliche Inhalte

Was ist angesagt?

Red hat enterprise linux 7 (rhel 7)
Red hat enterprise linux 7 (rhel 7)Red hat enterprise linux 7 (rhel 7)
Red hat enterprise linux 7 (rhel 7)Ramola Dhande
 
The basic concept of Linux FIleSystem
The basic concept of Linux FIleSystemThe basic concept of Linux FIleSystem
The basic concept of Linux FIleSystemHungWei Chiu
 
Linux presentation
Linux presentationLinux presentation
Linux presentationNikhil Jain
 
Lesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File SystemLesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File SystemSadia Bashir
 
Part 03 File System Implementation in Linux
Part 03 File System Implementation in LinuxPart 03 File System Implementation in Linux
Part 03 File System Implementation in LinuxTushar B Kute
 
Mca ii os u-5 unix linux file system
Mca  ii  os u-5 unix linux file systemMca  ii  os u-5 unix linux file system
Mca ii os u-5 unix linux file systemRai University
 
17 Linux Basics #burningkeyboards
17 Linux Basics #burningkeyboards17 Linux Basics #burningkeyboards
17 Linux Basics #burningkeyboardsDenis Ristic
 
Linux standard file system
Linux standard file systemLinux standard file system
Linux standard file systemTaaanu01
 
The linux file system structure
The linux file system structureThe linux file system structure
The linux file system structureTeja Bheemanapally
 
Lesson 1 Linux System Fundamentals
Lesson 1 Linux System Fundamentals  Lesson 1 Linux System Fundamentals
Lesson 1 Linux System Fundamentals Sadia Bashir
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt onu9
 

Was ist angesagt? (20)

Red hat enterprise linux 7 (rhel 7)
Red hat enterprise linux 7 (rhel 7)Red hat enterprise linux 7 (rhel 7)
Red hat enterprise linux 7 (rhel 7)
 
The basic concept of Linux FIleSystem
The basic concept of Linux FIleSystemThe basic concept of Linux FIleSystem
The basic concept of Linux FIleSystem
 
Linux presentation
Linux presentationLinux presentation
Linux presentation
 
Lesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File SystemLesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File System
 
Linux
Linux Linux
Linux
 
Vfs
VfsVfs
Vfs
 
Linux administration classes in mumbai
Linux administration classes in mumbaiLinux administration classes in mumbai
Linux administration classes in mumbai
 
Part 03 File System Implementation in Linux
Part 03 File System Implementation in LinuxPart 03 File System Implementation in Linux
Part 03 File System Implementation in Linux
 
Mca ii os u-5 unix linux file system
Mca  ii  os u-5 unix linux file systemMca  ii  os u-5 unix linux file system
Mca ii os u-5 unix linux file system
 
17 Linux Basics #burningkeyboards
17 Linux Basics #burningkeyboards17 Linux Basics #burningkeyboards
17 Linux Basics #burningkeyboards
 
Linux standard file system
Linux standard file systemLinux standard file system
Linux standard file system
 
Basics of Linux
Basics of LinuxBasics of Linux
Basics of Linux
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Linux file system
Linux file systemLinux file system
Linux file system
 
The linux file system structure
The linux file system structureThe linux file system structure
The linux file system structure
 
Lesson 1 Linux System Fundamentals
Lesson 1 Linux System Fundamentals  Lesson 1 Linux System Fundamentals
Lesson 1 Linux System Fundamentals
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Linux file system
Linux file systemLinux file system
Linux file system
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt
 
Linux commands
Linux commandsLinux commands
Linux commands
 

Andere mochten auch

Sjk bm k2 set3
Sjk bm k2 set3Sjk bm k2 set3
Sjk bm k2 set3harijas
 
Practicepowerpoint
PracticepowerpointPracticepowerpoint
PracticepowerpointDileep Kumar
 
A bmk1 ujianupsr_set1_08
A bmk1 ujianupsr_set1_08A bmk1 ujianupsr_set1_08
A bmk1 ujianupsr_set1_08harijas
 
Reflections meenakshi sundaram
Reflections  meenakshi sundaramReflections  meenakshi sundaram
Reflections meenakshi sundaramMeenakshi Sundaram
 
Sweet memories
Sweet memoriesSweet memories
Sweet memoriesa2wladybug
 
九州ソフトウェアテスト勉強会紹介LT:Developers Summit 2016 FUKUOKA懇親会
九州ソフトウェアテスト勉強会紹介LT:Developers Summit 2016 FUKUOKA懇親会九州ソフトウェアテスト勉強会紹介LT:Developers Summit 2016 FUKUOKA懇親会
九州ソフトウェアテスト勉強会紹介LT:Developers Summit 2016 FUKUOKA懇親会Rina Fukuda
 
Les Immobilisations Corporelles
Les Immobilisations CorporellesLes Immobilisations Corporelles
Les Immobilisations CorporellesImane SBAI
 
はじめてのソフトウェアテスト
はじめてのソフトウェアテストはじめてのソフトウェアテスト
はじめてのソフトウェアテストRina Fukuda
 
SNSとコミュニティ活動 でシームレスに働こう - エンジニアとしての私の働き方 - :Developers Summit 2016 FUKUOKA
SNSとコミュニティ活動でシームレスに働こう- エンジニアとしての私の働き方 -:Developers Summit 2016 FUKUOKASNSとコミュニティ活動でシームレスに働こう- エンジニアとしての私の働き方 -:Developers Summit 2016 FUKUOKA
SNSとコミュニティ活動 でシームレスに働こう - エンジニアとしての私の働き方 - :Developers Summit 2016 FUKUOKARina Fukuda
 
日本で一番PHPのシステムをテストしている手動テスターが思うところ:PHPカンファレンス福岡
日本で一番PHPのシステムをテストしている手動テスターが思うところ:PHPカンファレンス福岡日本で一番PHPのシステムをテストしている手動テスターが思うところ:PHPカンファレンス福岡
日本で一番PHPのシステムをテストしている手動テスターが思うところ:PHPカンファレンス福岡Rina Fukuda
 
5 Étapes Pour Communiquer sur les réseaux sociaux
5 Étapes Pour Communiquer sur les réseaux sociaux5 Étapes Pour Communiquer sur les réseaux sociaux
5 Étapes Pour Communiquer sur les réseaux sociauxSimon Robic
 

Andere mochten auch (20)

Resume
ResumeResume
Resume
 
Sjk bm k2 set3
Sjk bm k2 set3Sjk bm k2 set3
Sjk bm k2 set3
 
Practicepowerpoint
PracticepowerpointPracticepowerpoint
Practicepowerpoint
 
My reflections
My reflectionsMy reflections
My reflections
 
A bmk1 ujianupsr_set1_08
A bmk1 ujianupsr_set1_08A bmk1 ujianupsr_set1_08
A bmk1 ujianupsr_set1_08
 
Reflections meenakshi sundaram
Reflections  meenakshi sundaramReflections  meenakshi sundaram
Reflections meenakshi sundaram
 
Mathemahics_Derivatif
Mathemahics_DerivatifMathemahics_Derivatif
Mathemahics_Derivatif
 
Sweet memories
Sweet memoriesSweet memories
Sweet memories
 
九州ソフトウェアテスト勉強会紹介LT:Developers Summit 2016 FUKUOKA懇親会
九州ソフトウェアテスト勉強会紹介LT:Developers Summit 2016 FUKUOKA懇親会九州ソフトウェアテスト勉強会紹介LT:Developers Summit 2016 FUKUOKA懇親会
九州ソフトウェアテスト勉強会紹介LT:Developers Summit 2016 FUKUOKA懇親会
 
2 RPP Pengecoran Logam dan Perlakuan Panas2
2 RPP Pengecoran Logam dan Perlakuan Panas22 RPP Pengecoran Logam dan Perlakuan Panas2
2 RPP Pengecoran Logam dan Perlakuan Panas2
 
Presentasi Tes dan Non Tes
Presentasi Tes dan Non Tes Presentasi Tes dan Non Tes
Presentasi Tes dan Non Tes
 
Makalah Pengujian Tarik Tekan
Makalah Pengujian Tarik TekanMakalah Pengujian Tarik Tekan
Makalah Pengujian Tarik Tekan
 
Rangkuman Teknik Tenaga Listrik
Rangkuman Teknik Tenaga ListrikRangkuman Teknik Tenaga Listrik
Rangkuman Teknik Tenaga Listrik
 
Laporan Praktikum Pemesinan
Laporan Praktikum PemesinanLaporan Praktikum Pemesinan
Laporan Praktikum Pemesinan
 
Laporan Praktikum Pengelasan
Laporan Praktikum PengelasanLaporan Praktikum Pengelasan
Laporan Praktikum Pengelasan
 
Les Immobilisations Corporelles
Les Immobilisations CorporellesLes Immobilisations Corporelles
Les Immobilisations Corporelles
 
はじめてのソフトウェアテスト
はじめてのソフトウェアテストはじめてのソフトウェアテスト
はじめてのソフトウェアテスト
 
SNSとコミュニティ活動 でシームレスに働こう - エンジニアとしての私の働き方 - :Developers Summit 2016 FUKUOKA
SNSとコミュニティ活動でシームレスに働こう- エンジニアとしての私の働き方 -:Developers Summit 2016 FUKUOKASNSとコミュニティ活動でシームレスに働こう- エンジニアとしての私の働き方 -:Developers Summit 2016 FUKUOKA
SNSとコミュニティ活動 でシームレスに働こう - エンジニアとしての私の働き方 - :Developers Summit 2016 FUKUOKA
 
日本で一番PHPのシステムをテストしている手動テスターが思うところ:PHPカンファレンス福岡
日本で一番PHPのシステムをテストしている手動テスターが思うところ:PHPカンファレンス福岡日本で一番PHPのシステムをテストしている手動テスターが思うところ:PHPカンファレンス福岡
日本で一番PHPのシステムをテストしている手動テスターが思うところ:PHPカンファレンス福岡
 
5 Étapes Pour Communiquer sur les réseaux sociaux
5 Étapes Pour Communiquer sur les réseaux sociaux5 Étapes Pour Communiquer sur les réseaux sociaux
5 Étapes Pour Communiquer sur les réseaux sociaux
 

Ähnlich wie Starting with Linux

Ähnlich wie Starting with Linux (20)

Intro to linux
Intro to linuxIntro to linux
Intro to linux
 
User administration concepts and mechanisms
User administration concepts and mechanismsUser administration concepts and mechanisms
User administration concepts and mechanisms
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
 
chapter 3 linux-lecture.ppt
chapter 3 linux-lecture.pptchapter 3 linux-lecture.ppt
chapter 3 linux-lecture.ppt
 
Linux
LinuxLinux
Linux
 
Programming Embedded linux
Programming Embedded linuxProgramming Embedded linux
Programming Embedded linux
 
01 t1 s2_linux_lesson1
01 t1 s2_linux_lesson101 t1 s2_linux_lesson1
01 t1 s2_linux_lesson1
 
Linux introduction (eng)
Linux introduction (eng)Linux introduction (eng)
Linux introduction (eng)
 
Linux fundamentals
Linux fundamentalsLinux fundamentals
Linux fundamentals
 
Linux
Linux Linux
Linux
 
Ch1 linux basics
Ch1 linux basicsCh1 linux basics
Ch1 linux basics
 
Linux 4 you
Linux 4 youLinux 4 you
Linux 4 you
 
Linux notes
Linux notesLinux notes
Linux notes
 
Module1
Module1Module1
Module1
 
Unix_commands_theory
Unix_commands_theoryUnix_commands_theory
Unix_commands_theory
 
Introduce to linux
Introduce to linuxIntroduce to linux
Introduce to linux
 
linux-lecture1.ppt
linux-lecture1.pptlinux-lecture1.ppt
linux-lecture1.ppt
 
Linux: Everyting-as-a-service
Linux: Everyting-as-a-serviceLinux: Everyting-as-a-service
Linux: Everyting-as-a-service
 
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
 
chapter-1-introduction-to-linux.ppt
chapter-1-introduction-to-linux.pptchapter-1-introduction-to-linux.ppt
chapter-1-introduction-to-linux.ppt
 

Kürzlich hochgeladen

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 

Kürzlich hochgeladen (20)

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

Starting with Linux

  • 1. Starting with Linux Mesi Rendón @mesirendon 1 Starting with Linux
  • 2. Type of installation 2 Starting with Linux
  • 3. Dual boot Live CD Fresh install Virtual installation 3 Starting with Linux
  • 4. Selecting a distro 4 Starting with Linux
  • 6. Stable code base Changing Upgrading software Upgrading between versions Large developer base 6 Starting with Linux
  • 7. http://www.debian.org/ 7 Starting with Linux
  • 8. Solid, quality Linux distro (Long history) It's the base for another famous Linux distros (e.g. Ubuntu) Non-profit, non-commercial Applicable to a wide range of users and uses Easily obtained and updated http://www.debian.org/ 8 Starting with Linux
  • 9. Starting the installation 9 Starting with Linux
  • 10. Partitioning Hard Drives in Linux 10 Starting with Linux
  • 12. Directory Structure of Linux 12 Starting with Linux
  • 14. /bin Essential binary commands /boot Boot loader static files /dev Devices' files /etc System specific configuration /root Root's home file /home Users home folder /lib Kernel modules and essential shared libraries /libX Alternative essential shared libraries /media Removable devices mount point /mnt Temporary filesystem mount point /opt Additional software packs /sbin Essentail system binaries /srv Service data provided by the system /tmp Temporary files /usr Secondary hierarchy /var Variable data 14 Starting with Linux
  • 15. In Linux everything is a file. 15 Starting with Linux
  • 16. Filesystem 16 Starting with Linux
  • 17. File Persmissions 17 Starting with Linux
  • 18. chown [OPTION]... [OWNER][:[GROUP]] FILE... -c, --changes like verbose but report only when a change is made --dereference affect the referent of each symbolic link, rather than the symlink -h, --no-dereference affect each symbolic link instead of any referenced file --from=CURRENT_OWNER:CURRENT_GROUP change the owner and/or group of each file only if its current owner and/or group match those specified here. Either may be omitted, in which case a match is not required for the omitted attribute. --no-preserve-root do not treat '/' specially (the default) --preserve-root fail to operate recursively on '/' -f, --silent, --quiet suppress most error messages --reference=RFILE use RFILE's owner and group rather than specifying OWNER:GROUP values -R, --recursive operate on files and directories recursively -v, --verbose output a diagnostic for every file processed The following options modify how a hierarchy is traversed when the -R option is also specified. If more than one is specified, only the final one takes effect. -H if a command line argument is a symbolic link to a directory, traverse it -L traverse every symbolic link to a directory encountered -P do not traverse any symbolic links (default) --help display this help and exit --version output version information and exit 18 Starting with Linux
  • 19. chmod [options] mode[,mode] file1 [file2 ...] # Permission rwx 7 Full 111 6 Read and write 110 5 Read and execute 101 4 Read only 100 3 Write and execute 011 2 Write only 010 1 Execute only 001 0 None 000 19 Starting with Linux
  • 20. chmod [references][operator][modes] file ... Ref Class Description u User Owner of the file g Group Users who are members of the file's group o Others Users who are neither the owner nor the file's group a All All of above or ugo Op Description + Adds the specified modes to the specified classes - Removes the specified modes from the specified classes The modes specified are to be made the exact modes for = the specified classes Mode Name Description r Read Read a file or list a directory's contents w Write Write to a file or directory x Execute Execute a file or recurse a directory tree 20 Starting with Linux
  • 21. Starting with Linux by Mesi Rendón is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. 21 Starting with Linux