SYNC(1)

๐Ÿ’… SYNC โ€” the sync(1) page, but make it make sense

okay bestie, welcome to sync(1) from the User Commands corner of the manual. this is the page you pull up when you're like "wait. why is my file not on disk yet ๐Ÿ˜ญ" and honestly? iconic question. let's get into it ๐Ÿซถ


โœจ NAME โœจ

sync โ€” synchronize cached writes to persistent storage

like. it takes all those cute little writes chillin' in cache and it's like "okay babe, we're committing now, actually going to disk, no takebacks" ๐Ÿ’–


๐ŸŒธ SYNOPSIS ๐ŸŒธ

sync [OPTION] [FILE]...

๐Ÿ‘‘ DESCRIPTION ๐Ÿ‘‘

Synchronize cached writes to persistent storage.

if you hand it one or more files, it only syncs those files โ€” or the file systems that contain them. so it's not out here doing the whole system's homework, it's just doing yours ๐ŸŽ€

  • -d, --data โ€” sync only the file data, skip the unneeded metadata. like, we're not doing extra credit here, just the data, thank you ๐Ÿ’…
  • -f, --file-system โ€” sync the file systems that contain the files. the whole vibe of the containing filesystem gets flushed โœจ
  • --help โ€” display this help and exit. the classic "just tell me what you do" button ๐Ÿ™ˆ
  • --version โ€” output version information and exit. for when you need to know which one of these you're talking to ๐ŸŒˆ

๐Ÿ’€ BUGS ๐Ÿ’€

persistence guarantees vary per system. not me breaking the news but likeโ€ฆ it's not a universal promise, okay? see the system calls below for more details ๐Ÿ”ฅ (they're in SEE ALSO, keep scrolling bestie)


๐Ÿฆ‹ AUTHOR ๐Ÿฆ‹

Written by Jim Meyering and Giuseppe Scrivano. kings. absolute icons ๐Ÿ‘‘


๐Ÿ˜ญ REPORTING BUGS ๐Ÿ˜ญ

found something cursed? tell the people:

don't be shy, they actually want to know ๐Ÿซถ

Copyright ยฉ 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.

like yes bestie you can remix it, but there's no warranty, periodt ๐Ÿ’…


๐ŸŒŸ SEE ALSO ๐ŸŒŸ

Full documentation <https://www.gnu.org/software/coreutils/sync> or available locally via: info '(coreutils) sync invocation'


okay that's the whole page, you ate that ๐Ÿ’– this one's from GNU coreutils 9.12, dated September 2026 โ€” so when you see SYNC(1) chilling at the bottom of your terminal, that's the whole era of it right there โœจ mwah, go flush something ๐Ÿงš

๐Ÿ“ฆ where this page comes from