SlideShare a Scribd company logo
1 of 14
Download to read offline
Linux Getting Started

Methodologies and Practices
@hustcalm
Outline
●

What is Linux

●

How to play with Linux

●

What's inside the Books

●

Methodologies

●

Practice and Practice

●

Shell and Makefile

●

Revisited
What is Linux
●

●

●

●

Actually just an OS Kernel
Always refered as GNU/Linux(See
https://www.gnu.org/gnu/linux-and-gnu.html)
Open Source Unix? (Not accurate, cause Unix is a brand
now and has its own specification called Single Unix
Specification, see more reference/LSB 简介 .pdf)
An OS who has boosted the Server Macket(LAMP for
example)

●

Has lots of distros(See http://www.distrowatch.com)

●

For Linux Detailed Intro, see:
reference/linux/linux 趣话 .pdf
How to play with Linux
●

●

●

●

Install one distro(Debian, Centos, SUSE, Ubuntu, Mint,
Arch, Gentoo, etc)
Get familiar with the terminal, the shell and the
desktop Environment(KDE, GNOME, etc)
Use Linux for your daily job and as your development
platform
Write your own Linux applications and share it to
others freely

●

Look into the kernel and do something really cool:-)

●

`man` will be your best friend ever!

●

See another slide for warming up:
reference/linux/linuxgettingstarted-slideshare.pdf
What's inside the Books Beginner
●

Linux Pocket Guide(2nd Edition)

●

Linux in a Nutshell(6th Edition)

●

Running Linux(5th Edition)

●

The Linux Command Line(aka TLCL)
What's inside the Books Developer
●

Advanced Linux Programming

●

The Art of UNIX Programming

●

Advanced Programming in the Unix
Environment
What's inside the Books Next
●

LFS (Linux From Scratch)

●

Linux Device Drivers

●

Understanding the Linux Kernel

●

Professional Linux Kernel Architecture

●

Linux Kernel Development
Methodologies
●

Use it before getting to know it

●

Get a quick overview of your Linux Distro

●

Solve problems using Linux

●

Look inside what is really happening

●

Figure out How it works

●

Help others to get started just as you did!
Middle Break

Questions???
Practice and Practice
●

●

●

Why? Practice makes perfect things and a good
Linux user.
Practice what? Basic Linux Commands, using the
powerful utilities(find, grep, diff, sed, awk, make,
etc), Boost your terminal and shell, try to develop an
application, make your best to get a better kernel or
write a good driver if you can...
How to? Never leave your eyes off your screen and
your fingers off your keyboard:-)
Shell
●

●

Interface Between Users and OS(Kernel)
An Interpreter which is actually a normal
application

●

A powerful script language

●

Many choices(Bash, Csh, Ksh, Zsh, etc)

●

See:
reference/shell/bash-columbia_university.ppt
reference/shell/bash-pgming.ppt
reference/shell/Bash Shell 编程 .pdf
Makefile
●

●

Makefile is just a shell script that will be interpreted by make
Make is a tool aiming to automatically build and manage your
projects

●

Lab Time: Makefiles by example

●

Beyond make: Autotools(autoconf, automake)

●

See:
reference/makefile/ 跟我一起写 Makefile.pdf
reference/autotools/Autotools_ a practitioner's guide to
Autoconf, Automake and Libtool
Revisited
●

●
●

●

Linux overview(History, commands and
books)
Shell Scripting(Use Bash specifically)
Makefiles howto and Autotools getting
started
Linux is just there, go get it if you like!
The End

Thank You!

More Related Content

More from Lihang Li

Something about SSE and beyond
Something about SSE and beyondSomething about SSE and beyond
Something about SSE and beyondLihang Li
 
Some experiences and lessons learnt from hunting a job
Some experiences and lessons learnt from hunting a jobSome experiences and lessons learnt from hunting a job
Some experiences and lessons learnt from hunting a jobLihang Li
 
Getting started with Linux and Python by Caffe
Getting started with Linux and Python by CaffeGetting started with Linux and Python by Caffe
Getting started with Linux and Python by CaffeLihang Li
 
Point cloud mesh-investigation_report-lihang
Point cloud mesh-investigation_report-lihangPoint cloud mesh-investigation_report-lihang
Point cloud mesh-investigation_report-lihangLihang Li
 
Rtabmap investigation report-lihang
Rtabmap investigation report-lihangRtabmap investigation report-lihang
Rtabmap investigation report-lihangLihang Li
 
Rgbdslam and mapping_investigation_report-lihang
Rgbdslam and mapping_investigation_report-lihangRgbdslam and mapping_investigation_report-lihang
Rgbdslam and mapping_investigation_report-lihangLihang Li
 
DTAM: Dense Tracking and Mapping in Real-Time, Robot vision Group
DTAM: Dense Tracking and Mapping in Real-Time, Robot vision GroupDTAM: Dense Tracking and Mapping in Real-Time, Robot vision Group
DTAM: Dense Tracking and Mapping in Real-Time, Robot vision GroupLihang Li
 
2013新人见面会-中科院开源软件协会介绍-hustcalm
2013新人见面会-中科院开源软件协会介绍-hustcalm2013新人见面会-中科院开源软件协会介绍-hustcalm
2013新人见面会-中科院开源软件协会介绍-hustcalmLihang Li
 
像Hackers一样写博客-hustcalm
像Hackers一样写博客-hustcalm像Hackers一样写博客-hustcalm
像Hackers一样写博客-hustcalmLihang Li
 

More from Lihang Li (9)

Something about SSE and beyond
Something about SSE and beyondSomething about SSE and beyond
Something about SSE and beyond
 
Some experiences and lessons learnt from hunting a job
Some experiences and lessons learnt from hunting a jobSome experiences and lessons learnt from hunting a job
Some experiences and lessons learnt from hunting a job
 
Getting started with Linux and Python by Caffe
Getting started with Linux and Python by CaffeGetting started with Linux and Python by Caffe
Getting started with Linux and Python by Caffe
 
Point cloud mesh-investigation_report-lihang
Point cloud mesh-investigation_report-lihangPoint cloud mesh-investigation_report-lihang
Point cloud mesh-investigation_report-lihang
 
Rtabmap investigation report-lihang
Rtabmap investigation report-lihangRtabmap investigation report-lihang
Rtabmap investigation report-lihang
 
Rgbdslam and mapping_investigation_report-lihang
Rgbdslam and mapping_investigation_report-lihangRgbdslam and mapping_investigation_report-lihang
Rgbdslam and mapping_investigation_report-lihang
 
DTAM: Dense Tracking and Mapping in Real-Time, Robot vision Group
DTAM: Dense Tracking and Mapping in Real-Time, Robot vision GroupDTAM: Dense Tracking and Mapping in Real-Time, Robot vision Group
DTAM: Dense Tracking and Mapping in Real-Time, Robot vision Group
 
2013新人见面会-中科院开源软件协会介绍-hustcalm
2013新人见面会-中科院开源软件协会介绍-hustcalm2013新人见面会-中科院开源软件协会介绍-hustcalm
2013新人见面会-中科院开源软件协会介绍-hustcalm
 
像Hackers一样写博客-hustcalm
像Hackers一样写博客-hustcalm像Hackers一样写博客-hustcalm
像Hackers一样写博客-hustcalm
 

Recently uploaded

MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
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
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
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
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 

Recently uploaded (20)

MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
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
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
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
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

Linux getting started_methodologies and practices-hustcalm

  • 1. Linux Getting Started Methodologies and Practices @hustcalm
  • 2. Outline ● What is Linux ● How to play with Linux ● What's inside the Books ● Methodologies ● Practice and Practice ● Shell and Makefile ● Revisited
  • 3. What is Linux ● ● ● ● Actually just an OS Kernel Always refered as GNU/Linux(See https://www.gnu.org/gnu/linux-and-gnu.html) Open Source Unix? (Not accurate, cause Unix is a brand now and has its own specification called Single Unix Specification, see more reference/LSB 简介 .pdf) An OS who has boosted the Server Macket(LAMP for example) ● Has lots of distros(See http://www.distrowatch.com) ● For Linux Detailed Intro, see: reference/linux/linux 趣话 .pdf
  • 4. How to play with Linux ● ● ● ● Install one distro(Debian, Centos, SUSE, Ubuntu, Mint, Arch, Gentoo, etc) Get familiar with the terminal, the shell and the desktop Environment(KDE, GNOME, etc) Use Linux for your daily job and as your development platform Write your own Linux applications and share it to others freely ● Look into the kernel and do something really cool:-) ● `man` will be your best friend ever! ● See another slide for warming up: reference/linux/linuxgettingstarted-slideshare.pdf
  • 5. What's inside the Books Beginner ● Linux Pocket Guide(2nd Edition) ● Linux in a Nutshell(6th Edition) ● Running Linux(5th Edition) ● The Linux Command Line(aka TLCL)
  • 6. What's inside the Books Developer ● Advanced Linux Programming ● The Art of UNIX Programming ● Advanced Programming in the Unix Environment
  • 7. What's inside the Books Next ● LFS (Linux From Scratch) ● Linux Device Drivers ● Understanding the Linux Kernel ● Professional Linux Kernel Architecture ● Linux Kernel Development
  • 8. Methodologies ● Use it before getting to know it ● Get a quick overview of your Linux Distro ● Solve problems using Linux ● Look inside what is really happening ● Figure out How it works ● Help others to get started just as you did!
  • 10. Practice and Practice ● ● ● Why? Practice makes perfect things and a good Linux user. Practice what? Basic Linux Commands, using the powerful utilities(find, grep, diff, sed, awk, make, etc), Boost your terminal and shell, try to develop an application, make your best to get a better kernel or write a good driver if you can... How to? Never leave your eyes off your screen and your fingers off your keyboard:-)
  • 11. Shell ● ● Interface Between Users and OS(Kernel) An Interpreter which is actually a normal application ● A powerful script language ● Many choices(Bash, Csh, Ksh, Zsh, etc) ● See: reference/shell/bash-columbia_university.ppt reference/shell/bash-pgming.ppt reference/shell/Bash Shell 编程 .pdf
  • 12. Makefile ● ● Makefile is just a shell script that will be interpreted by make Make is a tool aiming to automatically build and manage your projects ● Lab Time: Makefiles by example ● Beyond make: Autotools(autoconf, automake) ● See: reference/makefile/ 跟我一起写 Makefile.pdf reference/autotools/Autotools_ a practitioner's guide to Autoconf, Automake and Libtool
  • 13. Revisited ● ● ● ● Linux overview(History, commands and books) Shell Scripting(Use Bash specifically) Makefiles howto and Autotools getting started Linux is just there, go get it if you like!