摘要: server client 阅读全文
posted @ 2015-06-05 23:32 little-snake 阅读(284) 评论(0) 推荐(0) 编辑
摘要: tar f 使用档案名字,这个参数是最后一个参数,后面只能接档案名 c 建立压缩档案 x 解压 t 查看内容 r 向压缩归档文件末尾追加文件 u 更新原压缩包中的文件... 阅读全文
posted @ 2015-06-05 23:31 little-snake 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 1 #!/bin/bash 2 # 3 # Command :vmstat,uptime 4 #Capture_Stats - Gather System Performance Statistics 5 ############################################################ 6 # Set Script Variables 7 #... 阅读全文
posted @ 2015-06-05 23:27 little-snake 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 1 #!/bin/bash 2 # 3 # Update_Problem - updates problem record in database 4 ############################################################### 5 # Determine sql location & set variable 6 # 7 MYSQ... 阅读全文
posted @ 2015-06-05 23:26 little-snake 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 1 #!/bin/bash 2 # 3 #Snapshot_Stats - produces a report for system stats 4 # This report will mail to root. 5 # Command :free,uptime,exec 6 #####################################################... 阅读全文
posted @ 2015-06-05 23:25 little-snake 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 1 #!/bin/bash 2 # 3 #top 10 4 #Big_USERS - find big disk space users in various directories 5 ############################################################## 6 #Parameters for Script 7 # 8 CHE... 阅读全文
posted @ 2015-06-05 23:24 little-snake 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 1 #!/bin/bash 2 # 3 #Delete_user - Automates the 4 steps to remove an account 4 # 5 ############################################################### 6 #Define Functions 7 # 8 #########... 阅读全文
posted @ 2015-06-05 23:23 little-snake 阅读(399) 评论(0) 推荐(0) 编辑
摘要: 命令提示符: arp ;显示和修改地址解析协议(ARP)使用的“IP 到物理”地址转换表。arp > hello将命令解释输出到hello文本中,arp >> hello追加文本appwiz.cpl ;程序 cmd compmgmt.msc control ;控制面板 control system 阅读全文
posted @ 2015-05-26 17:24 little-snake 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 1 #!/bin/bash 2 # 3 #This is a test in book.thanks for Richard Blum. 4 #Please put this file to crontab,thanks. 5 #Please touch a new configuration file. 6 #Daily_Archive - Archive designated f... 阅读全文
posted @ 2015-03-23 08:10 little-snake 阅读(168) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2015-03-20 09:16 little-snake 阅读(8) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2015-03-20 09:09 little-snake 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 1 环境变量 2 3 4 ? 退出状态码 0(成功) 1(未知错误) 2(误用 shell 命令) 126(命令不可执行) 127(没找到命令) 128(无效退出状态) 128+x( linux 信号 X 的严重错误) 130( ctrl c 终止程序 ) 255(退出状态码越界) 5 # 命令行参数个数 6 @ ... 阅读全文
posted @ 2015-03-18 17:30 little-snake 阅读(224) 评论(0) 推荐(0) 编辑