1. Computing & Technology
Linux / Unix Command: sync
Command Library

NAME

sync - commit buffer cache to disk.  

SYNOPSIS

#include <unistd.h>

void sync(void);  

DESCRIPTION

sync first commits inodes to buffers, and then buffers to disk.  

CONFORMING TO

SVr4, SVID, X/OPEN, BSD 4.3  

SEE ALSO

bdflush(2), fsync(2), fdatasync(2), update(8), sync(8)


Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Discuss in my forum

©2012 About.com. All rights reserved.

A part of The New York Times Company.