Commonly used · Organize files
touch:Create an empty file
Syntax
touch file…Examples
touch projects/todo.txtUsage and sandbox support
The sandbox supports creating files; real touch can also modify timestamps.
Hands-on exercises
- Leave a project descriptionEveryday
- Create a handover documentEveryday
Related commands
mkdirCreate directorycpCopy 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 chunkssyncFlush file system cachesha256sumGenerate or inspect SHA-256 digestmd5sumGenerate or inspect MD5 digestcksumCalculate CRC check valuebase64Encode or decode Base64