- Oct 23 Thu 2014 13:26
vim exercise
- Jul 16 Wed 2014 04:00
nfs4
http://www.gtwang.org/2012/02/nfsv4.html
- Jul 16 Wed 2014 03:58
cp & rsync
- Jun 10 Tue 2014 03:52
c++ 分離字串
#include <iostream> #include <string> #include <vector> #include <boost/algorithm/string/classification.hpp> #include <boost/algorithm/string/split.hpp> using namespace std; int main() { string s = "sss/ddd,ggg"; vector<string> vStr; boost::split( vStr, s, boost::is_any_of( ",/" ), boost::token_compress_on ); for( vector<string>::iterator it = vStr.begin(); it != vStr.end(); ++ it ) cout << *it << endl; return 0; }
- May 30 Fri 2014 02:09
test nfs 速度
- May 28 Wed 2014 20:06
查看file & folder size
du -h --max-depth=1
- Feb 26 Wed 2014 02:47
ubuntu static ip set
vi /etc/network/interfaces
- Jan 23 Thu 2014 20:25
如何查看當下的shell 哪一種版本?
- echo $PATH 所顯示的這個user登入所默認的shell type , user shell type 寫明在/etc/passwd.
- 但在使用linux當中 , 有時 我們會切換不同的shell來使用 ex: bash -> csh.
- 所以在切換過後,如果想要確認shell type 可用以下方式check
- echo $$ 會顯示shell(使用中的) job id 這禮預設為"number"
- ps aux |more|grep number 即可查看目前使用哪種shell