发布时间:2013-12-11 09:47:22
更改linux用户登录shell的方法,感兴趣的朋友可以参考下。 1、查看机器安装了哪些shell? 有两种方法可以查看。 第一种: [rocrocket@wupengchong ~]$ chsh -l /bin/sh /bin/bash /sbin/nologin /bin/zsh 第二种: [rocrocket@wupengchong ~]$ cat /.........【阅读全文】
发布时间:2013-12-11 09:25:25
1.添加账号及主目录useradd -m yourname2.设置密码passwd yourname3.删除账号及主目录4.添加samba用户smbpasswd -a yourname5.将用户加入sambashare用户组useradd yourname sambashare......【阅读全文】
发布时间:2013-12-02 10:52:43
1. ./bootstrap.sh --with-toolset=mingw --prefix=/c/mingw2. Edit the file project-config.jam and replace 'mingw' by 'gcc'3. ./bjam && bjam install......【阅读全文】
发布时间:2013-11-26 14:22:47
The ultimate SO_LINGER page, or: why is my tcp not reliablePosted by bert hubert Sun, 18 Jan 2009 13:03:00 GMTThis post is about an obscure corner of TCP network programming, a corner where almost everybody doesn’t quite get what is going on. I used to think I understood it, but found out last .........【阅读全文】
发布时间:2013-11-25 18:02:22
thread apply all btThere is a thread apply all command in GDB:(gdb) thread apply all btThread 12 (Thread 0x7f7fe2116700 (LWP 5466)):#0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:86#1 0x0000000000425358 in ?? ()...Thread 1 (Thread 0x7f7feabc27c0 (LWP 5465).........【阅读全文】