F5F Stay Refreshed Software Operating Systems Yes, the script correctly uses the variable.

Yes, the script correctly uses the variable.

Yes, the script correctly uses the variable.

C
CreeperGame123
Junior Member
23
05-07-2016, 07:42 PM
#1
I was developing a script on Linux. It first inquires about your name. Then it follows the command style where x equals this, which functions correctly. However, the second section fails. It prompts for age and stops. We need to input your age, and if you're 18, we should ask to confirm. The symbols $ a and -gt likely indicate that when you reach 18, we prompt you to answer and decide whether to buy or not.
C
CreeperGame123
05-07-2016, 07:42 PM #1

I was developing a script on Linux. It first inquires about your name. Then it follows the command style where x equals this, which functions correctly. However, the second section fails. It prompts for age and stops. We need to input your age, and if you're 18, we should ask to confirm. The symbols $ a and -gt likely indicate that when you reach 18, we prompt you to answer and decide whether to buy or not.

L
Lieutenant_Lo
Member
53
05-07-2016, 08:43 PM
#2
The program evaluates whether the input meets a certain condition. It checks if the value is greater than 18. If so, it proceeds with further logic. For more details, run the man test documentation.
L
Lieutenant_Lo
05-07-2016, 08:43 PM #2

The program evaluates whether the input meets a certain condition. It checks if the value is greater than 18. If so, it proceeds with further logic. For more details, run the man test documentation.