コマンド
tar czvf test.tar.gz test
gzip test.txt
javac -Xlint:unchecked -source 1.4 test.java
- 無検査呼び出しの警告が出る時はこのようにコンパイルする.
java -mx1024m test
- OutOfMemoryError が出る時はこのように実行する.
ssh アカウント名@サーバ
scp -r test アカウント名@サーバ:
- 計算機のホームディレクトリに test ディレクトリを転送する.
scp アカウント名@サーバ:source/test.txt .
- 計算機の source ディレクトリ内にある test.txt をローカルのカレントディレクトリにコピーする.
ls test | grep aaa
- test ディレクトリの中の,名前に aaa を含むファイル・ディレクトリを表示する.
chmod 777 test.txt
chmod u+x test.txt
kill -9 111
- PID:111 のプロセスを強制的に終了する.普通に kill できなかった時はこれを実行.
rm -rf test
最終更新:2008年06月29日 16:04