What would the output of the following commands?

echo $z | wc -l
echo \$$symbol
echo "$z" | wc -l
echo $\$symbol
echo '$z' I wc -l
echo "\"
echo _$now_
echo "\\"
echo hello $symbol out
echo \\
echo "\""
echo I don't understand

Given the following assignments:
$ x=*
$ y=?
$ z='one
> two
> three'
$ now=$(date)
$ symbol='>'

echo $z | wc -l
1

echo \$$symbol
$>

echo "$z" | wc -l
3

echo $\$symbol
$$symbol

echo '$z' I wc -l
1

echo "\"
>

echo $z | wc -l
1

echo \$$symbol
$>

echo "$z" | wc -l
3

echo $\$symbol
$$symbol

echo '$z' I wc -l
1

echo "\"
>

Computer Science & Information Technology

You might also like to view...

A(n) ________ identifies the data series of a chart

Fill in the blank(s) with correct word

Computer Science & Information Technology

?You might want to delete your browser history when you have been working on any of the following EXCEPT _____.

A. ?a public computer such as a a library B. ?a school lab computer C. ?your personal computer D. ?your friend's computer

Computer Science & Information Technology