Extra Linux commands - Bao108/SYS-255 GitHub Wiki

cp (copy) command

cp [file being copied] [directory receiving the copy file]

mv (move) command

mv [OPTIONS] SOURCE DESTINATION

note. Used to move or rename files and directories

Tree command

tree /path/to/folder

note. Lists the contents of a directory

Who command

who

note. tells you who's logged into the computer "right now"

grep command

grep [options] "PATTERN" [file]
grep "PATTERN" [file]

note. Used to find text within a specific file (look for strings, words, regex patterns)

find command

find [path] [options] [expression]

note. Looks for File metadata (name, size, permissions, date).