我的常用命令
来源:互联网 发布:bim设计方案优化 编辑:程序博客网 时间:2024/05/01 00:38
1 linux下使某个命令在后台运行,在关闭crt等的终端命令行工具后,
确保该程序仍旧能正确运行。 例如我要启动某个程序: ./startup.sh run > dev/null 2>&1 &
看到网上也很多说 ./startup.sh run > dev/null & ///////后台运行,stdout 直接到/dev/null
1)“wibble > /dev/null 2>1″ stdout is redirected to /dev/null and stderr is redirected to a file named “1″ (in the current directory)
2)“wibble > /dev/null 2>&1″ stdout is redirected to /dev/null and stderr is redirected to where stdout is redirected (bit bucket)
3) “wibble > /dev/null &2>1″ stdout is redirected to /dev/null , then character “&” comes, which means that this process will run in background(parallel with the shell u are using). Then comes 2>1 which will create an empt file with the name 1.
And FINALLY!!!
4) "wibble > /dev/null &2>&1 " stdout is redirected to /dev/null. “&” means that, that process(wibble) will run in background(with stdout redirected only).Then another process is started with 2>&1 which creates no file.
/////////////////////////////////命令有待增加哦//////////////////////////////////////////////////////////
- 我的常用命令
- 我的 linux 常用命令
- Linux我的常用命令
- 我的mysql常用命令
- adb 我的常用命令
- docker我的常用命令
- 我的Linux常用命令
- 我的常用命令
- 我的常用命令语句
- oracle常用命令(我的笔记)
- Linux vi 我的常用命令
- 我的docker常用命令清单
- Linux 我的常用命令总结
- 我的常用命令--find命令
- 我的ORACLE&LINUX常用命令集
- 我的vim常用命令和script
- 我整理的suse linux 常用命令
- 我的linux学习之路:linux的常用命令
- 设m.n均为自然数,m可表示为一些不超过n的自然数之和,f(m,n)为这种表示方式的数目。
- 开源Flash游戏引擎
- JS中遇到的小麻烦
- SOA在百度百科的解释(节选)
- matlab 读 excel数据并显示
- 我的常用命令
- 怎样自定义数据文件格式
- 网页上禁止右键功能
- struts2 命名空间---action的寻找规则
- ubuntu删除错误的ATI驱动
- oracle 构造与已知表结构相同的表问题
- Steps To Migrate-Move a Database From Non-ASM to ASM And Vice-Versa
- FLEX日期格式化处理和字符串转换
- C++ 和Objective-C 混合编码 注意事项