Question Detail

In vi editor which command sets the number for all lines ?

  • :set nu
  • :set ni
  • :set sn
  • :set sl
Similar Questions :

1. Which option of "grep" displays the line number as well ?

  • -n
  • -l
  • -d
  • -al

2. Which command is used to record a user login session in a file ?

  • script
  • session
  • record
  • copy

3. Which command is used to know the LINUX version ?

  • uname
  • lname
  • vname
  • sname

4. What control character signals the end of the input file ?

  • ctrl + s
  • ctrl + z
  • ctrl + w
  • ctrl + d

5. Default permissions of a file can be changed with ?

  • group
  • chperm
  • chmod
  • chall
Read more from - Linux Objective Questions Answers