What is the command
env ls -al doing?
I had a Linux test and there was question: "How to run command directly, but not its alias?"
I knew that there exists solution like prefixing command with some special symbol, but I forgot it. Now I know that it is
\. (read from this post).
But I also remember that somewhere I read that to get rid of alias we can prefix a command with
env. I did it and it seems works, but my answer was qualified as wrong.
env, but didn't understood too much.
env doing and exactly in
env <command> without any arguments for
command <command>, and
\<command>. In my opinion, if some test said
env <command>is invalid, then that test is broken.
envwhich would make `\` the only acceptable answer.
manand didn't understood what
envexactly doing. After this post - it's clear and my answer was reviewed (accepted). Thanks to all!