Unix/Linux
Wednesday, February 27, 2013
Create a dummy file in Linux.
This is a one liner to create a dummy file in Linux/Unix for testing purpose:
dd if=/dev/zero of=dummyfile1.txt bs=1234567801 count=1
-rw-r--r-- 1 root root 1234567801 Feb 25 05:16 dummyfile1.txt
[root@RHEL5 ~]# du -sh dummyfile1.txt
1.2G dummyfile1.txt
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment