Linux sync Command
What is Linux sync Command?
In this tutorial we learn how to use sync
command in Linux. sync
command is sync - Synchronize cached writes to persistent storage.
sync Syntax
sync [OPTION] [FILE]...
sync Examples
sync Command Manual / Help
We can use man
and info
command to see the manual page of sync
command. sync
command also have --help
option to show list of options.
To open man page for sync
command we can use command below. To exit man or info page you can press q
.
man sync
To open info page for sync
command we can use command below.
info sync
To open help page from sync
command we can run command below.
sync --help
Linux sync Command Source Code
You can find sync
command source code from the folowing repositories:
- sync source code on GitHub
- sync source code on GNU Savannah cgit
- sync source code on GNU Savannah gitweb
Related Linux Commands
You can read tutorials of related Linux commands below:
Summary
In this tutorial we learn how to use sync
in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.