Commands Flashcards
Print to Standard Output
echo
Change Directory
cd
Manual Page
man
Print Working Directory
pwd
List directory
ls (ls -a to list hidden files)
Make Directory
mkdir (mkdir -p to create nested directories)
Delete file
rm (rm -rf to force delete)
Delete Directory
rmdir
Copy
cp
cp -R (select a directory to copy)
Move
mv
Create a link
ln
Print contents of file
cat
Print contents of file with paging
less
Evaluate an expression
expr
Create a data disc
dd
Check for a regular expression
grep
Search for processed by regular expression
pgrep
pgrep -l to list PID and process name
Use extended regular expressions
egrep
Print the field at a particular index in a record
awk
Edit each line of text
sed
Determine type of file
file
Find files matching a specific criteria
find