#contents
*WindowsSoftware [#f7fdfdf9]
-MagicBoot WakeOnLanソフトウェア
*コマンド集 [#ie796ed2]
**指定の行数でファイル分割〜split [#t3c86582]
 split -l ? intput.txt
**不正侵入者のIP取得 [#t92854cc]
 grep Did secure* | awk -F" " '{print $12}'
 grep Illegal secure* | awk -F" " '{print $10}' | uniq
**awkで区切り文字複数指定 [#n1bf9168]
 cat access_log*  | awk -F'[\t,:]' '{print $7}'
**awkで指定文字列以降取得 [#bd886109]
 grep "ERROR" catalina.out | awk '{print substr($0, 2)}'
**n日前GET [#mc2d9c07]
 date --date 'n days ago' '+%y%m%d'
**emacsのバックアップを消す [#jdfd103a]
 find . -name "*~" | xargs rm
*小ネタ [#l26bf87c]
**特定のユーザーにのみsu - を許可 [#n3ba5786]
 vi /etc/pam.d/suで下記部分をアンコメント
 auth       required     /lib/security/pam_wheel.so use_uid
**シャットダウンする [#s3370799]
 shutdown -h now(haltはNG)
**HDDの速度調査 [#ab169062]
 hdparm -ft /dev/hda
**HOSTNAME変更 [#n5b395a1]
 hostname NEW_NAME
 vi /etc/sysconfig/network編集
**ハードウェア情報 [#sd7f8a85]
 lshwをインストールする。
*ttyrec [#hc11f77e]
*screen [#ka71c41d]
 screen
 screen -x で二画面占有
*webalizer [#n2139e9b]
 # apt-get install webalizer
 # vi /etc/webalizer.conf
 ファイルサイズが0のものだとエラーになります。
 # webalizer
*VNC [#j5a9366a]