Skip to content

Vivek's Blog

  • About Me

Tag: dump

Linux

How To Create A File With Specified Size In Linux

Vivek October 25, 2012October 25, 2012

Q: Coinstar point How can I create a file with custom size in linux ? A: You can create a file using the dd command in linux dd if=/dev/zero of=/root/keyfile bs=1M count=1024 This will create a file at /root/keyfile with 1024MB size. dd if=/dev/urandom of=/root/keyfile bs=1024 count=4 This will create a file with random content…Continue reading How To Create A File With Specified Size In Linux

Recent Posts

  • Backblaze B2 + RClone for power users – automatically backup data to cloud – encrypted
  • How I reduced the docker image size by up to 70%?
  • Azure AKS – Kubernetes Dashboard with RBAC Enabled
  • Setup scalable graylog on Azure Kubernetes (AKS) with Private IP and Nginx Ingress Controller
  • Setup graylog locally on Windows/Linux/Mac

Categories

  • Applications
  • AWS
  • Azure
  • cPanel/WHM
  • CSS
  • Docker
  • ExtJS
  • JQuery
  • Kubernetes
  • Linux
  • Misc
  • Music
  • Nginx
  • PHP
  • Ubuntu
  • Uncategorized
Proudly powered by WordPress | Theme: Amadeus by Themeisle.