linux几种常用命令

进制转换的简单方法 

[root@jp-test-apache yupf]# echo $((2#10101100)) 
172
[root@jp-test-apache yupf]# echo "obase=2;172"|bc          
10101100

while(true);do date;sleep 1; done

debian:~/Desktop# cat 2
hello ddasd hello eehello
defdfhello

debian:~/Desktop# grep -o hello 2|wc -l
4
 
1. uname -a 
2. cat /proc/version 
3. cat /etc/issue 
4. lsb_release -a 
 
du -sh
 


猜你喜欢

转载自caok1231.iteye.com/blog/1370290