摘要:
日期查询:mysql> select * from member where birthday > '1962-01-01';mysql> select * from member order by lastname desc,birthday asc;+----+----------+------... 阅读全文
posted @ 2015-11-07 23:27
PKICA
阅读(307)
评论(0)
推荐(0)
摘要:
1.mysql> select NOW();等效于select user()\g+---------------------+| NOW() |+---------------------+| 2015-11-07 10:29:04 |+---------------------+1 row in ... 阅读全文
posted @ 2015-11-07 11:40
PKICA
阅读(200)
评论(0)
推荐(0)
摘要:
#include <iostream>using namespace std;int main() { union endian { int data; char ch; }test; test.data=0x12345678; if(test.ch == 0x78) cout << "little 阅读全文
posted @ 2015-11-05 22:14
PKICA
阅读(495)
评论(0)
推荐(0)
摘要:
一.通过系统仓库安装 $ sudo apt-get install mysql-server 1、使用SHOW语句找出在服务器上当前存在什么数据库:mysql> SHOW DATABASES; 2、创建一个数据库abccs mysql> CREATE DATABASE abccs; 3、选择你所创建 阅读全文
posted @ 2015-11-05 21:13
PKICA
阅读(580)
评论(0)
推荐(0)
摘要:
code的时候eclipse背景色。。。。。。 RGB(红,绿,蓝):204,232,207 CSS,16进制:#CCE8CF opera浏览器设置护眼色: 获取扩展, 输入"ESI",编辑填写: 阅读全文
posted @ 2015-11-02 21:39
PKICA
阅读(369)
评论(0)
推荐(0)
摘要:
『正规表示法与通配符是完全不一样的东西!』这很重要喔!因为『通配符 (wildcard) 代表癿是 bash 操作接口癿一个功能』,但正觃表示法则是一种字符串处理癿表示方式 . (小数点):代表『一定有一个任意字符』癿意思; * (星星号):代表『重复前一个 0 到无穷多次』癿意思,为组合形态 阅读全文
posted @ 2015-11-01 22:01
PKICA
阅读(318)
评论(0)
推荐(0)
摘要:
[root@www ~]# cut -d'分隑字符' -f fields <==用亍有特定分隑字符[root@www ~]# cut -c 字符区间<==用亍排列整齐癿讯息选项不参数:-d :后面接分隑字符。与 -f 一起使用;-f :依据 -d 癿分隑字符将一段讯息分割成为数段,用 -f 叏出第几... 阅读全文
posted @ 2015-11-01 20:50
PKICA
阅读(262)
评论(0)
推荐(0)
摘要:
Be careful!./andsourcearenot quite the same../scriptruns the script as an executable file, launching anew shellto run itsource scriptreads and execute... 阅读全文
posted @ 2015-11-01 19:05
PKICA
阅读(200)
评论(0)
推荐(0)
摘要:
$ 本shell 的PID,这个变量只读 $echo $$ PPID存储子shell父进程的ID(也就是主shell)。UID存储了执行这个脚本的当前用户ID echo "PPID of this script: $PPID"echo "UID of this script: $UID" # ech 阅读全文
posted @ 2015-11-01 16:53
PKICA
阅读(172)
评论(0)
推荐(0)
浙公网安备 33010602011771号