ExamGecko
Question list
Search
Search

List of questions

Search

Question 81 - 201-450 discussion

Report
Export

Due to extreme system use, a Linux system requires some additional swap space. To initialize 5GB of additional swap space, which combination of commands should be used?

A.
dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap /tmp/swapfile; mount/tmp/swapfile
Answers
A.
dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap /tmp/swapfile; mount/tmp/swapfile
B.
dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; swapon /tmp/swapfile
Answers
B.
dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; swapon /tmp/swapfile
C.
dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap /tmp/swapfile; swapon/tmp/swapfile
Answers
C.
dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap /tmp/swapfile; swapon/tmp/swapfile
D.
touch -5G /tmp/swapfile; swapon /tmp/swapfile
Answers
D.
touch -5G /tmp/swapfile; swapon /tmp/swapfile
E.
mkswap /tmp/swapfile 512000; swapon /tmp/swapfile
Answers
E.
mkswap /tmp/swapfile 512000; swapon /tmp/swapfile
Suggested answer: C
asked 18/09/2024
Nisanka Mandara
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first