基础网络命令(17个)telnet,ssh,sshpass,scp,wget,ping,route,ifconfig,ifup,ifdown,netstat,ss,rsync,ip,ethtool,mii-tool,brctl深入网络命令(12个)nmap,lsof,mail,mutt,nslookup,dig,host,traceroute,tcpdump,starce,curl,elinks9
                            
                            
                                分类:
其他好文   时间:
2017-12-07 18:49:49   
                                阅读次数:
385
                             
                         
                    
                        
                            
                            
                                    public static void main(String[] args) { String ss= "[{\"type\":\"0\",\"id\":\"123\"},{\"type\":\"0\",\"id\":\"123\"},{\"type\":\"0\",\"id\":\"123\"}, ...
                            
                            
                                分类:
编程语言   时间:
2017-12-05 22:40:34   
                                阅读次数:
351
                             
                         
                    
                        
                            
                            
                                由于刚毕业的穷大学生,和朋友合租了一台服务器开了多个端口提供 ss 服务,懒得配置 ss-panel,就使用了 ss-bash 来监控不同端口的流量,但每次都要等上服务器才能看到流量使用情况,很麻烦,于是就写了个简单的页面来提供 WEB 访问,具体内容一起通过本文学习吧 由于刚毕业的穷大学生,和朋友 ...
                            
                            
                                分类:
Web程序   时间:
2017-12-05 18:57:47   
                                阅读次数:
188
                             
                         
                    
                        
                            
                            
                                1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 int main() 7 { 8 int t=0,t1=0,l,l2; 9 string s,ss; 10 getline(cin,ss); 11 getline... ...
                            
                            
                                分类:
其他好文   时间:
2017-12-05 18:47:23   
                                阅读次数:
180
                             
                         
                    
                        
                            
                            
                                1、日期类 Calendar calendar=Calendar.getInstance();//单例 2、日期格式化类 Date date=new Date(); SimpleDateFormat sdf=new SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss");  ...
                            
                            
                                分类:
编程语言   时间:
2017-12-05 00:57:00   
                                阅读次数:
216
                             
                         
                    
                        
                            
                            
                                1、设置系统时间 date命令将日期设置为2014年6月18日 date -s 06/18/14 将时间设置为14点20分50秒 date -s 14:20:50 将时间设置为2014年6月18日14点16分30秒(MMDDhhmmYYYY.ss) date 0618141614.30 2、设置系统 ...
                            
                            
                                分类:
系统相关   时间:
2017-12-04 20:34:05   
                                阅读次数:
333
                             
                         
                    
                        
                            
                            
                                    select to_char(sysdate,'yyyy-mm-dd hh24:mi:ss') from dual; --显示当前时间 2011-12-29 16:24:34 select trunc(sysdate,'year') from dual; --截取到年(本年的第一天) 2011-1- ...
                            
                            
                                分类:
数据库   时间:
2017-12-04 13:16:25   
                                阅读次数:
209
                             
                         
                    
                        
                            
                            
                                    expect时用与提供自动交互的工具。比如如果想要用ssh登陆服务器,每次都输入密码你觉得麻烦,那你就可以使用expect来做自动交互,这样的话就不用每次都输入密码了。 先看例子: 解释: 1.#!/usr/bin/expect :需要先安装软件,然后来说明用expect来执行 2.spawn ss ...
                            
                            
                                分类:
系统相关   时间:
2017-12-03 20:49:52   
                                阅读次数:
219
                             
                         
                    
                        
                            
                            
                                    shutil对压缩包的处理是通过调用zipFile和tarFile两个模块来进行的。 import zipfile # zipfile压缩 z = zipfile.ZipFile('ss.zip', 'w', zipfile.ZIP_STORED) #打包,zipfile.ZIP_STORED是默认... ...
                            
                            
                                分类:
编程语言   时间:
2017-12-03 17:17:09   
                                阅读次数:
153
                             
                         
                    
                        
                            
                            
                                    target:learning the APi of .xlsx generation and .xlsx data outputting etc component APIsOverView Excel() (SS=HSSF+XSSF+SXSSF) 1:definition: HSSF is th ...
                            
                            
                                分类:
其他好文   时间:
2017-12-02 15:07:19   
                                阅读次数:
220