Linux Command Line and Shell Scripting Bible

Richard Blum, Christine Bresnahan

出版社

Wiley

出版时间

2015-01-20

ISBN

9781118983843

评分

★★★★★
书籍介绍
Master the Linux command line and shell scripts The Linux Command Line and Shell Scripting Bible, 3rd Edition is the ultimate roadmap to direct communication with your system. The third edition has been fully updated to align with the latest Linux features and best practices, and the abundant examples of working scripts demonstrate how and where they’re applied in real-world situations. With more than 25% new material including 30 pages of new functional script examples, Linux Command Line and Shell Scripting Bible shows you how to: •Automate tasks with simple script utilities •Create shell scripts and understand good shell behavior •Manage filesystems and software packages •Work with nano, KDE, and GNOME editors •Learn structured commands, text manipulation, and regular expressions •Write practical scripts for e-mail, databases, and the web •Optimize the environment, fine-tune scripts, and more!
AI导读
核心看点
  • 全面覆盖Linux命令行与Shell脚本编写
  • 提供大量真实场景下的脚本应用示例
  • 更新第三版,贴合最新Linux特性与最佳实践
适合谁读
  • Linux系统初学者及命令行新手
  • 希望自动化任务的管理员与开发者
  • 需要系统学习Shell编程的计算机专业学生
读前提醒
  • 内容较广但部分原理讲解较浅,需结合实践
  • 正则表达式章节术语可能混乱,建议谨慎阅读
  • 适合当作工具书查阅,不必强求一次性通读
读者共识
  • 被广泛认为是同类书籍中内容最全面的佳作
  • 通俗易懂,适合入门,但部分章节略显冗长
  • 相比其他入门书,讲解更细致且实用性更强

本导读基于书籍简介、目录、原文摘录、短评和书评生成,不等同于全文精读。

精彩摘录
  • "不要认为管道是一个一个地运行连接的两条命令。实际上,Linux同时运行着两条命令。当第一条命令产生输出时,其输出就会立即发送给第二条。中间没有创建临时文件或是缓冲区。"
  • "在前半个方括号的后面和后半个方括号的前面都必须有个斯贝斯(space)。"
  • "有些LInux实现包含一个进程表,可以在引导时自动启动。在Linux系统中,该表通常位于特殊文件/etc/inittabs中。"
  • "PS1和PS2就是命令提示符的表现形式"
  • "硬连接会创建一个独立文件,其中包含了源文件的信息以及位置,引用硬链接文件等同于引用了源文件。 硬链接文件采用和源文件相同的索引节点。硬链接会一直维持这个索引节点号来保留数据,直到你删除了最后一个硬链接它的文件。"
  • "当程序运行在系统上时,我们称之为进程( process)。想监测这些进程,需要熟悉 ps 命令的用法。ps 命令好比工具中的瑞士军刀,它能输出运行在系统上的所有程序的许多信息。 遗憾的是,随着它的稳健而来的还有复杂性——有数不清的参数,这或许让 ps 命令成了最难掌握的命令。大多数系统管理员在掌握了能提供他们需要信息的一组参数之后,就一直坚持只使用这组参数。"
  • "在涉及环境变量名时,什么时候该使用$,什么时候不该使用$,实在让人摸不着头脑。记住一点就行了:如果要用到变量,使用$;如果要操作变量,不使用$。这条规则的一个例外就是使用 printenv 显示某个变量的值。"
作者简介
Richard Blum, LPIC-1, is a 20-year IT industry veteran, as both systems and network administrator for UNIX, Linux, Novell, and Microsoft servers. Rich is widely published on Linux and open source software, and is an online Linux instructor for universities nationwide. Christine Bresnahan, LPIC-1, started working with computers more than 25 years ago in the IT industry as a system administrator. Christine is an Adjunct Professor at Ivy Tech Community College. She teaches Linux Essentials, LPIC-1/CompTIA Linux+ certification, and Python programming classes. Christine produces educational material for use in the college classroom as well as book education resources.
下载
收藏