- 博客(2)
- 收藏
- 关注
原创 shell学习笔记-基础知识
合法的shell写入:/etc/shells # more /etc/shells /bin/sh /bin/bash /sbin/nologin /usr/bin/sh /usr/bin/bash /usr/sbin/nologin /bin/tcsh /bin/csh 用户使用的shell定义: # cat /etc/passwd root:x:0:0:r
2016-04-29 11:43:27 183
原创 shell学习笔记-文件描述符及重定向
0 ——stdin 标准输入 1 ——stdout 标准输出 2 ——stderr 标准错误 将输出文本重定向或保存到一个文件: $ echo "This is a sample test 1" > temp.txt $ cat temp.txt This is a sample test 1 $ echo "This is a sample test 2" >> temp.t
2016-04-27 15:56:34 228
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人