A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.geeksforgeeks.org/linux-unix/sync-command-in-linux-with-examples/ below:

sync command in Linux with Examples

sync command in Linux with Examples

Last Updated : 18 Jan, 2022

sync command in Linux is used to synchronize cached writes to persistent storage. If one or more files are specified, sync only them, or their containing file systems. 

Syntax:  

sync [OPTION] [FILE]...


Note: Nothing is being shown in the screenshots just because sync command makes the cache in the background. 

Example: It will be going to sync all cached file data that belongs to the current user. 


Options: 

sync -d /home/algoscale/Desktop/aricleslist.txt /home/algoscale/Desktop/advance.html
sync -f /home/algoscale/Desktop/aricleslist.txt
sync --help
sync --version


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4