Technical requirementsReading input from the user (keyboard, files)The read commandPrompting user for inputRead multiple inputs with readReading with no displayTiming outValidating user input using if statementsRead command options tableRead input from a fileUnderstanding command-line parametersPassing parameters to scriptsReading parameters in scriptsReading the script nameValidating parametersbash special parameter variablesCounting all the parametersGrabbing all the data using ($@)Grabbing all the data using ($*)Getting the process IDUnderstand the shift commandProcessing multiple command-line optionsDealing with command-line optionsHow to process simple optionsSeparating options from parametersPutting it all togetherHow to process options with valuesUsing the getopt commandLooking at the getopt command formatUsing getopt in your scriptsStandardizing script optionsRedirecting input/output for flow controlRedirect the standard output of a command to a fileRedirect the standard error of a command to a fileDiscard the standard output of a commandRedirect the contents of a file to the stdin of a commandManipulating file contents with awk, sed, and grepawksedgrepSummaryQuestionsFurther readingAnswersGet this book’s PDF version and more