More Commands and concepts Flashcards
file
Tells you what kind of data a file contains
Absolute pathname
The path from the root directory to the directory you want to get to
Relative pathname
The path from the working directory to the directory you want to get to
Working directory
The directory you’re currently in
Hierarchical directory structure
A directory system where there’s a root directory and many branches from it
Shell
A command interpreter that translates your commands to computer language
Bash
Bourne Again Shell- one example of a shell program
Terminal
A program that allows you to interact with the shell
Pathname
Route you take in the hierarchical directory structure to get to the directory you want
Symbolic link
A file that has a symbolic link points to a different file. When operations are carried out on a file with a symbolic link they’re really carried out on the file it points to
Wildcard
Used in pattern matching *
*
Wildcard that pattern matches any characters
?
Wildcard that pattern matches any single character
touch
Create an empty file
type
Tells us the type of a command (there are 4 types)
Executable program
Complied binaries or things written in scripting language
Shell built ins
Command built into the shell
Alias
A command you define that is built up from other built in commands
Shell function
A shell script that the command line can run
help
Tells you what a shell built in does
Standard output
Program shell uses to direct the output of commands- default is to print to the command line
Standard input
Facility commands accept inputs from- usually it takes input from the keyboard
I/O redirection
Input and output redirection
Filters
Take standard input and perform an operation on it before sending it to standard output