Command "hostname" still sets host name when second argument is given
Issue
- Command "hostname" still sets host name when second argument is given
# which hostname
/bin/hostname
# hostname
server.example.com
# hostname cat /etc/hosts.allow
# hostname
cat
Environment
- Red Hat Enterprise Linux 6
- /bin/hostname
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.