Loading practice questions
Consider the following operations to be performed in Unix:
“The pipe sorts all files in the current directory modified in the month of June by order of size and prints them to the terminal screen. The sort option skips ten fields then sorts the lines in numeric order.”
Correct Answer: D — ls -l | grep "June" | sort +10n
Explanation:
The pipeline ls -l | grep "June" | sort +10n lists files, filters for "June", and skips 10 fields to sort numerically by size.