sync
Flushes all pending write operations to the appropriate disks. More information: <https://www.gnu.org/software/coreutils/sync>.
Install
- All systems
-
curl cmd.cat/sync.sh
- Debian
-
apt-get install coreutils
- Ubuntu
-
apt-get install coreutils
- Alpine
-
apk add coreutils
- Arch Linux
-
pacman -S coreutils
- Kali Linux
-
apt-get install coreutils
- CentOS
-
yum install coreutils
- Fedora
-
dnf install coreutils
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install coreutils
- OS X
-
brew install coreutils
- Raspbian
-
apt-get install coreutils
- Dockerfile
- dockerfile.run/sync
- Docker
-
docker run cmd.cat/sync sync
powered by Commando
Flushes all pending write operations to the appropriate disks. More information: <https://www.gnu.org/software/coreutils/sync>.
-
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