1.

For deleting the line form current cursor to the end of the line, we can use:(a) $(b) d$(c) dd(d) $dThis question was posed to me in a national level competition.This question is from Operator-Command Combinations topic in portion Advanced Vi of Unix

Answer»

Right option is (a) $

Best EXPLANATION: DD COMMAND is a COMBINATION of the d operator with itself. vi can PERFORM complex deletion when this operator is combined with a command of the command mode. For example,



Discussion

No Comment Found

Related InterviewSolutions