Learn something new every day
Monday, February 17, 2020
create multiple files with single command in linux
touch {events.txt,app.txt,hello.txt}
will create multiple files
or a regex can be used as shown bellow.
touch hello{1..10}.txt
Create Multiple Subdirectories with One Linux Command
mkdir -p src/{dir1,dir2,dir3,images/{im1,im2,im3}}
above command creates all with structure
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)