tech:shell_commandes_gnu_linux_equivalente
Shell commandes GNU/Linux équivalente
Voir :
| Commande | Commande équivalente |
|---|---|
| ifconfig | hostname -I |
| ifconfig | netstat -ie |
| ifconfig | ip a |
| ifconfig -a | ip link |
| traceroute | mtr |
| traceroute | tracepath |
| which ls | type -P ls |
| which ls | command -v ls |
| fdisk -l /dev/sda | gdisk -l /dev/sda |
| fdisk -l | lsblk |
| fdisk -l | blkid |
| fdisk -l | dmsetup ls |
| fdisk -l | findmnt --real |
| mount (show) | findmnt |
| mount | udisksctl mount -b /dev/sdx |
| mount | udisks --mount /dev/sdx |
| hostname | uname -n |
| hostname | hostnamectl |
| hostname | cat /proc/sys/kernel/hostname |
| namei /bin/sh | readlink -f /bin/sh |
| host node2 | getent hosts node2 |
| netstat -taupen | lsof -Pni |
| netstat -taupen |grep 8081 | lsof -i tcp:8081 |
| netstat -taupen |grep 8081 | ss -lnt sport = :8081 |
| netstat -i | ip -s link |
| netstat | ss -l, nstat |
| netstat -tn | ss -ltn |
| tcpkill | ss --kill |
| tcpkill | iptables -j REJECT --reject-with tcp-reset |
| iw | iwconfig |
| arp -a | ip neighbor |
| ifconfig eth0 up | ip link set up eth0 |
| route add default gw 192.168.1.1 | ip route add default via 192.168.1.1 |
| route -n | ip route |
| route -n | routel |
| lsusb | usb-devices |
| brctl show | bridge link |
| wc -l | grep -c |
| wc -l | nl |
| du --bytes ~/plop.png | wc --bytes ~/plop.png |
| resolvconf | getent hosts |
| ps, top | systemd-cgtop |
| ls | echo * |
| ls | vdir |
| ls | exa |
| cat | bat / batcat |
| docker images | crictl images |
| df | ncdu |
| find | fd, fdfind |
| loadkeys | setkmap |
| uptime | who -r |
| uptime | ps -p 1 -o stime |
| ip netns exec | nsenter |
| srm | shred -u |
| rm | unlink |
| lsof | lsfd |
tech/shell_commandes_gnu_linux_equivalente.txt · Dernière modification : de Jean-Baptiste
