fallocate -l 10G testfile.txt
OR
fallocate -l 10G testfile.log
Related Posts
Published by Navdeep Singh
I'm working as Linux Administrator since 2017 and Redhat certified since 2016 in RHCSA, RHCE.
I have a blog where i post solution and i started YouTube channel as well to help people in their Linux,Windows related stuff. View all posts by Navdeep Singh