I'm studying the env command and trying to understand how it works. Here's the command synopsis:
env [-iv] [-P altpath] [-S string] [-u name] [name=value ...] [utility [argument ...]]
I decided to play around with it and tried:
env cd /home/username
I get: env: ‘cd’: No such file or directory
The result is the same with either env cd ~ or env cd.
So why do I get an error when using cd as env's utility argument?