Chapter 7 Structured Command


Chapter 7 Structured Command

1. Using the If then statement if-then syntax One of the most used statements in scripts is the If ~ then statement. In this syntax, if the execution result of the commands defined after the if (exit code 0) is normally executed, then the command in the then clause is executed. It is not performed. The basic syntax is as follows. - Usage syntax if command then commands fi if command; then commands fi So, let's create an example that lists the user's bash shell files if there is a corresponding u...


#After #Check #checking #example #First #if #Number #String

원문링크 : Chapter 7 Structured Command