CISC 220 Lecture Notes - Lecture 5: Exit Status, Scripting Language, Microsoft Dynamics Ax

44 views7 pages

Document Summary

What is a scripting language: designed to control operation of other software applications, can be used interactively or by putting a series of commands into a file (script, usually interpreted (not compiled) In c/java/etc: assignment statement, call a function. In bash: set value of shell variable, built in shell commands (cd, ls, etc. ) Exit status numerical value (what youre returning, like return 0 but now its exit n where n is your exit status int: 0 means success. Exit status of last command: after you call a command, you can echo 0 and it will return the exit status of what command you ran. If you don"t have an exit status command in your script, it will give it the exit status of the last command in the script. //[] signifies optional things if test-commands; then consequent-commands; [else consequent-commands;] fi // if backward ends if.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents