鸟哥的 Linux 私房菜:基础学习篇 第四版9.4 其他 vim 使用注意事项 9.5 重点回顾 9.6 本章练习 9.7 参考资料与延伸阅读 第十章、认识与学习BASH 10.1 认识 BASH 这个 Shell 10.2 Shell 的变量功能 10.3 命令别名与历史命令 10.4 Bash Shell 的操作环境: 10.5 数据流重导向 10.6 管线命令 (pipe) 10.7 重点回顾 10.8 本章习题 Linux 的世界中,使用的是 GNU 发展出来的强化的第二代 shell ,称为 BASH Shell ,他有什么特异功能呢?简单的说,我们之前下达的几个指令都是 bash 管理的,除此之外, 他还可以记录指令、文件或命令的补全功能、环境变量的使用等等,还有很多功能等着你去 发掘呢! 在知道了部分的 bash 功能后,在接着下来,我们还得了解一下什么是数据流重导向?还有常 规表达式等等的问题, 9.7 参考资料与延伸阅读 第十章 认识与学习 BASH 在 Linux 的环境下,如果你不懂 bash 是什么,那么其他的东西就不用学了! 因为前面几章 我们使用终端机下达指令的方式, 就是通过 bash 的环境来处理的喔! 所以说,他很重要 吧!bash 的东西非常的多,包括变量.....2015/07/09 10.1 认识 BASH 这个 Shell 10.1.1 硬件、核心与 Shell0 码力 | 1158 页 | 13.73 MB | 1 年前3
鸟哥的Linux私房菜:基础学习篇 第四版重点回顾 11.6. 9.6 本章练习 11.7. 9.7 参考资料与延伸阅读 12. 第十章、认识与学习BASH 12.1. 10.1 认识 BASH 这个 Shell 12.2. 10.2 Shell 的变量功能 12.3. 10.3 命令别名与历史命令 12.4. 10.4 Bash Shell 的操作环境: 12.5. 10.5 数据流重导向 12.6. 10.6 管线命令 (pipe) Linux 的世界中,使用的是 GNU 发展出来的强化的第二代 shell ,称为 BASH Shell ,他有什么特异功能呢?简单的说,我们之前下达的几个指 令都是 bash 管理的,除此之外, 他还可以记录指令、文件或命令的补全功能、环境变量的使用等等,还有很多功 能等着你去发掘呢! 在知道了部分的 bash 功能后,在接着下来,我们还得了解一下什么是数据流重导向?还有常规表达式等等的问题, 9.7 参考资料与延伸阅读 在 Linux 的环境下,如果你不懂 bash 是什么,那么其他的东西就不用学了! 因为前面几章我们使用终端机下达 指令的方式, 就是通过 bash 的环境来处理的喔! 所以说,他很重要吧!bash 的东西非常的多,包括变 量…..2015/07/09 12.1. 10.1 认识 BASH 这个 Shell 12.2. 10.2 Shell 的变量功能 120 码力 | 1057 页 | 14.60 MB | 1 年前3
鸟哥的Linux 私房菜GNU 对于后来的 Linux 有相当深远的影响,由于 Stallman 先生发展了 GNU 这个计划中,主力在推 出各种方便而优异的工具软件,例如广为大家所知的 Emacs 文书编辑器、GCC, BASH..然而没有作业平台 怎么使用这些软件呢?然而,由于他倡导的自由软件,让后来的心血能很快的接触原始码来发展软件,这 就是后来的 Linux 的故事....这是后来的故事,等一下来说~ • 1988 这个指令),如果您想跳出来, 就按下 q 即可!这个按钮也是很多指令常定义的退出钮。 • [Tab] :会不会觉得打字很疲劳啊!没关系,在 Linux 的预设文字接口 ( 我们称为 BASH Shell ) 当中,有个很棒的功能,叫做是『命令与档案补全』的功能!那就是键盘左 边的[Tab]这个按键啦!他有什么好处呢?例如刚刚我们要执行 cal 这个指令对吧,这个 时候,你只要输入 ca[tab][tab] ,也就是输入 ca 之后,再按两次 [tab] 按键,您会发现什 么事呢?啊!所以以 ca 为开头的指令都被显示出来啦!很棒吧!另外,如果你输入『 ls -al .bash[tab][tab]』会发生什么事呢?哈哈!在该目录下面所有以 .bash 的文件名 称都会被显示出来!所以啰,你就会知道,[tab] 按键是『很棒的功能!』在文字接口底 下,要多按 [tab] 按键,可以避免打错字或下错指令喔!0 码力 | 386 页 | 11.69 MB | 1 年前3
Linux command line for you and me Documentation Release 0.1variables Setting up environment variable values locate command Finding date/time in different timezones Bash history Sort files by size Curl! For all your web needs Viewing a file Downloading the file Download user Adding a new group Adding new group to an user File permissions chmod command PATH variable ~/.bash_profile file .bashrc file /etc/profile file which command Use which command to see how $PATH variable the full file, so it helps to read faster any big text file. $ less ~/.bash_history In this example, we are reading the file ~/.bash_history. echo command echo command echoes any given string to the display0 码力 | 124 页 | 510.85 KB | 1 年前3
Cilium v1.11 Documentationsystem if it is already installed, but if not a simple shortcut is to use kubectl exec to execute /bin/bash within any of the cilium pods, and then run the resulting openssl commands. Use kubectl cp to copy jsonpath='{.items[0].metadata.name}') && kubectl exec -it $HQ_POD -- sh -c "PS1=\"empire-hq $\" /bin/bash" empire-backup terminal: $ BACKUP_POD=$(kubectl get pods -l app=empire-backup -o jsonpath='{.items[0] items[0].metadata.name}') && kubectl exec -it $BACKUP_POD - - sh -c "PS1=\"empire-backup $\" /bin/bash" outpost-8888 terminal: $ OUTPOST_8888_POD=$(kubectl get pods -l outpostid=8888 -o jsonpath='{.items[0]0 码力 | 1373 页 | 19.37 MB | 1 年前3
Linux命令大全搜索工具 v1.8查看块设备的文件系统类型、LABEL、UUID等信息 blockdev 从命令行调用区块设备控制程序 bmodinfo 显示给定模块的详细信息 break 结束for,while或until循环 builtin 执行bash内建命令 bunzip2 创一个bz2文件压缩包 bye 命令用于中断FTP连线并结束程序 bzcat 解压缩指定的.bz2文件 bzcmp 比较两个压缩包中的文件 bzdiff 直接比较两个 findfs 标签或UUID查找文件系统 finger 用于查找并显示用户信息 firewall-cmd Linux上新用的防火墙软件,跟iptables差不多的工具 fishshell 比 bash 更好用的 shell fmt 读取文件后优化处理并输出 fold 控制文件内容输出时所占用的屏幕宽度 fping fping检测主机是否存在 free 显示内存的使用情况 fsck 检查并且试图修复文件系统中的错误 用来压缩可执行文件 gzip 用来压缩文件 H halt 关闭正在运行的Linux操作系统 hdparm 显示与设定硬盘的参数 head 显示文件的开头部分 help 该命令是bash内建命令,用于显示bash内建命令的帮助信息 hexdump 显示文件十六进制格式 history 显示或操作历史列表 host 常用的分析域名查询工具 hostid 显示当前主机的十六进制数字标识 hostname0 码力 | 1347 页 | 8.79 MB | 1 年前3
This Debian Reference (version 2.109) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 1.4.2 Customizing bash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 1.14 List of key bindings for bash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 1.15 Conventions This document provides information through the following simplified presentation style with bash(1) shell command examples. # command-in-root-account $ command-in-user-account These shell prompts0 码力 | 266 页 | 1.25 MB | 1 年前3
Linux command line for you and me Documentation Release 0.1in different timezones . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.19 Bash history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 6.3 ~/.bash_profile file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . the full file, so it helps to read faster any big text file. $ less ~/.bash_history In this example, we are reading the file ~/.bash_history. 1.17 echo command echo command echoes any given string to0 码力 | 128 页 | 716.99 KB | 1 年前3
Linux就该这么学 第2版Compiler)。这使得人们可以免费地使用 gcc 编译器将自 己编写的 C 语言代码编译成可执行文件,供更多的用户使用,这进一步发展壮大了开源社区。 随后的一段时间里,Emacs 编辑器和 bash 解释器等重磅产品陆续亮相,一批批的技术爱好者 也纷纷加入 GNU 源代码开放计划中来。 在 1984 年时,UNIX 系统版权依然被 AT&T 公司死死地攥在手里,AT&T 公司明确规定 用 Minix 操作系统的人数其实并不算 多。 前 言 22 芬兰赫尔辛基大学的在校生 Linus Torvalds 便是其中一员,他在 1991 年 10 月使用 bash 解释器和 gcc 编译器等开源工具编写出了一个名为 Linux 的全新的系统内核,并且在技术论 坛中低调地上传了该内核的 0.02 版本。该系统内核因其较高的代码质量且基于 GNU GPL 许 RHEL 8 系统中 systemd 初始化进程的特性与使用方法。 ➢ 2 Linux :本章首先介绍系统内核和 Shell 终端的关系与 前 言 34 作用,然后介绍 Bash 解释器的 4 大优势并学习 Linux 命令的执行方法。本章还精挑 细选了数十个 Linux 命令,它们与系统工作、系统状态、工作目录、文件、目录、打 包压缩与搜索等主题相关。学习这些最基础的0 码力 | 552 页 | 22.25 MB | 1 年前3
Debian 参考手册(版本 2.109). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 1.4.2 定制 bash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 1.14 bash 的按键绑定列表 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Documentation Project (TLDP) 注意 软件包的详细文档,你需要安装软件包名用”-doc” 作为后缀名的相应文档包来得到。 Debian 参考手册 xxv 排版约定 本文通过如下使用 bash(1) shell 命令例子的简要方式来提供信息。 # command-in-root-account $ command-in-user-account 这些 shell 提示符区分了所使用的帐户。为了可读性,在本手册中0 码力 | 261 页 | 1.39 MB | 1 年前3
共 108 条
- 1
- 2
- 3
- 4
- 5
- 6
- 11













