© JAMF Software, LLC‘Who’s Afraid of the Command Line?’Taking the Mystery Out of the Terminal and Scripting1:30-2:15 pmUP NEXT
View Slide
© JAMF Software, LLCWilliam SmithProfessional Services Enginerd, Jamf@talkingmooseIn session recording, Picture-in-Pictureof you presenting will be placed here.Please don’t put anything especiallyimportant in this area.
© JAMF Software, LLCIn session recording, Picture-in-Pictureof you presenting will be placed here.Please don’t put anything especiallyimportant in this area.‘Who’s Afraid of the Command Line?’Taking the Mystery Out of the Terminal and Scripting
© JAMF Software, LLC
© JAMF Software, LLCTap!
© JAMF Software, LLCNo management systemcan replace the command line.
© JAMF Software, LLCA management system can sendone or more commands to all your Macs.
© JAMF Software, LLCA management system can sendone or more commands to all your Macs.Quickly. Consistently.
© JAMF Software, LLCThe command line does the same thingyou can do in the Finder.
© JAMF Software, LLCThe command line does the same thingyou can do in the Finder.And quite often more.
© JAMF Software, LLCCommand + click
© JAMF Software, LLCls = "list"
© JAMF Software, LLCls -l = "list one item per line"
© JAMF Software, LLCzshzsh = "zee-shell" = interpreter
© JAMF Software, LLCls01010100001000000110100100100000011011110010000001111000011101010110010101101111zsh
© JAMF Software, LLC01101000011100010110001101100010011101110110011000100000011011010110010001110110zshDesktopDocumentsDownloadsMoviesMusicPicturesPublic
© JAMF Software, LLCzsh
© JAMF Software, LLCzshbash
© JAMF Software, LLCzshbashtcsh
© JAMF Software, LLCbashtcshsh
© JAMF Software, LLCtcshshcsh
© JAMF Software, LLCshcshksh
© JAMF Software, LLCcshksh
© JAMF Software, LLCzshbashtcshshcshksh
© JAMF Software, LLCTextEditWord BBEditPagesGoogle DocsTextMate
© JAMF Software, LLCIn session recording, Picture-in-Pictureof you presenting will be placed here.Please don’t put anything especiallyimportant in this area.‘tab completion’Automatically complete file paths by pressing the tab key
© JAMF Software, LLCIn session recording, Picture-in-Pictureof you presenting will be placed here.Please don’t put anything especiallyimportant in this area.open '/Applications/Microsoft OneNote.app'
© JAMF Software, LLCzsh — tab completiontab
© JAMF Software, LLCzsh — tab completiontab tab
© JAMF Software, LLCzsh — tab completiontab tab tab
© JAMF Software, LLCzsh — tab completion
© JAMF Software, LLCbash — tab completion
© JAMF Software, LLCcurl parrot.live
© JAMF Software, LLC1,000 commands-ishls = "list files and folders"open = "open file, folder or URL"mkdir = "make directory"1,000 commands
© JAMF Software, LLC1,000 commands-ishls = "list files and folders"open = "open file, folder or URL"mkdir = "make directory"softwareupdate = "install macOS updates"
© JAMF Software, LLC1,000 commands-ishls = "list files and folders"open = "open file, folder or URL"mkdir = "make directory"softwareupdate = "install macOS updates"cat = "read a file"
© JAMF Software, LLC1,000 commands-ishls = "list files and folders"open = "open file, folder or URL"mkdir = "make directory"softwareupdate = "install macOS updates"cat = "read a file"hostname = "get computer name"
© JAMF Software, LLC1,000 commands-ishls = "list files and folders"open = "open file, folder or URL"mkdir = "make directory"softwareupdate = "install macOS updates"cat = "read a file"hostname = "get computer name"jamf = "do Jamfy things"
© JAMF Software, LLCShift + Command + period (.)
© JAMF Software, LLCsoftwareupdatesoftwareupdate --helpsoftwareupdate --listsoftwareupdate --downloadsoftwareupdate --download --install --restartsoftwareupdate --ignore "macOS Catalina"softwareupdate --reset-ignoredsoftwareupdate --fetch-full-installerIn session recording, Picture-in-Pictureof you presenting will be placed here.Please don’t put anything especiallyimportant in this area.
© JAMF Software, LLCQuickly. Consistently.
© JAMF Software, LLCThe command lineis necessary for management.
© JAMF Software, LLCThe Terminal is just a windowto your interpreter.
© JAMF Software, LLCCommands are just tiny applications.≈
© JAMF Software, LLCA thousand-ish commands/bin • /sbin • /usr/bin • /usr/sbin
© JAMF Software, LLCWhat’s next?Start scripting.
© JAMF Software, LLChttps://jamf.it/101
© JAMF Software, LLChttps://jamf.it/101PDF
© JAMF Software, LLChttps://trainingcatalog.jamf.com
THANK YOU!
© JAMF Software, LLCThank you for listening!Give us feedback bycompleting the 2-questionsession survey in the JNUC2019 app.UP NEXTIdentity: The Keys to Your Technology4:00 PM