Pro Bash by Jayant Varma

Pro Bash by Jayant Varma

Author:Jayant Varma
Language: eng
Format: epub
ISBN: 9781484295885
Publisher: Apress


Many people use which to determine the actual command that will be used when one is executed. There are two problems with that.

The first is that there are at least two versions of which, one of which is a csh script that doesn’t work well in a Bourne-type shell (thankfully, this version is becoming very rare). The second problem is that which is an external command, and it cannot know exactly what the shell will do with any given command. All it does is search the directories in the PATH variable for an executable with the same name: $ which echo printf

/bin/echo

/usr/bin/printf



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.