wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

PreeTest Perintah dasar Linux

Total questions: 85

Worksheet time: 43mins

Name
Class
Date
1.

Perintah apa yang digunakan untuk menampilkan isi direktori?

a)

mkdir

b)

ls

c)

pwd

d)

cd

2.

Perintah mana yang menampilkan direktori kerja saat ini?

a)

ls

b)

pwd

c)

mkdir

d)

cd

3.

Perintah apa yang digunakan untuk mengubah direktori saat ini?

a)

cd

b)

ls

c)

mv

d)

rmdir

4.

Perintah manakah yang membuat direktori baru?

a)

cp

b)

touch

c)

rmdir

d)

mkdir

5.

Perintah apa yang digunakan untuk menghapus file?

a)

del

b)

rmdir

c)

mv

d)

rm

6.

Perintah mana yang digunakan untuk menyalin file?

a)

mv

b)

cp

c)

rm

d)

touch

7.

Apa perintah yang memindahkan atau mengganti nama file?

a)

mv

b)

cp

c)

rm

d)

touch

8.

Perintah mana yang membuat file kosong?

a)

touch

b)

mkdir

c)

cat

d)

echo

9.

Apa perintah yang memeriksa tipe sebuah file?

a)

ls

b)

periksa

c)

tipe

d)

file

10.

Perintah manakah yang mengompres file ke dalam format ZIP?

a)

zip

b)

tar

c)

gzip

d)

unzip

11.

Apa perintah yang mengekstrak file dari arsip ZIP?

a)

zip

b)

tar

c)

unzip

d)

gzip

12.

Perintah manakah yang digunakan untuk mengarsipkan file tanpa kompresi?

a)

gzip

b)

unzip

c)

tar

d)

zip

13.

Apa perintah yang menampilkan sepuluh baris pertama dari sebuah file?

a)

cat

b)

tail

c)

head

d)

grep

14.

Perintah manakah yang menampilkan sepuluh baris terakhir dari sebuah file?

a)

grep

b)

tail

c)

head

d)

cat

15.

Perintah apa yang digunakan untuk mencari string dalam sebuah file?

a)

cari

b)

lokasi

c)

temukan

d)

grep

16.

Perintah manakah yang menggantikan teks dalam sebuah file?

a)

grep

b)

cat

c)

awk

d)

sed

17.

Apa perintah yang mengurutkan baris dalam sebuah file?

a)

atur

b)

kelompok

c)

pesan

d)

urutkan

18.

Perintah mana yang digunakan untuk menampilkan penggunaan disk?

a)

df

b)

du

c)

disk

d)

penggunaan

19.

Apa perintah yang menunjukkan proses yang berjalan di sistem?

a)

top

b)

ps

c)

htop

d)

jobs

20.

Perintah mana yang digunakan untuk mematikan sistem?

a)

poweroff

b)

halt

c)

reboot

d)

shutdown

21.

Perintah apa yang digunakan untuk memeriksa konektivitas jaringan?

a)

ping

b)

curl

c)

traceroute

d)

netstat

22.

Perintah mana yang mengunduh file dari internet?

a)

wget

b)

curl

c)

scp

d)

ftp

23.

Perintah apa yang digunakan untuk menyalin file secara aman melalui SSH?

a)

scp

b)

rsync

c)

ftp

d)

wget

24.

Perintah manakah yang menyinkronkan file antara dua lokasi?

a)

mv

b)

cp

c)

scp

d)

rsync

25.

Apa perintah yang menampilkan hostname sistem?

a)

host

b)

hostname

c)

ip

d)

name

26.

Perintah mana yang digunakan untuk menampilkan manual untuk sebuah perintah?

a)

panduan

b)

info

c)

bantuan

d)

man

27.

Perintah apa yang digunakan untuk membuat tautan simbolik?

a)

symlink

b)

link

c)

ln

d)

alias

28.

Perintah mana yang digunakan untuk mengubah izin file?

a)

chmod

b)

chown

c)

chgrp

d)

setfacl

29.

Apa perintah yang mengubah kepemilikan sebuah file?

a)

chown

b)

useradd

c)

userdel

d)

chmod

30.

Perintah mana yang digunakan untuk membuat pengguna baru?

a)

useradd

b)

adduser

c)

createuser

d)

newuser

31.

Apa perintah yang menghapus akun pengguna?

a)

deleteuser

b)

removeuser

c)

deluser

d)

userdel

32.

Perintah mana yang menampilkan tanggal dan waktu saat ini?

a)

date

b)

time

c)

now

d)

datetime

33.

Perintah apa yang digunakan untuk menampilkan kalender?

a)

kalender

b)

tanggal

c)

tampilkankal

d)

cal

34.

Perintah mana yang digunakan untuk melihat riwayat perintah?

a)

log

b)

track

c)

commands

d)

history

35.

Perintah apa yang digunakan untuk menampilkan informasi sistem?

a)

system

b)

info

c)

uname

d)

sysinfo

36.

Perintah mana yang digunakan untuk memantau sumber daya sistem secara interaktif?

a)

ps

b)

monitor

c)

top

d)

htop

37.

Perintah apa yang digunakan untuk menampilkan statistik jaringan?

a)

netstat

b)

ifconfig

c)

ip

d)

ping

38.

Perintah manakah yang digunakan untuk melacak rute ke host jaringan?

a)

trace

b)

traceroute

c)

route

d)

ping

39.

Perintah apa yang digunakan untuk menemukan file di direktori?

a)

locate

b)

find

c)

search

d)

grep

40.

Perintah mana yang digunakan untuk menampilkan isi dari sebuah file?

a)

cat

b)

view

c)

show

d)

display

41.

Perintah apa yang digunakan untuk membuat file baru?

a)

file

b)

touch

c)

create

d)

newfile

42.

Perintah manakah yang digunakan untuk menghapus direktori kosong?

a)

hapus

b)

rmdir

c)

del

d)

rm

43.

Perintah apa yang digunakan untuk menampilkan penggunaan ruang disk?

a)

df

b)

du

c)

diskusage

d)

space

44.

Perintah mana yang digunakan untuk menampilkan nama pengguna saat ini?

a)

whoami

b)

username

c)

currentuser

d)

user

45.

Perintah apa yang digunakan untuk menampilkan alamat IP sistem?

a)

jaringan

b)

alamat

c)

ifconfig

d)

ip

46.

Perintah mana yang digunakan untuk memeriksa status sebuah layanan?

a)

systemctl

b)

periksa

c)

layanan

d)

status

47.

Apa perintah yang digunakan untuk memulai ulang sebuah layanan?

a)

systemctl restart

b)

service restart

c)

restart

d)

reboot

48.

Perintah mana yang digunakan untuk menghentikan sebuah layanan?

a)

stop

b)

halt

c)

service stop

d)

systemctl stop

49.

Perintah apa yang digunakan untuk memulai sebuah layanan?

a)

jalankan

b)

systemctl mulai

c)

layanan mulai

d)

mulai

50.

Perintah mana yang digunakan untuk menampilkan pesan log sistem terakhir?

a)

syslog

b)

dmesg

c)

messages

d)

log

51.

What command is used to view the contents of a text file page by page?

a)

cat

b)

view

c)

more

d)

less

52.

Which command is used to display the current shell?

a)

show

b)

echo $SHELL

c)

shell

d)

current

53.

What command is used to display the environment variables?

a)

variables

b)

set

c)

showenv

d)

env

54.

Which command is used to set an alias for a command?

a)

shortcut

b)

link

c)

setalias

d)

alias

55.

What command is used to remove an alias?

a)

unalias

b)

delalias

c)

removealias

d)

unlink

56.

Which command is used to display the current user's groups?

a)

groups

b)

usergroups

c)

listgroups

d)

mygroups

57.

What command is used to change the group ownership of a file?

a)

group

b)

chown

c)

chgrp

d)

chmod

58.

Which command is used to display the current working directory in a more readable format?

a)

pwd

b)

pwd -P

c)

ls

d)

pwd -L

59.

What command is used to display the system's kernel version?

a)

uname -r

b)

sysinfo

c)

kernel

d)

version

60.

Which command is used to display the system's uptime?

a)

uptime

b)

time

c)

status

d)

sysinfo

61.

What command is used to display the list of all installed packages?

a)

installed

b)

apt list

c)

packages

d)

dpkg -l

62.

Which command is used to update the package list?

a)

update

b)

apt upgrade

c)

refresh

d)

apt update

63.

What command is used to install a package?

a)

get

b)

add

c)

install

d)

apt install

64.

Which command is used to remove a package?

a)

del

b)

remove

c)

uninstall

d)

apt remove

65.

What command is used to upgrade all installed packages?

a)

install

b)

update

c)

upgrade

d)

apt upgrade

66.

Which command is used to search for a package?

a)

apt search

b)

search

c)

find

d)

locate

67.

What command is used to display the disk usage of a directory?

a)

size

b)

du -sh

c)

du

d)

diskusage

68.

Which command is used to display the list of users on the system?

a)

listusers

b)

who

c)

users

d)

cat /etc/passwd

69.

What command is used to display the current user's home directory?

a)

echo $HOME

b)

home

c)

current

d)

showhome

70.

Which command is used to display the system's architecture?

a)

sysinfo

b)

architecture

c)

arch

d)

uname -m

71.

What command is used to display the list of all running processes?

a)

jobs

b)

running

c)

processes

d)

ps aux

72.

Which command is used to terminate a process by its PID?

a)

stop

b)

kill

c)

end

d)

terminate

73.

What command is used to display the system's load average?

a)

uptime

b)

load

c)

status

d)

average

74.

Which command is used to display the list of all available commands?

a)

available

b)

compgen -c

c)

list

d)

commands

75.

What command is used to display the current user's shell?

a)

shell

b)

current

c)

show

d)

echo $SHELL

76.

Which command is used to display the system's network interfaces?

a)

ip link

b)

ifconfig

c)

network

d)

interfaces

77.

What command is used to display the routing table?

a)

routing

b)

ip route

c)

table

d)

route

78.

Which command is used to display the current user's environment variables?

a)

variables

b)

current

c)

showenv

d)

env

79.

What command is used to display the system's hostname?

a)

system

b)

name

c)

host

d)

hostname

80.

Which command is used to display the current user's groups?

a)

groups

b)

usergroups

c)

listgroups

d)

mygroups

81.

What command is used to display the current user's login name?

a)

current

b)

whoami

c)

username

d)

login

82.

Which command is used to display the current user's home directory?

a)

home

b)

echo $HOME

c)

current

d)

showhome

83.

What command is used to display the current user's shell?

a)

echo $SHELL

b)

shell

c)

show

d)

current

84.

Which command is used to display the current user's groups?

a)

mygroups

b)

usergroups

c)

listgroups

d)

groups

85.

What command is used to display the current user's login name?

a)

current

b)

whoami

c)

username

d)

login