1、从timestamp到"年月日时分秒"
date -d @1398151127 +%Y%m%d%H%M%S
会输出:
20140422151847
2、
[......]
System Settings > Keyboard > Shortcuts > Navigation > Hide all normal windows[......]
1、新建用户
#其中HOST可以用%表示所有主机
CREATE USER 'username'@'host' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
2、删除用户
USE mysql;
DELETE FROM user WHERE User="username";
3、新建库
CREATE DATABASE table_name;
4、给用[......]
sudo apt-get install smartmontools
sudo smartctl -A /dev/sda
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.5.0-45-generic] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF READ SMART DATA SE[......]
perl -nle 'print length' ./demo1[......]