Rocky Linux 8.5でalternativeに設定されている一覧を表示する

環境
# cat /etc/redhat-release
Rocky Linux release 8.5 (Green Obsidian)

構文
sudo ls -l /etc/alternatives/

実行例

# sudo ls -l /etc/alternatives/
lrwxrwxrwx. 1 root root 39  3月  7 17:15 cifs-idmap-plugin -> /usr/lib64/cifs-utils/cifs_idmap_sss.so
lrwxrwxrwx. 1 root root 25  3月  7 17:12 easy_install-3 -> /usr/bin/easy_install-3.6
lrwxrwxrwx. 1 root root 22  3月  7 17:12 ifdown -> /usr/libexec/nm-ifdown
lrwxrwxrwx. 1 root root 20  3月  7 17:12 ifup -> /usr/libexec/nm-ifup
lrwxrwxrwx. 1 root root 15  3月  7 17:12 ld -> /usr/bin/ld.bfd
lrwxrwxrwx. 1 root root 34  3月  7 17:07 libnssckbi.so.x86_64 -> /usr/lib64/pkcs11/p11-kit-trust.so
lrwxrwxrwx. 1 root root 45  3月  7 17:24 libwbclient.so.0.15-64 -> /usr/lib64/samba/wbclient/libwbclient.so.0.15
lrwxrwxrwx. 1 root root 20  3月  7 17:12 mkisofs -> /usr/bin/genisoimage
lrwxrwxrwx. 1 root root 20  3月  7 17:12 mkisofs-mkhybrid -> /usr/bin/genisoimage
lrwxrwxrwx. 1 root root 36  3月  7 17:12 mkisofs-mkhybridman -> /usr/share/man/man1/genisoimage.1.gz
lrwxrwxrwx. 1 root root 36  3月  7 17:12 mkisofs-mkisofsman -> /usr/share/man/man1/genisoimage.1.gz
lrwxrwxrwx. 1 root root 29  3月  7 17:12 ncman -> /usr/share/man/man1/ncat.1.gz
lrwxrwxrwx. 1 root root 13  3月  7 17:12 nmap -> /usr/bin/ncat
lrwxrwxrwx. 1 root root 16  3月  7 17:12 pip-3 -> /usr/bin/pip-3.6
lrwxrwxrwx. 1 root root 15  3月  7 17:12 pip3 -> /usr/bin/pip3.6
lrwxrwxrwx. 1 root root 17  3月  7 17:14 print -> /usr/bin/lpr.cups
lrwxrwxrwx. 1 root root 20  3月  7 17:14 print-cancel -> /usr/bin/cancel.cups
lrwxrwxrwx. 1 root root 36  3月  7 17:14 print-cancelman -> /usr/share/man/man1/cancel-cups.1.gz
lrwxrwxrwx. 1 root root 16  3月  7 17:14 print-lp -> /usr/bin/lp.cups

 

Rocky Linux 8

Posted by arkgame