LINUX Commands

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

1/35

flashcard set

Earn XP

Description and Tags

3377

Last updated 4:20 AM on 1/24/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

36 Terms

1
New cards

ls

list files

2
New cards

cd

change directory

3
New cards

pwd

print working directory

4
New cards

cp

copy files

5
New cards

mkdir

make a directory

6
New cards

rmdir

remove directory

7
New cards

cat

show contents of files

8
New cards

grep/egrep

search for pattern in file (regular expressions)

9
New cards

cut

slit data by columns

10
New cards

sort

sort lines by alphabetical order

11
New cards

tar

create archive of files + directories

12
New cards

gzip

GNU zip - compress file

13
New cards

head

show top few lines of files

14
New cards

tail

show bottom few lines of files

15
New cards

ln

create hard links or symbolic links

16
New cards

sed

stream editor

17
New cards

tr

translate

18
New cards

awk

text processing package

19
New cards

echo

echo the arguments

20
New cards

cal

display calendar

21
New cards

xargs

convert standard input to arguments and run commands

22
New cards

mskr

build a bunch of source files into executables

23
New cards

comm

outputs common lines of 2 files

24
New cards

diff

show differences between 2 files

25
New cards

paste

show multiple file contents side by side

26
New cards

more,

less

show content one page at a time

27
New cards

chmod

change permissions

28
New cards

dd

delete one line

29
New cards

5dd

delete 5 lines

30
New cards

x

delete one char

31
New cards

5x

delete 5 chars

32
New cards

d$

delete until end of current lines

33
New cards

dw

delete one word

34
New cards

cw

change word

35
New cards

yy, 3yy

yank (copy) that many lines

36
New cards

p

paste those lines below current line