Click here to Skip to main content
15,907,687 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I attended an interview and got the following question:

which design patterns is used from unix shell for created an command like:

What I have tried:

ls -l * | cut -f1,2 | sort

which is the correct answer?
Updated 23-Jan-17 23:59pm

1 solution

We do not do your homework - and interview questions are homework, of a kind.
If we give you the answer (if there was an answer, what you ask involves no patterns as it has no real question in it) then that would give you an advantage over those who know their subject and deserve the job. That wouldn't be fair on them, or the potential employer.

Study the subject, and apply for jobs that you are qualified and equipped to do!
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900