其实,是自己太菜了,在主目录下建一个 vi 的配置文件就万事OK了。
islue@localhost ~
$ locate vimrc
/usr/share/vim/vim71/vimrc_example.vim
islue@localhost ~
$ cp /usr/share/vim/vim71/vimrc_example.vim .vimrc
islue@localhost ~
$ locate vimrc
/usr/share/vim/vim71/vimrc_example.vim
islue@localhost ~
$ cp /usr/share/vim/vim71/vimrc_example.vim .vimrc
[localhost ~]$ cat .ssh/config
Host 192.168.0.100
ProxyCommand ssh 192.168.0.1 "nc %h %p"
192.168.0.100: 内网目标服务器
192.168.0.1: 网关代理服务器
[localhost ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 2.0G 1.3G 623M 68% /
/dev/sda3 6.9G 3.2G 3.4G 49% /usr/local
/dev/sda8 2.0G 118M 1.8G 7% /usr/local/tmp
Size > Used + Avail
HotSaNIC.free = df.Size - df.Used
无法删除 i-am-a-sample: 文件正在被另一个人或程序使用。
关闭任何可能使用这个文件的程序,重新试一次。
\path\to\putty.exe -load "cygwin"
mysql> DELETE FROM tab1 WHERE col1 = ( SELECT MAX( col1 ) FROM tab1 );
ERROR 1093 (HY000): You can't specify target table 'tab1' for update in FROM clause
DELETE FROM tab1
WHERE col1 = (
SELECT MAX( col1 )
FROM (
SELECT * FROM tab1
) AS t
);
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/home]
"flags"=dword:0000000a
"native"="D:\\home"
Unknown HZ value! (0) Assume 100.
islue@localhost:~$ cat /etc/issue
Debian GNU/\s 3.0 \n \l
islue@localhost:~$ uname -a
Linux localhost 2.4.18 #1 SMP Fri Mar 11 18:50:01 JST 2005 i686 unknown