Changes

Jump to: navigation, search

Tutorial10: Shell Scripting - Part 1

260 bytes added, 08:05, 20 July 2020
INVESTIGATION 3: USING CONTROL FLOW STATEMENTS IN SHELL SCRIPTS
# Issue the following linux command to test another condition:<br><span style="color:blue;font-weight:bold;font-family:courier;">test $course = "uli101"</span><br><br>
# Issue the following linux command to view the status of the previously-issued '''test''' command:<br><span style="color:blue;font-weight:bold;font-family:courier;">echo $?</span><br><br>The value is non-zero (FALSE) since UPPERCASE characters are different than lowercase characters.<br><br>
# Issue the following linux command to test another condition:<br><span style="color:blue;font-weight:bold;font-family:courier;">test $course != "uli101"</span><br><br>
# Issue a linux command to display the value of '''$?'''. What is the result? Why?<br><br>
= LINUX PRACTICE QUESTIONS =
13,420
edits

Navigation menu