• Pastor Dean
  • home
  • categories
  • archives
  • tools
Search ...
Search ...

Category: Shell

Categories

Shell | 2017-05-15

Shell脚本攻略笔记

1. 基本命令1.1 shell 格式输出12345678$ echo 'Hello world !'-n # 忽略结尾的换行符-e # 激活转义字符-E # ...

pastor
pastor
194 min read
Shell | 2017-04-13

Linux命令eval的用法

eval command-line其中command-line是在终端上键入的一条普通命令行。然而当在它前面放上eval时,其结果是shell在执行命令行之前扫描它两次。如: 123$ pipe="|"$ eval ls $pipe wc -l shell第1次扫描命令行时,它替换出pipe的值|,接着eval使它再次扫描命令行,这时shell把|作为管道符号了。 如果变量中包含任何需要shell直接在命令行中看到的字符(不是替换的结果),就可以使用eval。命令行结束符( ...

pastor
pastor
1 min read
— Pastor Dean —

Recent Posts

  • Thinking modelBiological thinking Biological thinking: looking at the business world from an evolutionary perspective
  • Modern Darwin Integrated Model Biological Thinking Mode Opening God is Perspective
  • Metacognition Changing the stubborn thinking of the brain
MORE →
Pastor Dean
Pastor Dean © 2020
Hexo Casper