0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

僕のLinuxコマンド集

Posted at

LINUXコマンド集(やりたいこと→コマンド)

逐一更新予定

ディレクトリ移動

cd
cd [ディレクトリ]

ディレクトリの内容を表示

cd
ls

ファイル・フォルダを移動

mv
mv [移動元ファイル] [移動先ファイル]

ファイル・フォルダコピー

cp

cp [移動元ファイル] [移動先ファイル]

画面をリセット

clear
clear

フォルダ作成

mkdir
mkdir [フォルダ名]

フォルダ削除

rmdir
rmdir [フォルダ名]

ファイル・フォルダ削除

rm
rm [ファイル名]

現在のディレクトリを表示

pwd
pwd

cat

ファイル内容を表示
cat ファイル名

pushd

スタックに現在のディレクトリを積んで指定されたディレクトリに移動
pushd [移動先]

popd

スタックからポップされたディレクトリに移動
popd

検索対象に一致する列を取得

grep
grep [検索正規表現] [検索対象ファイル]

ファイル編集

vi

vi [ファイル名]

コマンド定期実行設定

crontab
crontab [cron.conf]
  定義実行設定ファイル編集(「分 時 日 月 曜日 実行したいコマンド」をファイ
ルに)
crontab -e
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?