Quand on a besoin de fichiers factices, on peut en créer avec la commande touch, mais cela créé un fichier vide :
touch toto.pdf du -sh * 0 toto.pdf
Pour cela, on va plutôt utiliser la commande fallocate comme suit :
fallocate -l 5M toto.pdf
Quand on a besoin de fichiers factices, on peut en créer avec la commande touch, mais cela créé un fichier vide :
touch toto.pdf du -sh * 0 toto.pdf
Pour cela, on va plutôt utiliser la commande fallocate comme suit :
fallocate -l 5M toto.pdf
Laisser un commentaire