Score:0

How to write sample data in USB flash drive as text file Ubuntu 20.04

gb flag

I am having Ubuntu 20.04 in my computer. I need to know how can I write a sample data in USB flash drive as text file Ubuntu 20.04 ? The USB flash drive is connected to Ubuntu 20.04 machine.

The sample data generation is continuous in a C program like 10 kilo bytes per second.

francois P avatar
it flag
basically something like `datagenerator > /mount/point/ofyourUSBdevice/filename` but what are your really detailed needs (please edit your question).
in flag
Does the sample data need to be read later to check for corruption? Do you want to test with kilobytes or gigabytes of data? Is this something you want to automate or do manually? Is this something you’ll do once or a thousand times? Depending on what your ultimate goals are, the answer could be very, very different.
user535733 avatar
cn flag
You must *mount* your flash drive so it shows up in the filesystem. Mounting is often automatic; you have provided insufficient information to determine if your drive is mounted or not. Edit your question to include the complete output of the 'df' command.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.