Ping, traceroute and nslookup shortcuts

Ostatní
User avatar
Ashus
Administrátor
Posts: 417
Joined: 07. 07. 2007 10:51
Location: Ostrava - Polanka nad Odrou
Contact:

Ping, traceroute and nslookup shortcuts

Postby Ashus » 12. 02. 2015 22:44

In Windows extract these files to your \Windows folder.
net utils.zip
(1.5 KiB) Downloaded 1 time
In linux append this to your ~/.bashrc file:

Code: Select all

alias p='ping'
alias pp='ping -s 1024'
alias p4='ping'
alias pp4='ping -s 1024'
alias p6='ping6'
alias pp6='ping6 -s 1024'
alias t='traceroute'
alias tt='traceroute -n'
alias n='nslookup'

Guide

p pings using default stack
pp pings using 1kB data
p4 forces IPv4 (pp4 1kB data)
p6 forces IPv6 (pp6 1kB data)
t makes a traceroute (you can use first parameter -4 or -6 to force stack)
tt makes a traceroute without resolving names (-4, -6)
n resolves a name to IP address
Image
Coffee phreak!

Who is online

Users browsing this forum: No registered users and 1 guest

cron