zoukankan
html css js c++ java
1>/dev/null 2>&1的含义
shell中可能经常能看到:
>/dev/null 2>&1
分解这个组合:“>/dev/null 2>&1” 为五部分。
1:> 代表重定向到哪里,例如:echo "123" > /home/123.txt
2:/dev/null 代表空设备文件
3:2> 表示stderr标准错误
4:& 表示等同于的意思,2>&1,表示2的输出重定向等同于1
5:1 表示stdout标准输出,系统默认值是1,所以">/dev/null"等同于 "1>/dev/null"
查看全文
相关阅读:
设计模式--单例模式Singleton
CSS选择器
操作数据表
HTML
Shell学习
LINUX常用命令
多线程-互斥变量
多线程-临界区
每天一个linux命令:file(11)
JavaScript设计模式小抄集(持续更新)
原文地址:https://www.cnblogs.com/regit/p/10912797.html
最新文章
mysql 数据类型,字符集
mysql 用户管理和权限设置
bluecms v1.6 sp1 代码审计学习
CVE-2019-1388:Windows UAC 本地提权复现
python3 xlwt,csv学习
Selenium学习
MYSQL隐式类型转换
PHP xml 外部实体注入漏洞学习
python3爬虫 爬取动漫视频
window安装rsync客户端和服务端
热门文章
window 2008/2012计划任务配置
window 安装iis和使用
window server 2008 r2 安装ftp
禅道安装--结合openldap
wiki安装
window安装oracle和创建数据库
CentOS 7下OpenLDAP编译安装及配置
window安装consul
CSS格式化排版
CSS继承特殊
Copyright © 2011-2022 走看看