The original post: /r/ubuntu by /u/Wise_Environment_185 on 2025-02-15 12:21:35.

How can I wipe a flash drive from Linux?

can i do this with the fdisk-command!?

In a terminal, run

if i run the following

sudo dd if=/dev/zero of=/dev/sdb bs=512 count=1

update: some background things - what i am working on

good evening i want to make sure that i have a clean stick - before i start saving my data on it with the command like the following

sudo rsync -av --progress /home/ubuntu/Videos /media/ubuntu/C449-8571/

well that said i think that these steps were successful - and i got reports in the command line - like t he follwoing

              0 100%    0,00kB/s    0:00:00 (xfr#51200, to-chk=8/59613)
Dokumente/new_literatur/theologie/petra_jeckel_schöpfungspoetik_/mirjamjekel_0403.jpg
              0 100%    0,00kB/s    0:00:00 (xfr#51201, to-chk=7/59613)
Dokumente/new_literatur/theologie/petra_jeckel_schöpfungspoetik_/mirjamjekel_0404.jpg
              0 100%    0,00kB/s    0:00:00 (xfr#51202, to-chk=6/59613)
Dokumente/new_literatur/theologie/petra_jeckel_schöpfungspoetik_/mirjamjekel_0405.jpg
              0 100%    0,00kB/s    0:00:00 (xfr#51203, to-chk=5/59613)
Dokumente/new_literatur/theologie/petra_jeckel_schöpfungspoetik_/mirjamjekel_0406.jpg
              0 100%    0,00kB/s    0:00:00 (xfr#51204, to-chk=4/59613)
Dokumente/new_literatur/theologie/petra_jeckel_schöpfungspoetik_/mirjamjekel_0407.jpg
              0 100%    0,00kB/s    0:00:00 (xfr#51205, to-chk=3/59613)
Dokumente/new_literatur/theologie/petra_jeckel_schöpfungspoetik_/mirjamjekel_0408.jpg
              0 100%    0,00kB/s    0:00:00 (xfr#51206, to-chk=2/59613)
Dokumente/new_literatur/theologie/petra_jeckel_schöpfungspoetik_/mirjamjekel_0409.jpg
              0 100%    0,00kB/s    0:00:00 (xfr#51207, to-chk=1/59613)
Dokumente/new_literatur/theologie/petra_jeckel_schöpfungspoetik_/mirjamjekel_0410.jpg
              0 100%    0,00kB/s    0:00:00 (xfr#51208, to-chk=0/59613)

sent 4.694.015.209 bytes  received 1.024.752 bytes  46.256.551,34 bytes/sec
total size is 4.688.989.106  speedup is 1,00

but well - if i check with

lsblk or fdisk -l

i see that the data were not saved!?`

so i now wanted to go step by step and start from groiund - and i thought that it schould be clever to get a fresh and clean usb-stick would be a cleever idea

i love to hear from you again

greetings

good evening i want to make sure that i have a clean stick - before i start saving my data on it with the command like the following

sudo rsync -av --progress /home/ubuntu/Videos /media/ubuntu/C449-8571/

well that said i think that these steps were successful - and i got reports in the command line - like t he follwoing<

0 100% 0,00kB/s 0:00:00 (xfr#51200, to-chk=8/59613)

Dokumente/new_literatur/theologie/petra_jeckel_schöpfungspoetik_/mirjamjekel_0403.jpg

0 100% 0,00kB/s 0:00:00 (xfr#51201, to-chk=7/59613)

Dokumente/new_literatur/theologie/petra_jeckel_schöpfungspoetik_/mirjamjekel_0404.jpg

0 100% 0,00kB/s 0:00:00 (xfr#51202, to-chk=6/59613)

Dokumente/new_literatur/theologie/petra_jeckel_schöpfungspoetik_/mirjamjekel_0405.jpg

0 100% 0,00kB/s 0:00:00 (xfr#51203, to-chk=5/59613)

Dokumente/new_literatur/theologie/petra_jeckel_schöpfungspoetik_/mirjamjekel_0406.jpg

0 100% 0,00kB/s 0:00:00 (xfr#51204, to-chk=4/59613)

Dokumente/new_literatur/theologie/petra_jeckel_schöpfungspoetik_/mirjamjekel_0407.jpg

0 100% 0,00kB/s 0:00:00 (xfr#51205, to-chk=3/59613)

Dokumente/new_literatur/theologie/petra_jeckel_schöpfungspoetik_/mirjamjekel_0408.jpg

0 100% 0,00kB/s 0:00:00 (xfr#51206, to-chk=2/59613)

Dokumente/new_literatur/theologie/petra_jeckel_schöpfungspoetik_/mirjamjekel_0409.jpg

0 100% 0,00kB/s 0:00:00 (xfr#51207, to-chk=1/59613)

Dokumente/new_literatur/theologie/petra_jeckel_schöpfungspoetik_/mirjamjekel_0410.jpg

0 100% 0,00kB/s 0:00:00 (xfr#51208, to-chk=0/59613)

sent 4.694.015.209 bytes received 1.024.752 bytes 46.256.551,34 bytes/sec

total size is 4.688.989.106 speedup is 1,00but well - if i check with lsblk or fdisk -l

i see that the data were not saved!?`so i now wanted to go step by step and start from groiund - and i thought that it schould be clever to get a fresh and clean usb-stick would be a cleever idea

i love to hear from you again greetings