【读书笔记0102】Beginning linux programming-3rd
来源:互联网 发布:路由p2p流量优化 编辑:程序博客网 时间:2024/05/18 01:16
Chapter 1: getting start
任何一本书都不可能适合任何人,这本书适合没有任何linux经验的C程序员
这章主要是介绍了unix linux gun的发展历史,
Unix is a trademark by The Open Group and source code belongs to SCO.
Unix phliosophy: The why we choose Unix.有点老掉牙的话题
这本书讲的却非常精辟:
1 what is Simplicity,
Small&simple in utilites
2 Focus,
It means,from the requirement ,we first break down the user needs.Then we try very small utilites which combined to perform. asinglepurpose so that easy to perform. and improve later for the betteralgorithmsand interface.
3 Reusable,
To realize the reusable,you should have the ability to find out the core of your applications. then make it a lib.
And you should well documented with simple butflexibleprogramming interface to helps others programmer.
4 Filters,
Filter is just transform. input and output ,to helps combining the programs.
5 Openfileformat
6 Flexibility:
is for the ingeniously users , never assume that user might want to do.
avoid arbitrary limits on field size,numbers limitation
Remember the famous name:AT&T,Linus Torvalds,Helsinki,Richard Stallman on GNU,Dennis Ritchie,
Programming Linux
1 Linux programs: two special typs: executables and scripts:
these two type can replace each other vice versa.
What the tips I learn form. this charpter:
1 / forward slash ,remember the UNIX got the first, the DOS not.
2 C compiler C89
3 emacs is a important editor in linux
4 ./ what that means
5 the RoadMap actually -- where the tools and development resources arelocated.
ok,这是个入门的重点:那就是知道linux是如何组织和应用各个应用和工具的:默认路径,这个往往是初学者不知道的东西:
general applications: /usr/bin
administrator specific: /usr/local/bin or/opt
usr/local will not remove while you reinstall the OS
You need to know the applications /include header files/ and thelibraryfiles.
Some very useful flags for:
-I (uppercase letter for "i") used for libs include path
-l (lowercase letter for "L") find a lib's full path and name standard lib path. eg. -lm include a math libs in standard path
-L add search directory , if not specify then it means just in current directory.
how to generate a lib and use
1 use -C while we compile the program:
2 use ar to creat a archive
then chapter said how a shared libraries are works
Getting helps show us the basic help method:
1 man
2 info
3 help eg: used in bash shell:
help set
任何一本书都不可能适合任何人,这本书适合没有任何linux经验的C程序员
这章主要是介绍了unix linux gun的发展历史,
Unix is a trademark by The Open Group and source code belongs to SCO.
Unix phliosophy: The why we choose Unix.有点老掉牙的话题
这本书讲的却非常精辟:
1 what is Simplicity,
Small&simple in utilites
2 Focus,
It means,from the requirement ,we first break down the user needs.Then we try very small utilites which combined to perform. asinglepurpose so that easy to perform. and improve later for the betteralgorithmsand interface.
3 Reusable,
To realize the reusable,you should have the ability to find out the core of your applications. then make it a lib.
And you should well documented with simple butflexibleprogramming interface to helps others programmer.
4 Filters,
Filter is just transform. input and output ,to helps combining the programs.
5 Openfileformat
6 Flexibility:
is for the ingeniously users , never assume that user might want to do.
avoid arbitrary limits on field size,numbers limitation
Remember the famous name:AT&T,Linus Torvalds,Helsinki,Richard Stallman on GNU,Dennis Ritchie,
Programming Linux
1 Linux programs: two special typs: executables and scripts:
these two type can replace each other vice versa.
What the tips I learn form. this charpter:
1 / forward slash ,remember the UNIX got the first, the DOS not.
2 C compiler C89
3 emacs is a important editor in linux
4 ./ what that means
5 the RoadMap actually -- where the tools and development resources arelocated.
ok,这是个入门的重点:那就是知道linux是如何组织和应用各个应用和工具的:默认路径,这个往往是初学者不知道的东西:
general applications: /usr/bin
administrator specific: /usr/local/bin or/opt
usr/local will not remove while you reinstall the OS
You need to know the applications /include header files/ and thelibraryfiles.
Some very useful flags for:
-I (uppercase letter for "i") used for libs include path
-l (lowercase letter for "L") find a lib's full path and name standard lib path. eg. -lm include a math libs in standard path
-L add search directory , if not specify then it means just in current directory.
how to generate a lib and use
1 use -C while we compile the program:
2 use ar to creat a archive
then chapter said how a shared libraries are works
Getting helps show us the basic help method:
1 man
2 info
3 help eg: used in bash shell:
help set
- 【读书笔记0102】Beginning linux programming-3rd
- 【读书笔记0101】Beginning linux programming-3rd
- Linux程序设计(Beginning Linux Programming 3rd Edition)读书笔记
- Beginning Linux Programming, 3rd Edition
- 【读书笔记0103】Beginning linux programming-shell programming
- 《Beginning Linux Programming》读书笔记(二)
- 《Beginning Linux Programming》读书笔记(四)
- 《Beginning Linux Programming》读书笔记(三)
- 《Beginning Linux Programming》读书笔记(二)
- 《Beginning Linux Programming》读书笔记(一)
- 《Beginning Linux Programming》读书笔记(序)
- 读书笔记 - Beginning Linux Programming - Chapter 2 Shell Programming
- Beginning Linux Programming chapter 3
- 读书笔记 - Beginning Linux Programming - Chapter 1 Getting Started
- Beginning Linux Programming
- 读书笔记01 Programming Interviews Exposed 3rd ed
- Beginning JavaScript, 3rd Edition
- Beginning Linux Programming, Third Edition
- 放之四海皆适用的设计原则(一)
- Oracle_JOB参数详解
- mahout 导入eclipse笔记
- Ext3.0 数据抓取的 store 介绍
- 自己动手将在线文档制作成CHM文件
- 【读书笔记0102】Beginning linux programming-3rd
- defparam的语法
- JQuery做出拖拽效果
- 数据大小超出此类型的最大值
- 数据结构复习题(五)
- 放之四海皆适用的设计原则(二)
- Ubuntu下如何打开/关闭 触摸板
- js 加入收藏,设为首页
- 说说Android桌面(Launcher应用)背后的故事(大结局)——让Widget拥有Application同等的待遇