
shell
萧乡月夜
这个作者很懒,什么都没留下…
展开
-
Perl - File I/O
Open FunctionFollowing is the syntax to open file.txt in read-only mode. Here less than open(DATA, ");Here DATA is the file handle which will be used to read the file. Here is the example wh转载 2016-03-03 15:06:10 · 676 阅读 · 0 评论 -
mac 安装omyzsh后不执行~/.bash_profile、~/.bashrc解决办法
mac 安装 omyzsh 后, terminal瞬间逼格飙升!但是!terminal init的时候并不会执行~/.bash_profile、~/.bashrc等脚本了,这是因为其默认启动执行脚本变为了~/.zshrc。解决办法就是修改~/.zshrc文件,在其中添加:source ~/.bash_profile、~/.bashrc等脚本文件就ok了原创 2017-01-17 22:29:47 · 3402 阅读 · 0 评论 -
Why doesn't `sudo cd /var/named` work?
Question:I want to cd into /var/named but it gives me a permission denied error, and when I want to use sudo to do this I am not permitted. What is the technical reason for this, and is it possi转载 2017-04-01 14:22:17 · 530 阅读 · 0 评论