The Gateway to Computer Science Excellence
+2 votes
495 views

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." Which of the following Unix command will perform above set of operations ?

  1. ls - $1$ | grep "June" | sort + $10$n
  2. ls - $1$ | grep "June" | sort + $10$r
  3. ls - $1$ | grep - $v$ "June" | sort + $10$n
  4. ls - $1$ | grep - $n$ "June" | sort + $10$x
in Others by
retagged by | 495 views

1 Answer

0 votes
Option A is correct
by

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
52,345 questions
60,519 answers
201,941 comments
95,368 users