010-160 Study Guide 2026

Everything you need to pass the 010-160 exam in one place: the exam format, every topic to study, real practice questions with explanations, flashcards, and full-length practice tests. Free, no sign-up needed.

📋 010-160 Exam Format at a Glance

40
Questions
60 min
Time Limit
60%
Passing Score

📚 010-160 Topics to Study (18)

✍️ Sample 010-160 Questions & Answers

1. What is the primary purpose of the `#!/bin/bash` line at the beginning of a shell script?
It specifies the absolute path to the interpreter that should execute the script.

This line, known as a 'shebang', is an interpreter directive. It tells the operating system's program loader which program (in this case, `/bin/bash`) should be used to run the commands contained in the script.

2. Which of the following commands is used to decompress a file that has a `.bz2` extension?
bunzip2

Files with a `.bz2` extension are compressed with the bzip2 algorithm. The corresponding command to decompress them is `bunzip2`. `gunzip` is for `.gz` files, `unzip` is for `.zip` files, and `unxz` is for `.xz` files.

3. A user needs to create a single archive file from two separate files, `report.txt` and `data.csv`, and then compress it using `gzip`. Which single command can achieve this?
tar -czf archive.tar.gz report.txt data.csv

The `tar` command is designed to bundle multiple files or directories into a single archive file. The `-c` option creates an archive, the `-z` option filters it through `gzip` for compression, and the `-f` option specifies the output filename. This single command correctly creates the archive and compresses it simultaneously. The `gzip` command itself can only operate on single files, not combine them.

4. Which command is used to display the current system's IP address in Linux?
ifconfig

The `ifconfig` command is a traditional and widely used utility in Linux for network interface configuration. It displays detailed information about the system's network interfaces, including their IP addresses, netmask, and MAC addresses. While `ip addr` is a more modern alternative, `ifconfig` remains a common command for quickly checking IP addresses.

5. Which file specifies the DNS nameserver(s) that a Linux system should use for hostname resolution?
/etc/resolv.conf

The `/etc/resolv.conf` file contains the IP addresses of DNS nameservers (prefixed with `nameserver`) that the system consults for DNS lookups.

6. A system administrator needs to find all files in the `/var/log` directory that have been modified in the last 7 days. Which of the following commands will accomplish this task?
find /var/log -mtime -7

The `find` command is used to search for files and directories. The `/var/log` argument specifies the starting directory for the search. The `-mtime` option filters files based on their last modification time in days, and `-7` specifically looks for files modified within the last 7 days.

🎯 Free 010-160 Practice Tests

📖 010-160 Guides & Articles

Your 010-160 Study Path
1. Learn with Flashcards → 2. Drill Practice Tests → 3. Take the Full Exam Simulation