PR

Linuxコマンド

Linux コマンド備忘録

スポンサードリンク

  • Apache
    • /etc/rc.d/init.d/httpd [start|stop|restart]
    • httpd [start|stop|restart]
    • apachectl [start|stop|restart]
  • Xen
    • xm top
  • システム
    • top
    • reboot
    • shutdown -h now
    • exit
    • yum update
    • .bash_history にはコマンド履歴が格納されている
  • ファイル・ディレクトリ
    • rm -fr /var/www/html/zc/
    • cd /var/www/html/blog/
    • tail /var/log/httpd/error_log
    • vi /etc/httpd/conf/httpd.conf
  • ネットワーク状態の確認やネットワーク経由の接続
    • ifconfig
    • netstat -a
    • /usr/sbin/lsof -i | grep http
    • ssh
    • telnet
  • スクリプトのデバッグなど
    • php /var/www/html/blog/index.php
    • perl /var/www/html/blog/index.cgi
  • メール送信する

コメント