# rmdir test ディレクトリ削除
# touch test.txt ファイルの作成
# echo "This is a test" > test.txt ファイル作成(文字入り)
# rm test.txt ファイルの削除
# rm -r test ファイルがあるディレクトリの削除
# cp test.txt /abc/test.txt ファイルのコピー
# mv test.txt /abc/test.txtファイルの移動
# mv test.txt test1.txt ファイル名の変更
# pwd カレントディレクトリの表示
# cd /home 他のディレクトリへ移動
# ls -l ディレクトリ内のファイル一覧表示
# ls -al 同上 (隠しファイルも含めて表示)
# cat test.txt ファイルの内容を表示
# find /home -name "test" ファイルの検索
# chmod 755 test.cgi パーミッションの変更
# tar xvzf ****.tar.gz tarボールの解凍
タグ:コマンド