Linux memo
Tomcat
/etc/init.d/tomcat start
/etc/init.d/tomcat stop
/etc/init.d/tomcat restart
apache
/etc/init.d/httpd start
/etc/init.d/httpd stop
/etc/init.d/httpd restart
コードチェック
nkf -g ファイル
コード変換(元ファイル上書き)
nkf -w --overwrite ファイル
サブディレクトリ全てに書き込み権
chmod -R a+w ディレクトリ
MySQLログイン
mysql -uユーザー -pパスワード
DB選択
use DB名
Mysqlでテーブルの列名を見る
show columns from テーブル名;
| 固定リンク

コメント