This file is indexed.

/usr/bin/nvidia-detector is in ubuntu-drivers-common 1:0.5.2.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#! /usr/bin/python3
import NvidiaDetector
from NvidiaDetector.nvidiadetector import NvidiaDetection, NoDatadirError
import sys

if __name__ == '__main__':
    try:
        a = NvidiaDetection(printonly=True, verbose=False)
    except NoDatadirError:
        sys.exit(0)