CSS260 Unit 2 IP - Pick 3 system commands and provide the following A brief description of the command and why you might use it How you will invoke the

CSS260 Unit 2 IP - Pick 3 system commands and provide the...

This preview shows page 1 - 2 out of 4 pages.

Pick 3 system commands and provide the following:A brief description of the command and why you might use itHow you will invoke the commands through Perl and why (System, Exec or Backtick)Sample code showing how you would use the commandSystem()Perl can be used as a wrapper for other programs or commands (Running external programs, n.d.). Using the System command to invoke system commands adds to the flexibility of Perl to initiate interaction with multiple Operating Systems. By increasing the usefulness of Perl to call system commands from a language that is interpretive we allow disparate systems to interact with one another.The System command can be used to invoke a command on the OS to execute a system specific command. When using the System() command any output or errors that are generated by the called command will be shown on the user’s screen. This can be helpful for troubleshooting or used as part of a further script. An example case for using Perl with the System()

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture