Give a command line for displaying the number of users currently logged onto your system
What will be an ideal response?
Any one of the following commands can be used to perform the task.
a) who | wc -l
b) who -q | tail -1
c) who -q | grep “^total users”
d) set `who | wc`
echo “$1”
e) echo “There are `who | wc -l` users currently logged on the system.”
You might also like to view...
All browsers recognize and understand CDATA sections.
Answer the following statement true (T) or false (F)
Records in a sequential file are not usually updated in place. Instead ________.
a. the updated data is placed in a “surrogate” file b. the entire file is usually rewritten c. the file is truncated d. The above statement is false—records in sequential files are usually updated in place.
Mark as Final is considered a security feature by Microsoft
Indicate whether the statement is true or false
When an Activity moves to the top of the Activity stack, the current Activity is informed that it is being pushed down the Activity stack by what method?
a. onPause() b. onStop() c. onResume() d. onReload()