Answers for "How to create a file with a given size full of random characters in Linux?"

0

How to create a file with a given size full of random characters in Linux?

dd if=/dev/urandom bs=786438 count=1 | base64 > /tmp/file
Posted by: Guest on August-18-2021
0

How to create a file with a given size full of random characters in Linux?

cat /tmp/file | tr 'A-Za-z0-9+/=' 'a-z0-9A-Z$%'
Posted by: Guest on August-18-2021

Code answers related to "How to create a file with a given size full of random characters in Linux?"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language