Bourne Again Shell (BASH) Lecture Notes

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/26

flashcard set

Earn XP

Description and Tags

Vocabulary and key concepts from Dr. Subharag Sarkar's lecture on the Bourne Again Shell (BASH), including shell responsibilities, startup processes, variables, and scripting syntax.

Last updated 12:08 AM on 8/12/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

27 Terms

1
New cards

Shell

A command interpreter and an interface between a human (or another program) and the Operating System (OS).

2
New cards

Terminal

A program that opens a graphical window and lets you interact with the shell.

3
New cards

Bourne-Again Shell (BASH)

An extension of the Bourne Shell (shsh) that incorporates features from the Korn shell (kshksh) and C shell (cshcsh).

4
New cards

Built-in commands

Specific commands like cdcd, pwdpwd, and echoecho that are contained within the shell rather than retrieved from disk utilities.

5
New cards

Wildcards

Characters such as *, ??, and [...][...] used to generate lists of files to be passed to a chosen command or utility.

6
New cards

Pipeline Hookup

The shell's responsibility for detecting the pipe symbol (|) and connecting the standard output of the preceding command with the standard input of the succeeding command.

7
New cards

Login shell

A shell started at startup by the initinit (or systemdsystemd) process, or a shell that logs you into the system via username and password.

8
New cards

Non-login shell

A shell that is invoked without logging anyone in.

9
New cards

init

A process invoked by the kernel at the end of the startup procedure, responsible for starting up and shutting down the system.

10
New cards

getty

A process created by the initinit process responsible for getting and managing the terminal type (ttytty).

11
New cards

login

A process that authenticates the user after communication is established, replaced by the appropriate shell once authenticated.

12
New cards

systemd

The modern replacement for the initinit process in many Linux distributions.

13
New cards

Globbing

The process by which the shell interprets certain characters as wildcards for filenames.

14
New cards

Shebang (#!)

A sequence at the beginning of a shell script used to identify which shell should be used to execute the program.

15
New cards

ps command

Short for Process Status, this command line utility is used to display or view information related to processes running in a Linux system.

16
New cards

Subshell

A child process launched by a shell (or shell script) that has its own environment and cannot change variables in the parent shell.

17
New cards

env command

A command used to display the current environment or modify specified variables in a new environment.

18
New cards

PATHPATH Variable

An environment variable containing a list of directories separated by colons (::) where the shell searches for executable commands.

19
New cards

Positional parameters

Special shell variables, such as 11, 22, and 33, that represent command-line arguments used to modify script behavior.

20
New cards

read command

A command that allows the shell to prompt for and store user input into a variable.

21
New cards

Backtick (`)

A quoting mechanism used to perform command substitution.

22
New cards

Double Quotes ("")

A quoting mechanism that allows some variable expansion but prevents wildcard expansion.

23
New cards

Single Quote (')

A quoting mechanism that performs literal interpretation, preventing wildcard replacement, variable expansion, and command substitution.

24
New cards

let statement

A statement used to perform arithmetic operations such as ++, -, *, //, and %\%.

25
New cards

test command

A command used to evaluate condition expressions, for which single brackets [][ \dots ] serve as a built-in alias.

26
New cards

Double brackets ([[]][[ \dots ]])

A bash keyword for evaluating condition expressions that is more capable than single brackets and supports C-like syntax with relational operators.

27
New cards

case statement

A control structure used for decisions based on multiple choices, ending with the keyword esacesac.