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?

Linux コマンド備忘録

0
Last updated at Posted at 2026-06-21

シェル・環境コマンド

cd / pwd / echo / printf
type / which / whereis
export / set / unset
alias / unalias
true / false / test
history(履歴)
source(設定反映)
env(環境変数一覧)

ファイル・ディレクトリ操作

cp / mv / rm / touch
ls / mkdir / rmdir / tree
chmod / chown / chgrp
stat / file
ln
rename(大量リネーム)
shred(安全削除)
xxd(HEX変換)

テキスト処理

grep / egrep / fgrep
sed / tr
cut / awk
sort / uniq
paste / join
cat / less / head / tail
nl(行番号)
wc(行数・文字数)
rev(文字列反転)
strings

検索・探索

find
locate / updatedb
which / whereis
fd / fdfind(高速 find)
ripgrep (rg)(高速 grep)

パイプ・リダイレクト

/ >> / < / 2> / &>
|
tee
xargs
yes

プロセス管理

ps / top / htop
kill / pkill / killall
jobs / bg / fg
uptime / free / vmstat
pstree
nice / renice
strace

ネットワーク

ping / traceroute
curl / wget / nc
ip / ss / ifconfig
dig / host
arp
tcpdump
nmap

パッケージ管理

apt / apt-get / dpkg
dnf / yum / rpm
pacman
snap
flatpak

システム管理

systemctl
journalctl
timedatectl / hostnamectl
uname / lsb_release / dmesg
sysctl
ulimit
crontab

ユーザー・グループ管理

useradd / userdel / usermod / passwd / chsh

グループ管理
groupadd / groupdel / groupmod / gpasswd

権限管理
chmod / chown / chgrp / umask

アカウント情報
id / groups / whoami / finger / last

その他
sudo
visudo

アーカイブ・圧縮

tar
gzip / bzip2 / xz
zip / unzip
gunzip / unxz
7z

ファイルシステム・ディスク使用量

df / du
mount / umount
mkfs / fsck
lsblk / blkid
fdisk / cfdisk
mount -o loop

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?