![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shell
super_ufo
这个作者很懒,什么都没留下…
展开
-
cut awk 字符处理 及 shell的一些语法
cut 使用 将原串通过 符号 分割成行 cut -d 分割符号 第几行 ( f几 ) ( -f几 )awk 将原串通过 符号 分割成行 awk -F 分割符号 "{print $几 }" 默认为空格 #!/bin/shudpstr=`netstat -anp | grep 7001 | cut -d "*" -f2 | cut -d "/" -f1 `转载 2009-05-08 12:31:00 · 2550 阅读 · 0 评论 -
我常用的命令
1>数据库数据库创建用户root create role root with superuser createdb createrole login password 'k'; 创建用户 createuser -ADPE root密码 为k创建tdcis数据库 createdb -O root tdcis/i tdcis.sql2>安装 php5-pgsql插件apt-get install -y php5-pgsql3>建立文件夹/var/templates_c 4>/etc/php5/apache原创 2010-08-24 18:57:00 · 1901 阅读 · 0 评论 -
无题 (fire wall shell code)
tc: 国内的文章 好些貌似说的互相矛盾 模棱两可的 甚至 。。。 用google的 search 找到的 觉得详细 http://www.google.cn/codesearch/p?hl=zh-CN#WoD0zXxy5Lw/dists/sid/main/source/shaper_2.2.12-0.7.3.orig.tar.gz%7CsdcrxWnXNXw/shaper-2.2.转载 2009-12-03 23:02:00 · 1474 阅读 · 0 评论 -
配置vim作为php开发工具
1.2. 升级vim 自动补齐功能需要vim 7.0以上的版本./configure --prefix=/usr/local/vim72 --with-features=bigMakeMake installln -s /usr/local/vim72/bin/vim /usr/bin/vimcp -Rf /usr/share/vim/vim7原创 2011-12-07 16:49:33 · 1041 阅读 · 0 评论 -
命令 及小知识(iln8国际化汉化 空格 查找命令 ldd nm)
汉化命令(asterisk 其他系统相同): To create the .po (write your translations to this file): cd .. find *.php common/*.php | xargs xgettext -C -o amp.po --keyword=_ - To create the .mo: msgfmt -v amp.po -o原创 2009-09-01 15:12:00 · 1430 阅读 · 0 评论