摘要: 注意此时命令行会多一个(ENV),ENV为虚拟环境名称,接下来所有模块都只会安装到该目录中去。 Virtualenv 附带有pip安装工具,因此需要安装的套件可以直接运行: 阅读全文
posted @ 2016-03-18 17:56 圆旭 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 我们经常会碰到这样的问题,用 telnet/ssh 登录了远程的 Linux 服务器,运行了一些耗时较长的任务, 结果却由于网络的不稳定导致任务中途失败。如何让命令提交后不受本地关闭终端窗口/网络断开连接的干扰呢?下面举了一些例子, 您可以针对不同的场景选择不同的方式来处理这个问题。 如果只是临时有 阅读全文
posted @ 2016-03-18 11:41 圆旭 阅读(194) 评论(0) 推荐(0) 编辑
摘要: >> /dev/null redirects standard output (stdout) to /dev/null, which discards it. (The >> seems sort of superfluous, since >> means append while > mean 阅读全文
posted @ 2016-03-18 11:34 圆旭 阅读(175) 评论(0) 推荐(0) 编辑
摘要: In a Unix shell, if I want to combine stderr and stdout into the stdout stream for further manipulation, I can append the following on the end of my c 阅读全文
posted @ 2016-03-18 11:27 圆旭 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 一 权限掩码umask umask是chmod配套的,总共为4位(gid/uid,属主,组权,其它用户的权限),不过通常用到的是后3个,例如你用chmod 755 file(此时这文件的权限是属主读(4)+写(2)+执行(1),同组的和其它用户有读写权限)二 umask的作用默认情况下的umask值 阅读全文
posted @ 2016-03-18 10:24 圆旭 阅读(178) 评论(0) 推荐(0) 编辑