Free 102-400 – LPI Level 1 Exam 102, Junior Level Linux Certification, Part 2 of 2 Practice Test Question

Free demo downloads

Loading demo links...

Showing 4–6 of 10 questions

Question 4 (Administrative Tasks)

Which commands can be used to change a user's account aging information? (Choose three.)

Select all that apply, then click Submit answer.

  • ○

    usermod

  • ○

    passwd

  • ○

    chattr

  • ○

    chage

  • ○

    chsh

Question 5 (Networking Fundamentals)

What is the command to delete the default gateway from the system IP routing table? (Choose two.)

Select all that apply, then click Submit answer.

  • ○

    route del default

  • ○

    ifconfig unset default

  • ○

    netstat -r default

  • ○

    ip route del default

  • ○

    sysctl ipv4.default_gw=0

Question 6 (Shells, Scripting and Data Management)

How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?

Select an option, then click Submit answer.

  • ○

    unset -v FOOBAR;./myscript

  • ○

    set -a FOOBAR="";./myscript

  • ○

    env -u FOOBAR./myscript

  • ○

    env -i FOOBAR./myscript