Found the truncate command which is much easier than DD and also creates a sparse file or resizes a sparse file larger or smaller.