Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Question
In linux, create files kevintest1.txt to kevintest10.txt in quickhand way (i.e. without having to specify all filesnames in full, one by one).
Answer

touch kevintest{1..10}.txt

^^ note the use of {}, called brace expansion


Question
In linux, create files kevintest1.txt to kevintest10.txt in quickhand way (i.e. without having to specify all filesnames in full, one by one).
Answer
?

Question
In linux, create files kevintest1.txt to kevintest10.txt in quickhand way (i.e. without having to specify all filesnames in full, one by one).
Answer

touch kevintest{1..10}.txt

^^ note the use of {}, called brace expansion

If you want to change selection, open document below and click on "Move attachment"

20. Advanced Shell Scripting
ecuting it. bash performs several textual modifications to the command-line, proceeding in the following order: Brace expansion We have already shown how you can use, for example, the shorthand <span>touch file_{one,two,three}.txt to create multiple files file_one.txt , file_two.txt , and file_three.txt . This is known as brace expansion and occurs before any other kind of modification to the command-line. Tilde

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.