
Shell
lw_yang
喜欢学习,努力工作,也享受生活,崇尚简单的快乐和幸福 ,为理想而奋斗
展开
-
Linux Shell编程基础入门
shell脚本通常以#!/bin/bash 起始 脚本的执行方式有两种。 将脚本名作为命令行参数: bash myScript.sh 授予脚本执行权限,将其变为可执行文件: chmod 755 myScript.sh ./myScript.sh 终端中显示输出 $ echo "Welcome to Bash" Welcome to Bash 双引号允许shell解释字符串中出...原创 2018-12-03 15:49:53 · 345 阅读 · 0 评论 -
用 Python 替代 Bash 脚本
原文:Python Scripts as a Replacement for Bash Utility Scripts  转自: http://www.oschina.net/translate/python-scripts-replacement-bash-utility-script转载 2018-12-19 14:33:16 · 2509 阅读 · 0 评论 -
Shell文本操作(grep、sed,awk)
shell脚本语言包含了众多用于解决Unix/Linux系统问题的工具,其中有不少和文本处理相关, 包括sed、awk、grep和cut,这些工具可以相互结合以满足文本处理需求。 正则表达式 正则表达式是基于模式匹配的文本处理技术的关键所在。想要有效地运用正则表达式,就必 须对其有一个基本的理解 位置标记 位置标记锚点(position marker anchor)是标识字符串位置的正则表达式 ...原创 2018-12-13 16:13:33 · 1072 阅读 · 0 评论 -
iproute2工具详解
作者:Sophisticated✨ IP Command Set ip [ OPTIONS ] OBJECT [ COMMAND [ ARGUMENTS ]] OPTIONS OPTIONS is a multivalued set of modifiers that affect the general behaviour and output of the ip utility -V...原创 2019-01-04 17:02:13 · 3729 阅读 · 1 评论