Terminal (Linux/macOS) Flashcards
Learn common commands used in macOS Terminal
1
Q
CLI
A
Command Line Interface
2
Q
pwd
A
print working directory
3
Q
hostname
A
my computer’s network name
4
Q
mkdir
A
make directory
5
Q
cd
A
change directory
6
Q
rmdir
A
remove directory
7
Q
ls
A
list directory
8
Q
pushd
A
push directory
9
Q
popd
A
pop directory
10
Q
cp
A
copy
11
Q
mv
A
move
12
Q
less
A
page through a file (c.f. more)
13
Q
cat
A
print the whole file (c.f. type)
14
Q
xargs
A
excute arguments
15
Q
find
A
find files (c.f. dir -r)