Exam4Training

A system is running out of swap space. To initialise 5GB of additional swap space, which combination of commands should be used?

A system is running out of swap space. To initialise 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;
swapon /tmp/swapfile

B . dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000;
swap on /tmp/swapfile
C . dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000;
mkswap /tmp/swapfile;
mount /tmp/swapfile
D . touch -5G /tmp/swapfile;
swapon /tmp/swapfile
E . mkswap /tmp/swapfile 512000;
swapon /tmp/swapfile

Answer: A

Latest 201-450 Dumps Valid Version with 369 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version