Shell & Bash Scripts

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

1/27

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 6:27 PM on 3/24/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

28 Terms

1
New cards

What does coding mean?

Writing a series of instructions in the syntax of a particular language so that a computer will execute a series of tasks.

2
New cards

What is a shell scripting language?

Uses commands that are specific to an operating system.

3
New cards

What is a general-purpose scripting language?

Uses statements and modules that are independent of the operating system; executed by an interpreter that implements the language for a particular OS.

4
New cards

What is a programming language used for (vs scripting)?

Compile an executable file that can be installed on an OS and run as an app.

5
New cards

What are scripting types often described as?

Glue languages.

6
New cards

What is a glue language used for?

Automate and orchestrate functions of multiple different OS and app software.

7
New cards

What does “script support” in an editor mean?

The editor can parse the syntax of the script and highlight elements of it appropriately.

8
New cards

What does an IDE provide for complex scripts/programming languages?

Autocomplete features and debugging tools.

9
New cards

What file extension does a Linux shell script use by convention?

.sh

10
New cards

What does the shebang line in a shell script do?

Designates which interpreter to use, such as Bash or Ksh.

11
New cards

What must be set for a Linux script file to run?

Execute permission (for the user, group, or world).

12
New cards

How do you execute a script from the working directory if PATH to the script has not been configured?

Precede the filename with ./

13
New cards
What does Bash stand for?
Born Again Shell.
14
New cards
What command checks the current date and time in Linux?
date
15
New cards
What command shows what user you’re logged in as?
whoami
16
New cards
What command displays the current working directory path?
pwd
17
New cards
What command lists what’s in the current directory?
ls
18
New cards
What does the ls -l option show in addition to listing files?
Permissions given to those files.
19
New cards
What command clears the command line display?
clear
20
New cards
What command changes directories?
cd
21
New cards
What Linux behavior caused cd documents to fail but cd Documents to work?
Case sensitive.
22
New cards
What does cd .. do?
Goes one step back.
23
New cards
What Bash feature completes commands/directories/files when you press Tab?
Command completion.
24
New cards
What command shows the commands you have issued?
history
25
New cards
How can you view command history without typing history?
Up arrow keys or down arrow keys.
26
New cards
What does a pipe (|) do in a command like history | less?
Allows you to scroll through the history.
27
New cards
What command views documentation for a Linux command or utility?
man
28
New cards
What quick option can provide terse help for a command (as shown with cd)?
-h

Explore top flashcards

flashcards
Skeletal system II / Joints
175
Updated 410d ago
0.0(0)
flashcards
Business Quiz #1
34
Updated 1104d ago
0.0(0)
flashcards
100 questions.
100
Updated 296d ago
0.0(0)
flashcards
Chapter 8
41
Updated 1029d ago
0.0(0)
flashcards
Hamlet (Acts III-V) 76 words
76
Updated 1236d ago
0.0(0)
flashcards
Year 3 EMIs
309
Updated 383d ago
0.0(0)
flashcards
Skeletal system II / Joints
175
Updated 410d ago
0.0(0)
flashcards
Business Quiz #1
34
Updated 1104d ago
0.0(0)
flashcards
100 questions.
100
Updated 296d ago
0.0(0)
flashcards
Chapter 8
41
Updated 1029d ago
0.0(0)
flashcards
Hamlet (Acts III-V) 76 words
76
Updated 1236d ago
0.0(0)
flashcards
Year 3 EMIs
309
Updated 383d ago
0.0(0)