Linux Commands Reference Guide

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/31

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering core Linux commands for file system navigation, file reading, file management, content filtering, user/permission management, and Linux help utilities.

Last updated 5:13 AM on 10/4/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

32 Terms

1
New cards

cd

Navigates between directories.

2
New cards

ls

Displays the names of the files and directories in the current working directory.

3
New cards

ls -a

Displays hidden files when displaying the names of files and directories inside the current working directory.

4
New cards

ls -l

Displays permissions to files and directories in the current working directory; also displays additional information, including owner name, group, file size, and time of last modification.

5
New cards

ls -la

Displays permissions to files and directories in the current working directory, including hidden files, along with owner name, group, file size, and time of last modification.

6
New cards

pwd

Prints the working directory to the screen.

7
New cards

whoami

Returns the username of the current user.

8
New cards

cat

Displays the content of a file.

9
New cards

head

Displays just the beginning of a file, by default 10 lines.

10
New cards

less

Returns the content of a file one page at a time and changes the terminal window to allow moving forward and backward through content.

11
New cards

tail

Displays just the end of a file, by default 10 lines.

12
New cards

cp

Copies a file or directory into a new location without removing the file from its previous location.

13
New cards

mkdir

Creates a new directory.

14
New cards

mv

Moves a file or directory to a new location, removing it from the previous location, or renames a file.

15
New cards

nano

Opens or creates a file in the nano command-line file editor.

16
New cards

rm

Removes, or deletes, a file.

17
New cards

rmdir

Removes, or deletes, a directory; only removes directories if they are empty.

18
New cards

touch

Creates a new file.

19
New cards

find

Searches for directories and files that meet specified criteria.

20
New cards

grep

Searches a specified file and returns all lines in the file containing a specified string.

21
New cards

Pipe (|)

Sends the standard output of one command as standard input to another command for further processing.

22
New cards

chmod

Changes permissions on files and directories.

23
New cards

chown

Changes ownership of a file or directory; used with sudo.

24
New cards

groupdel

Deletes a group from the system; used with sudo.

25
New cards

sudo

Temporarily grants elevated permissions to specific users; users must be listed in a sudoers file to have access.

26
New cards

useradd

Adds a user to the system; used with sudo.

27
New cards

userdel

Deletes a user from the system; used with sudo.

28
New cards

userdel -r

Deletes a user and deletes all files in their home directory.

29
New cards

usermod

Modifies existing user accounts; used with sudo.

30
New cards

apropos

Searches the manual page descriptions for a specified string.

31
New cards

man

Displays information on other commands and how they work; output is called a man page (short for manual page).

32
New cards

whatis

Displays a description of a command on a single line.