[plug] Mistakes on your "Sample exam"
Mike Holland
myk at golden.wattle.id.au
Mon Aug 9 10:49:51 WST 1999
Garth,
its worse than that.
- First, '*' does not match all files - it misses all the .* files, and
catches all sub-directories, giving errros.
- The shell wasnt specified. (or other environ!)
- 'cat' is a bad choice as it looses boundaries. I'd choose 'tar', given
such a vague question.
I'd have serious questions about the guy who wrote these questions.
Its about as vague and wooly as your average requirements specification.
On Sun, 8 Aug 1999, Garth Atkinson wrote:
> 3.1b Which one of the following is the correct command to store
> all of the contents of all files in the present working directory (or
> pwd) into a single new file called 'all_in_one'?
>
> A. cat * > all_in_one
> B. cp * all_in_one
> C. cat * >> all_in_one
> D. All of the above
> E. Both A and C
>
> They mark E as being the correct answer. Only A will do that all of the
Mike Holland <mike at golden.wattle.id.au> Perth, Australia.
--==--
Many are cold, but few are frozen.
More information about the plug
mailing list