| |
![]() | |
Unix ...Why Use ShellsWell, most likely because the are a simple way to string together a bunch of UNIX commands for execution at
any time without the need for prior compilation. Also because its generally fast to get a script going. Not forgetting
the ease with which other scripters can read the code and understand what is happening. Lastly, they are generally completely
portable across the whole UNIX world, as long as they have been written to a common standard. cat /tmp/myfile | grep "mystring" which would run much faster as: grep "mystring" /tmp/myfile | |