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

Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 

Recently uploaded (20)

DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 

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!