推奨コマンド
This content is a draft and will not be included in production builds.
- Bashの組み込み
[[]]testや[]の代わり
ip addrifconfig
ip route/sbin/route
ssnetstat
resolvectl querynslookup
git switchgit restoregit checkoutの代わり
git filter-repogit filter-branchのmanでfilter-repoを推奨している
sftp,rsyncscp- SCPプロトコルには問題があったが、
scpコマンドの裏が[SFTPプロトコルに置き換えられる https://www.fixedpoint.jp/2022/04/02/scp-command-survives.html]らしい - OpenSSH では
scp古いからsftpかrsync使ってね〜らしい-
The scp protocol is outdated, inflexible and not readily fixed. We
-
recommend the use of more modern protocols like sftp and rsync for
-
file transfer instead.
-
-
ref: https://lwn.net/Articles/786236/ (OpenSSH 8.0 release 時の ML より)
-
- SCPプロトコルには問題があったが、
systemctlservice
fwupdtoolfwupdmgr
systemd
Section titled “systemd”homectl(systemd-homed)useradd,adduser
resolvectl(systemd-resolved)nslookup,dig
timedatectl(systemd-timesyncd)bootctl(systemd-boot)systemd-timercrond
使えるけどまだ早いもの
Section titled “使えるけどまだ早いもの”run0sudoの代わり- windymelt:
doas?
git replay- たぶん
git rebaseの代わり
- たぶん
systemd-tmpfiles --purgerm -rf ~