Random unix question from test

Associate
Joined
13 Jan 2007
Posts
2,424
Location
Belfast,Northern Ireland
Had a recent test at work and of course missed the pass mark by 1 question, Im good like that. Anyway when I think back there's only one question I felt pretty unsure of:

What does the command !?abc?* do?
1. Nothing, this is invalid syntax
2. Appends * to the most recent command containing the symbols !?
3. Appends * to the most recent command containing the string abc
4. Searches for all files with abc in their heading

There is of course only one correct answer. I went for number 1, anyone able to shed light if I was correct or not?
 
Back
Top Bottom