Score:0

Touch- creating files in the wrong directory

in flag

I would like to make 10 files in the folder: "folder". I wrote touch /home/piotr/Desktop/folder file{1..10}.txt and I become 10 files in Desktop folder. What I am doing wrong?

enter image description here

guiverc avatar
cn flag
fyi: you've tagged Ubuntu-Touch which is the version of Ubuntu (originally by Canonical, now UBports) for Phone & tablets; it's not for computers and not related to the `touch` command - see https://ubports.com/ for details on the Ubuntu Touch OS.
Score:4
vn flag

You're missing a slash - it should be:

touch /home/piotr/Desktop/folder/file{1..10}.txt 
Peter avatar
in flag
Oh no. It couldn't have been that simple ;) Thank you!
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.