原创 Cisco ASA firewall swap
Cisco ASA FW replacement Active sand Standby Mode 思科防火牆 更換 must make sure the cross connection is there. must have wr
原创 用 perl 把自己個shell 腳本連起來
工作中經常要應爲更新一個東西,要敲好幾個腳本。 現在一句話搞定。現在用perl 把這幾個shell 腳本連起來, 花了半天時間。哈哈,Perl時間長不用就是感覺生疏了。 再次發揮perl 萬能膠水的功能。廢話少說,上碼。$ cat test
原创 TCP/IP 路由 7.8
Is EIGRP a distance vector or a link state routing protocol?Distance Vector What is the maximum configured bandwidth EIG
原创 TCP/IP 路由 卷一 習題 ospf
什麼是OSPF鄰居從路由器的角度來說,鄰居是指直接在於該OSDF路由器相鄰的其他OSPF路由器From the perspective of an OSPF router, a neighbor is another OSPF router
原创 TCP/IP 路由 卷二 習題
2.10 1.BGP-4 與早期版本的主要不同之處是什麼?CIDR 2. CIDR 解決了哪兩個問題?Internet 路由表爆炸B類地址空間的逐漸耗盡3. 有類別與無類別IP路由器之間的區別是什麼?無類別路由器直接進行最長匹配查找操作有類
原创 Apue Chapter 5 習題答案
Q5.1 Implement setbuf using setvbuf. Q5.2 Type in the program that copies a file using line-at-a-time I/O (fgets and fpu
原创 Apue Chapter 4 習題答案
Q1. 用stat 函數替換圖4-3程序中的lstat 函數,如若命令行參數之一是符號鏈接,會發生什麼變化?改之前:[root@clstore3 ~]# ./lstat /etc/passwd /etc /dev/log /dev/tty
原创 perl的內置特殊變量
perl的內置特殊變量還有很多的,例如常用的還有@_、@ARGV、$ARGV、%INC、%ENV等等,有很多,不可能一一列舉了,這裏給出一個比較有總結性的列表,是chinaunix上perl社區的一個網友總結的,還算比較全: $- 當前頁
原创 shell 把兩個腳本連起來
#!/bin/bash##This is for auto run the script to save the time ##By [email protected]#chose the latest 10 file and chos
原创 加載網卡驅動程序到wim 裏
加載網卡驅動程序到 Win Pe。 Step 1. 1. download windows AIK \Tools 2. download 7-zip 3. use 7-zip to extract windows AIK -iso file
原创 shell if 參數
linux shell if 參數 shell 編程中使用到得if語句內判斷參數 –b 當file存在並且是塊文件時返回真 -c 當file存在並且是字符文件時返回真 -d 當pathname存在並且是一個目錄時返回真 -