Linux Commands Question:
Download Questions PDF

Explain Difference between swap partition and swap file?


Swap partition maintained seperate partition.
same swap partition can be used in two OS within single
If system crashes their is a chance to recover itor may not
be corrupt the partition.
Less fragmented.

where as swap file takes very less space. we can increase
the space very easily, compared to swap partition.
SWap file system fragmented.
If system crashes their is a huge chance to lost the swap
file system.

Download Linux Commands Interview Questions And Answers PDF

Previous QuestionNext Question
How to monitor ports in a linux machine, with single command?How to recover /etc/passwd file and /etc/shadow file?