Advanced · Organize files
sync: Flush the file system cache
Syntax
syncExamples
syncUsage and sandbox support
For review only: practice in a real Linux environment, this sandbox does not execute this command.
This command is for reference and review, and the simulation terminal does not provide corresponding exercises yet.
Related commands
mkdirCreate directorytouchCreate empty filecpCopy a file or directorymvMove or renamermDelete a file or directoryrmdirDelete empty directoriesfileDetermine file typestatView file propertiesbasenameGet the name at the end of the pathdirnameGet the parent directory pathrsyncSynchronize directories and filesgitManage code versionsmktempCreate a temporary file or directorytruncateAdjust file lengthinstallCopy and set installation permissionsrenameBatch rename based on expressionddCopy data in chunkssha256sumGenerate or inspect SHA-256 digestmd5sumGenerate or inspect MD5 digestcksumCalculate CRC check valuebase64Encode or decode Base64