Midterm Commands Flashcards
1
Q
ls
A
List contents of a directory
2
Q
ls -al
A
List all contents of a directory, long style
3
Q
ls -alR
A
List all directory contents recursively
4
Q
pwd
A
Lists the present working directory
5
Q
cd
A
changes directory
6
Q
mkdir
A
makes a directory
7
Q
date
A
lists current date, time, and timezone
8
Q
echo $PATH
A
Prints to screen the path environment variable
9
Q
su
A
substitute user, super user, or switch user
10
Q
cat
A
displays a file on screen
11
Q
source
A
Evaluates a file or resource as a TCL script
12
Q
PATH
A
settings to change the environment variable PATH
13
Q
PS1
A
used in scripts to change a multitude of settings
14
Q
script
A
collection of commands stored in a file
15
Q
cp
A
copy
16
Q
ps
A
displays processes