CertNova
Menu
← Back to PBQ types

Terminal PBQs: CompTIA Linux+ (XK0-006)

easy

Question 1 of 21

A colleague uploaded a file called deploy.sh to the /opt/scripts directory on the certnova server, but they are unsure whether it is actually a bash script or just a plain text file that was renamed. Your task is to navigate to the correct directory, confirm the file is present, and determine its true file type.

Objectives

  • Access the scripts directory where the file was uploaded
  • Confirm the file is present in the directory
  • Verify the true file type of the script
bash
sysadmin@certnova:/$ 

Type commands and press Enter to execute. Use ↑↓ to navigate history. Ctrl+C to cancel, Ctrl+L to clear.

Progress

0 of 3 steps detected

Run at least one command to mark this question complete

0 of 21 marked complete