Shell scripting fundamentals and the everyday utilities that make the command line a dev superpower.
Variables
=; reference with $.Shell scripting fundamentals and the everyday utilities that make the command line a dev superpower.
35 flashcards · select reveal or click a card to see details
=; reference with $.echo for simple output, printf when you need formatting or precise control.pwd prints the current working directory.cd changes the current directory.$?.ls lists files and directories.[[ ... ]].cat concatenates and prints file contents to the terminal; less opens a paged, scrollable view of a file.touch updates a file’s timestamp, or creates it empty if it does not exist; mkdir creates a directory.cp copies, mv moves or renames, and rm removes files.[[ ]] for checking file properties.export, so child processes inherit them.find to other commands.set options catch errors that would otherwise pass silently.