[ILUGC] 1D1C - sync

  • From: Dhanasekar <tkdhanasekar@xxxxxxxxx>
  • To: ilugc@xxxxxxxxxxxxx, kanchilug@xxxxxxxxxxxxx, ilugd@xxxxxxxxxxxxxxxxxxxx
  • Date: Thu, 16 Mar 2023 06:00:00 +0530

sync - is used to synchronize the data of the temporary memory to the
permanent storage memory
syntax
$ sync [option] [file]

To sync all the cached files to the permanent memory which belongs to the
current user
$ sudo sync

To sync only file data, no unneeded metadata
$ sudo sync -d /home/ilugc/file1.txt

To sync all the files in dir
$ sudo sync -f /home/ilugc/Downloads

To sync the cache data of the mounted partition
$ sudo sync /dev/vda1
$ sudo sync /var/log/syslog



regards,
T.Dhanasekar


---
Mailing List Guidelines: https://ilugc.in/mailing-list-guidelines
Web: http://ilugc.in/
Internet Relay Chat: #ilugc on libera.chat

Other related posts: