Basic Linux Commands Flashcards
0
Q
hostname
A
My Computer’s Network Name
1
Q
pwd
A
Print Working Directory
2
Q
mkdir
A
Make Directory
3
Q
cd
A
Change Directory
4
Q
ls
A
List Directory
5
Q
rmdir
A
Remove Directory
6
Q
pushd
A
Push Directory
7
Q
popd
A
Pop Directory
8
Q
cp
A
copy a file or directory
9
Q
mv
A
Move a file or directory
10
Q
less
A
Page through a file.
11
Q
cat
A
Print the whole file.
12
Q
xargs
A
Execute arguments.
13
Q
find
A
Find files.
14
Q
grep
A
Find things inside files.
15
Q
man
A
Read a manual page.
16
Q
apropos
A
Find what man page is appropriate.
17
Q
env
A
Look at your environment.
18
Q
echo
A
Print some arguments.
19
Q
export
A
Export/set a new environment variable.
20
Q
exit
A
Exit the shell.
21
Q
sudo
A
Become super user.
22
Q
chmod
A
Change permission modifiers.
23
Q
chown
A
Change ownership.