Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Debian GNU/Linux Reference Guide
Prev Home Next

8.6.34 File fantoccio

I comandi seguenti creano dei file fantoccio o vuoti:

     $ dd if=/dev/zero    of=nomefile bs=1k count=5 # 5KB di zeri 
     $ dd if=/dev/urandom of=nomefile bs=1M count=7 # 7MB di contenuto casuale 
     $ touch nomefile # crea un file di 0B (se il file esiste, aggiorna mtime)

Per esempio, i seguenti comandi eseguiti dalla shell del boot floppy Debian cancelleranno tutto il contenuto del disco rigido /dev/hda.

     # dd if=/dev/urandom of=/dev/hda ; dd if=/dev/zero of=/dev/hda

Debian GNU/Linux Reference Guide
Prev Home Next

 
 
  Published under the terms of the GNU General Public License Design by Interspire