Linux Terminal Commands

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

1/21

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 6:35 PM on 8/31/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

22 Terms

1
New cards

ls

Directory listing (list all files/folders on current directory)

2
New cards

ls -l

Formatted listing. A detailed list with file sizes, permissions, and dates.

3
New cards

ls -a

Lists all files, including hidden ones

4
New cards

ls -la

Formatted listing including hidden files

5
New cards

cd [dir]

Change directory to whatever directory is listed.

6
New cards

cd ..

Change to the parent directory

7
New cards

cd ../dir

Change to a directory within the parent directorycd

8
New cards

cd

Change to home directoryp

9
New cards

pwd

Show the current directory that you are in

10
New cards

mkdir [dir]

Make a directory [dir]

11
New cards

rm file

Delete a filerm

12
New cards

rm -f dir

Force remove a file

13
New cards

rm -r [dir]

Delete a directory

14
New cards

rm -rf /

Do not ever do this. Ever. Do not ever. Nuke your entire computer command.

15
New cards

cp file1 file2

Copy file1 to file2

16
New cards

mv file1 file2

Rename file1 to file2

17
New cards

mv file1 [dir]/file2

Move file1 to [dir] as file2

18
New cards

touch [file]

Create or update a file

19
New cards

cat file

output the contents of a file

20
New cards

cat > file

Write a standard input into the file

21
New cards

cat » file

Append standard input into a file

22
New cards

tail -f file

Output contents of a file as it grows