Пример использования команды alias для bash:
$ alias pingoogle="ping -c3 8.8.8.8"
Теперь по команде pingoogle будут пропингованы dns-серверы google:
pi@raspberrypi ~ $ pingoogle PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. From 192.168.1.30 icmp_seq=1 Destination Host Unreachable From 192.168.1.30 icmp_seq=2 Destination Host Unreachable From 192.168.1.30 icmp_seq=3 Destination Host Unreachable --- 8.8.8.8 ping statistics --- 3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2005ms pipe 3