Midterm Commands Flashcards
ls
List contents of a directory
ls -al
List all contents of a directory, long style
ls -alR
List all directory contents recursively
pwd
Lists the present working directory
cd
changes directory
mkdir
makes a directory
date
lists current date, time, and timezone
echo $PATH
Prints to screen the path environment variable
su
substitute user, super user, or switch user
cat
displays a file on screen
source
Evaluates a file or resource as a TCL script
PATH
settings to change the environment variable PATH
PS1
used in scripts to change a multitude of settings
script
collection of commands stored in a file
cp
copy
ps
displays processes
top
displays processes in real time
file
determines file type
kill
kills a process
df
reports how much free disk space is available for each mount you have
grep
searches a file for your search term
free
displays memory usage
ifconfig
displays network information
cal
calendar for the year you specify