Skip to content

Commit

Permalink
Added traceroute
Browse files Browse the repository at this point in the history
  • Loading branch information
jessp01 committed Jul 23, 2023
1 parent 92e06a3 commit 87d5e0b
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions utils/functions.rc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ if which zaje > /dev/null 2>&1 ;then

diff()
{
$(which diff) "$@" | zaje -l diff
BIN="diff"
$(which $BIN) "$@" | zaje -l $BIN
}

lsb_release()
Expand All @@ -51,17 +52,26 @@ if which zaje > /dev/null 2>&1 ;then

ping()
{
$(which ping) "$@" | zaje -l ping -
BIN="ping"
$(which $BIN) "$@" | zaje -l $BIN -
}

traceroute()
{
BIN="traceroute"
$(which $BIN) "$@" | zaje -l $BIN -
}

df()
{
$(which df) "$@" | zaje -l df
BIN="df"
$(which $BIN) "$@" | zaje -l $BIN
}

du()
{
$(which du) "$@" | zaje -l du
BIN="du"
$(which $BIN) "$@" | zaje -l $BIN
}

xmllint()
Expand Down

0 comments on commit 87d5e0b

Please sign in to comment.