2. Overview
● What is bash?
● What can you do with bash?
● Why do we use bash?
● Common commands in bash
● Demo
● Features to look into
3. What is bash? (Bourne again shell)
Bash was a replacement for the bourne shell.
Bash is a command processor and runs command language.
Bash is the most common login shell for most linux distributions.
4. What you can do with it
● Edit the file system.
● Monitor processes.
● Edit system configurations.
● Parse contents of files
● Run custom scripts
● Etc.
5. Why Bash?
Why do we use bash/why do we want to learn it?
● Fast/Resource efficient
● No need for a complicated GUI
● GUI-less operating system
● Verbose
● More direct access
6. Common commands
● ls: List the current working directory
● cd <directory>: Changes from the current directory to the specified one.
● Cat <file>: Prints the contents of the file to standard out
● Echo <String>: Prints the string to standard out
● Less <file>: Read the contents of the file in a text viewer.
● Man <command>: Bring up the manual page for the specified command.
● Sudo <command>: Runs the specified command with escalated privileges.
8. Features to look at
● Piping commands
● Backgrounding processes
● Package managers
● Crontabs
● Command flags
Notes de l'éditeur
Created in 1989 Brian Fox
Bourne shell is sh and bash is bash
Command processor is a means of interacting with a computer programming or CLI
Command language is for job control in computing. Bash runs command languages.
Shell shock