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 system is running out of swap space. To initialise 5GB of additional swap space, which
combination of commands should be used?

A.
mkswap /tmp/swapfile 512000; swapon /tmp/swapfile

B.
touch -5G /tmp/swapfile; swapon /tmp/swapfile

C.
dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; swap on /tmp/swapfile

D.
dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap /tmp/swapfile;
swapon /tmp/swapfile

E.
dd if=/dev/zero of=/tmp/swapfile bs=1024 count=5120000; mkswap /tmp/swapfile; mount
/tmp/swapfile



Leave a Reply 0

Your email address will not be published. Required fields are marked *