sync
command
“When in doubt, run the sync
command 3 times”- SE350 teacher
Purpose: The sync command is used in Unix and Linux systems.
Function: It synchronizes the file system’s in-memory state with the storage device.
Usage: Ensures that all pending file system writes are completed and written to the disk.