Can the character class be used to create files


1- Can the character class be used to create files with the touch command? For example, would the command touch foo[123].txt create the files foo1.txt, foo2.txt and foo3.txt?

2- Create a command that outputs the text: The user, jsmith, is logged in n times. jsmith here is the username of the person issuing the command and n represents the number of times jsmith is logged in. For example, if I logged in 3 times and issued your command, the output should be: The user, akennedy, is logged in 3 times.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Can the character class be used to create files
Reference No:- TGS088483

Expected delivery within 24 Hours