How to create an empty file?
Use file redirection as part of your shell builtins or by using the fallocate command.
Examples
fallocate -l 1G testfile
Create a 1 gigabyte test file
Recently updated at May 5, 2023
Do you like this page? Share it with others or help us make it better
No :(