K
K
Kairat Ubukulov2018-05-05 08:06:24
linux
Kairat Ubukulov, 2018-05-05 08:06:24

Why copying with sudo cp is dangerous?

Hello!
What is the danger of copying *.iso file to a flash drive with the command line (sudo cp windows_7_x64).iso /dev/sdb?
Recently I tried this on a flash drive before copying there were all files and folders, everything disappeared after the command.
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
blackbeard, 2018-05-05
@ubukulov

It is not customary to copy to /dev/sdb. Copy to /mnt/*.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question