Time of Update: 2014-11-04
標籤:style ar sp div on art bs amp linux example: ./netspeed eth0 1 #!/bin/bash 2
Time of Update: 2014-11-04
標籤:blog http ar 使用 sp strong div on art http://blog.csdn.net/hguisu/article/details/7445768網路中進程之
Time of Update: 2014-11-04
標籤:style color ar for sp strong 資料 div on Linux
Time of Update: 2014-11-04
標籤:style blog http color ar 使用 sp strong 資料 Linux 雖然一直都有在玩,但是對硬碟操作確實不是很熟悉今天有空,就整理了下。
Time of Update: 2014-11-04
標籤:style blog http color ar 使用 sp 檔案 div ls Linux "ls -l"檔案清單許可權詳解1.使用 ls -l 命令 執行結果如下(/var/
Time of Update: 2014-11-04
標籤:ar 使用 sp 檔案 資料 on art bs ad Linux作業系統定時任務系統 Cron
Time of Update: 2014-11-04
標籤:hardware linux 主機板 硬體 網上 用途說明hwclock命令,與clock命令是同一個命令,主要用來查詢和設定硬體時鐘(query and set the hardware clock (RTC))。RTC=Real Time
Time of Update: 2014-11-04
標籤:軟體 linux yum:通常來安裝軟體。預設擷取rpm包是從國外CentOs官源下載!所以安裝速度比較慢!我們要更換成國內的官源!rpm -ivh 軟體安裝命令第一步:切換到yum的目錄下:[[email protected] ~]# cd /etc/yum.repos.d/第二步:[[email protected] yum.repos.d]#
Time of Update: 2014-11-04
標籤:虛擬機器 kali 裝個vmtools找了好久,編譯head什麼的。1,添加源:vim
Time of Update: 2014-11-04
標籤:ssh scanvi block.sh#! /bin/bashcat /var/log/secure | awk ‘/Failed/{print $(NF-3)}‘| sort | uniq -c|awk ‘{print $2"="$1;}‘ > /root/black.txtDEFINE="5"for i in `cat /root/black.txt`do IP=`echo $i | awk
Time of Update: 2014-11-04
標籤:命令 uname Linux中,uname是用來輸出一組系統資訊的。若後面不帶參數,則預設是附加-s的參數。 -a:預設按照如下順序輸出資訊 -s:輸出核心名稱 -n:nodename,輸出網路上主機節點的名稱 -r:release,輸出核心發行版 -v:version,輸出核心版本
Time of Update: 2014-11-04
標籤:security system linux安裝 instead controls 關閉Selinux方法一:用vi /etc/selinux/config修改[[email protected] ~]# vi /etc/selinux/config # This file controls the
Time of Update: 2014-11-04
標籤:groups 使用者組 linux 帳號 1.若有一個檔案的類型與許可權資料為"-rwxr-xr--",請說明其意義。2.假設test1,test2,test3同屬於testgroup這個使用者組,如果有下面的兩個檔案,請說明兩個檔案的所有者與其相關的許可權。 -rw-r--r-- 1 root&
Time of Update: 2014-11-04
Linux SVN伺服器搭建,linuxsvn搭建1. Ubuntu PC一台,最好是最新的Ubuntu穩定版本2. 執行以下命令安裝subversion:sudo apt-get updatesudo apt-get install subversion3. 假設代碼svn倉庫的根路徑定為 /home/svnroot,執行以下命令建立目錄:sudo mkdir /home/svnroot4. 建立一個代碼倉庫,假設倉庫名為:examplecd /home/svnrootsudo
Time of Update: 2014-11-04
linux命令的別名alias,unalias,aliasunalias1. 別名linux別名alias的作用:1. 簡化特別長得命令和參數2. 對一些命令增加預設選項,提高安全性。2. alias使用[www@work sh]$ alias lm='ls -l | more'[www@work sh]$ 會多出個lm命令,執行的是 ls -l | more。對rm命令增加-i參數,防止有人誤刪檔案。$ alias rm='rm
Time of Update: 2014-11-04
linux查看曆史命令history,linux查看history1. history作用linux的history命令的作用是,記錄執行過的命令。用法:history [n] n為數字,列出最近的n條命令-c 將目前shell中的所有history命令消除history [-raw] histfiles-a 將目前新增的命令寫入histfiles, 預設寫入~/.bash_history-r
Time of Update: 2014-11-04
CentOS下綁定網關ARP一、查看當前網關arp -aSSH執行以上命令,可查看到網關主機名稱、網關IP、網關MAC地址和對應的網卡,如二、綁定網關MAC1)綁定echo "198.52.103.193 00:D0:2B:D1:58:80" > /etc/safe #黃色部分請根據實情修改。格式:網關IP(空格)MAC地址2)啟用使其生效arp -f
Time of Update: 2014-11-04
升級CentOS核心方法在RHEL 6.0發布整整8個月之後,CentOS 6.0終於發布了。作者因要測試一些軟體,需要2.6.30以上的核心,安裝好CentOS 5.5,核心是2.6.18-194.el5。因此作者進行了CentOS核心升級。因要測試一些軟體,需要2.6.30以上的核心,安裝好CentOS 5.5,核心是2.6.18-194.el5.這次的升級還算比較順利,具體的過程如下:[root@localhost ~]# uname -r2.6.18-194.el51.下載linux-2
Time of Update: 2014-11-04
CentOS 防火牆開放80連接埠在虛擬機器的CENTOS裝好APACHE不能用,鬱悶,解決方案如下/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT/sbin/iptables -I INPUT -p tcp --dport 22 -j
Time of Update: 2014-11-04
CentOS查看TCP串連數資訊命令netstatnetstat命令的功能是顯示網路連接、路由表和網路介面的資訊,可以讓使用者得知有哪些網路連接正在運作。在日常工作中,我們最常用的也就兩個參數,即netstat –an,如下所示:[root@tiaobanji~]#netstat-anActiveInternetconnections(serversandestablished)ProtoRecv-QSend-QLocalAddressForeignAddressStatetcp00