Which symbol is used to separate more than one command in the same command line? A. $ B. # C. : D. ; E. None of the above

$
#
:
; E. None of the above

The correct answer is: D. ;

The semicolon (;) is used to separate more than one command in the same command line. For example, the following command will print “Hello world” and then “Goodbye”:

echo "Hello world";

d="M549.7 124.1c-6.3-23.7-24.8-42.3-48.3-48.6C458.8 64 288 64 288 64S117.2 64 74.6 75.5c-23.5 6.3-42 24.9-48.3 48.6-11.4 42.9-11.4 132.3-11.4 132.3s0 89.4 11.4 132.3c6.3 23.7 24.8 41.5 48.3 47.8C117.2 448 288 448 288 448s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zm-317.5 213.5V175.2l142.7 81.2-142.7 81.2z"/> Subscribe on YouTube

echo "Goodbye"

The other options are incorrect. The dollar sign ($) is the prompt character, the hash mark (#) is used to start a comment, and the colon (:) is used to separate options from arguments.

Exit mobile version