OPERATING SYSTEM COMMANDS

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

1/61

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:19 PM on 6/12/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

62 Terms

1
New cards

pwd

prints your current working directory.

2
New cards

cd

changes your directory.

3
New cards

ls

lists the contents of a directory.

4
New cards

mkdir

creates new directories.

5
New cards

rmdir

deletes an empty directory.

6
New cards

touch

creates and updates files.

7
New cards

cp

copies files and directories.

8
New cards

mv

moves or renames files and directories.

9
New cards

rm

removes files and directories.

10
New cards

ln

creates symbolic links.

11
New cards

cat

shows the content of a file.

12
New cards

less

shows the content of a file interactively.

13
New cards

head

displays the beginning of a file.

14
New cards

tail

displays the last part of a file.

15
New cards

echo

prints text to the terminal or to files.

16
New cards

truncate

shrinks or extends the size of a file.

17
New cards

grep

searches for patterns in text.

18
New cards

find

searches for files and directories.

19
New cards

awk

extracts and manipulates data from files.

20
New cards

sed

edits text streams for finding and replacing.

21
New cards

tr

translates or deletes characters.

22
New cards

cut

removes sections from lines of a file.

23
New cards

wc

counts lines, words, and bytes in a file.

24
New cards

ps

shows a snapshot of running processes.

25
New cards

pstree

displays the hierarchical structure of processes.

26
New cards

top

provides a real time overview of running processes.

27
New cards

kill

sends signals to terminate a process.

28
New cards

killall

terminates processes by their program name.

29
New cards

jobs

lists background tasks running in the terminal.

30
New cards

bg

continues the execution of a paused background task.

31
New cards

fg

brings a background task to the foreground.

32
New cards

free

displays total, used, and free memory.

33
New cards

systemctl

manages systemd services and daemons.

34
New cards

crontab

manages scheduled automated tasks.

35
New cards

date

displays or sets the system date and time.

36
New cards

cal

shows a calendar.

37
New cards

timedatectl

queries or changes date and time settings.

38
New cards

hostnamectl

displays the operating system name and architecture.

39
New cards

chmod

changes file and directory permissions.

40
New cards

chown

changes the owner and group of a file.

41
New cards

adduser

creates a new user.

42
New cards

userdel

deletes an existing user.

43
New cards

passwd

changes a user's password.

44
New cards

groupadd

creates a new user group.

45
New cards

groupmod

modifies existing user groups.

46
New cards

groupdel

deletes a user group.

47
New cards

whoami

displays the current logged in user.

48
New cards

id

shows user and group information.

49
New cards

su

switches to another user or the root superuser.

50
New cards

sudo

executes a command with administrator privileges.

51
New cards

visudo

safely edits the file that grants sudo privileges.

52
New cards

ip a

displays IP addresses and network interface information.

53
New cards

ping

tests connectivity to another network node.

54
New cards

traceroute

traces the path packets take to a destination.

55
New cards

arp

shows the table mapping IP addresses to MAC addresses.

56
New cards

tar

packs and unpacks file archives.

57
New cards

gzip

compresses files into the .gz format.

58
New cards

gunzip

decompresses .gz files.

59
New cards

zip

compresses files into the .zip format.

60
New cards

unzip

extracts .zip files.

61
New cards

apt

manages software packages in Ubuntu.

62
New cards