Correct answers |Already Graded
A+||Brand New Version!!!
What command can you use to quickly display a message to a user? -
correct answer -jamf displayMessage -message
How can you flush out the logged data of an Extension attribute? -
correct answer -By disabling the extension attribute which will give you
the option to delete or retain the data
Which command can you use to get the boottime of a Mac? - correct
answer -sysctl kern.boottime | awk '{print $5}' | tr -d ','
Which command could you use to introduce automations to messages
we give as prompts to users? - correct answer -JamfHelper
,Where is the Jamf Helper process executable binary located? - correct
answer -/Library/Application\
Support/JAMF/bin/jamfHelper.app/Contents/MacOS/jamfHelper
What flag with the JamfHelper can you use to get a contextual menu for
the tool? - correct answer -/Library/Application\
Support/JAMF/bin/jamfHelper.app/Contents/MacOS/jamfHelper -help
What can you use in a bash command to continue the command on a
new line? - correct answer -<command> \ (backwards slash)
Which type of window-type should you use with jamfHelper in order to
eliminate the quit 'x' button on the gui window? - correct answer -utility
What are heredocs? - correct answer -A way to write multiline
comments into standard output or
, What can you use to grab the result of an apple script command into a
bash script variable? - correct answer -Use a heredoc
When calling application "System Events" to make a osascript prompt to
the user, what can you use to the osascript in case the bash script is still
running? - correct answer -Kill the System Events process
What does IFS=, do? - correct answer -It sets the internal field separator
to a comma so that in case a file is imported into a script, its field
separator will be a comma
How can you pass in a text file with comma separated rows into a while
loop? - correct answer -Use the redirection "<" to pipe in the text file
into the end of the while loop
What app can you use to investigate existing packages that comes from
Jamf Pro? - correct answer -Composer