1
0
mirror of https://github.com/octoleo/hosts.git synced 2024-11-22 12:55:11 +00:00

Add file command

This command simply runs `cat` on /etc/hosts
This commit is contained in:
William Melody 2015-03-16 19:48:16 -07:00
parent 2853d6fd33
commit bafa955308

10
hosts
View File

@ -567,6 +567,7 @@ Usage:
$_me remove <hostname>
$_me list [127.]
$_me edit
$_me file
$_me command [--command-options] [<arguments>]
$_me -h | --help
$_me --version
@ -683,6 +684,15 @@ edit() {
fi
}
# ------------------------------------------------------------------------ file
desc file <<EOM
Usage: $_me file
EOM
file() {
cat /etc/hosts
}
# ---------------------------------------------------------------------- remove
desc remove <<EOM