Linux+ Sample Question

Jarrel

Well-known member
  • Feb 17, 2020
    350
    1
    522
    Australia
    www.jarrelrivera.com
    Q. You need to modify the PATH element in the /etc/profile file. Which of the following options is the BEST choice to do so?

    A. vi /etc/profile [opens text editor]

    B. cat /etc/profile [shows content]

    C. grep ‘PATH’ /etc/profile [filters content]

    D. head -n 25 /etc/profile [shows first 25 lines]


    No Googling!!!!!!!!!!!!!