Bash script学习的一写memo
来源:互联网 发布:威廉马歇尔 知乎 编辑:程序博客网 时间:2024/05/29 15:36
IO Redirection
java myprog > log 2>&1 #其中myprog中有System.out.println ... System.err.println...
这个命令就把STDOUT (1)输出到log 文件中, 对于STDERROR (2 ), 采用和(1)一样的方式,于是error也写入log中
-------------------------------------------------------
关于 `some command` (不是单引号的' , 是键盘上~ 下方的那个符号)
`cat abc.txt` # 其中 abc.txt只有一行 vi myfile
那么这个命令的结果就是读出这一行 , 作为linux的command执行,
于是打开一个vi编辑器
--------------------------------------
关于 dev\null
这是一个神一样的文件, 任何用户不想看到的输出,都可以重定向给它,但是不会保存
- Bash script学习的一写memo
- shell(Bash) script学习笔记
- Bash ------ Keyword Variable Memo
- Bash ------ Special Characters Memo
- [MEMO] bash常用命令实例
- Bash ---- [ and [[ memo
- shell script的学习(一)常用命令
- Bash Script
- bash学习笔记一
- Java Script写的日历
- shell script 学习之 bash设定文件分析
- 小白linux bash 学习二 shell Script
- 学习的一写感想
- Shell Script 的学习
- shell script - BASH
- Shell Script(bash)简介
- Linux Bash Script
- Bash Self-Extracting Script
- 终究还是丢了
- C常用函数t的实现
- Stylecop vs FXcop 区别
- 同步与异步
- 堆排序
- Bash script学习的一写memo
- 按照Json格式读取Mongodb中数据
- Android触摸屏输入系统
- 自定义分页控件
- hibernate4与hibernate3的区别
- try-finally语句
- [Leetcode] Partition List **
- Oracle 11g 新特性 -- Transparent Data Encryption (透明数据加密TDE) 增强 说明
- 23种设计模式之工厂方法模式