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

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
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
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
🐬 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
 
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
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
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
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 

Recently uploaded (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
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...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
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...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
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?
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 

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!