一

{"type":"编程笔记"}


  • Home

  • Archives
  • Search

mysql-5.1 启动关闭和重启命令并添加系统启动项

Posted on 2007-05-25   |   In mysql

在安装目录下运行:

Read more »

mysql configure 安装参数及其查看方法

Posted on 2007-05-24   |   In mysql

在bash里运行:

Read more »

replace tab with space

Posted on 2007-05-21   |   In linux

在bash下试了sed , expand , awk等去替换一个文件里的Tab(shell里这样按出Tab: CTRL+V->CTRL+I->TAB), 但是都比较麻烦,最后google到一个人用perl做的命令:

 perl -pi.bak -e 's/\t/ /g' myfile.txt

在learnig Perl书中有这个例子:

 perl –p –i.bak –w –e 's/test/text/g' [a-z]*.txt

原理同上,这个命令行相当于构建了以下脚本的功能:

#! /usr/bin/perl –w$^I = ".txt";while(<>) {    s/test/text/g;    print;}

linux route 详解

Posted on 2007-05-21   |   In linux

linux中route命令说明:

Read more »

linux ifconfig 详解

Posted on 2007-05-17   |   In linux

作用

ifconfig用于查看和更改网络接口的地址和参数,包括IP地址、网络掩码、广播地址,使用权限是超级用户。

格式

Read more »
1…959697…99
yuweijun

yuweijun

492 posts
12 categories
RSS
GitHub Twitter
© 2021 yuweijun
Powered by Hexo
Theme - NexT.Mist.KISS