sync

Flushes all pending write operations to the appropriate disks.

Install

All systems
curl cmd.cat/sync.sh
Debian Debian
apt-get install coreutils
Ubuntu
apt-get install coreutils
Alpine
apk add coreutils
Arch Arch Linux
pacman -S coreutils
image/svg+xml Kali Linux
apt-get install coreutils
CentOS
yum install coreutils
Fedora
dnf install coreutils
OS X
brew install coreutils
Raspbian
apt-get install coreutils
Docker
docker run cmd.cat/sync sync powered by Commando

Flushes all pending write operations to the appropriate disks.

  • Flush all pending write operations on all disks:
    sync
  • Flush all pending write operations on a single file to disk:
    sync path/to/file

© tl;dr; authors and contributors