1. C
Print the full path of the current directory shows where the user is located in the filesystem.
2. A
Modify the permissions of a file or directory controls read, write, and execute access.
3. B
Scan the contents of files for a particular text searches for specific patterns.
4. C
Show all running processes dynamically with resource usage provides a live overview of system processes.
5. B
Execute commands with administrative privileges allows tasks requiring elevated permissions.
6. A
The password and account details file located at etc passwd stores all user account information.
7. B
Show the file contents page by page prevents overwhelming the terminal with too much data.
8. A
Show the available and used disk space on all mounted filesystems provides disk usage details.
9. D
All of the above commands can compress files, each using different methods.
10. C
List all files including those that are hidden ensures hidden files starting with a dot are visible.
11. B
Display the end portion of a file with recent entries shows the last ten lines by default.
12. A
Schedule recurring tasks to run automatically uses crontab for automated jobs.
13. A
Modify the owner and group of a file changes ownership for management and access control.
14. A
It terminates a running process using its process identifier stops unwanted processes.
15. B
Show the beginning portion of a file containing the first twenty lines displays the file header.
16. A
Display the version of the operating system kernel provides the kernel release information.
17. A
Attach a filesystem to a specific location in the directory tree allows access to storage devices.
18. A
Show detailed network interface information displays IP addresses and configuration.
19. A
Create a shortcut reference to another file or directory enables easy access without duplicating files.
20. B
Show total and available memory along with swap usage provides complete memory statistics.
21. A
Search the filesystem for a file matching the specified name finds the file starting from root.
22. A
Archive and extract multiple files into a single file allows efficient storage and transfer.
23. A
The group configuration file located at etc group stores all group information.
24. A
Set the owner to have read, write, and execute permissions and others to have only read access enforces access control.
25. A
Show the most recent login time for each user account helps track user activity.
26. B
Show a real-time dynamic list of processes and system resource consumption monitors system performance.
27. D
All of the above commands display environmental variables in different formats.
28. C
Recursively remove the directory and all its contents ensures the directory and files are deleted.
29. A
Report the amount of space used by files and subdirectories provides usage statistics.
30. A
Show the beginning portion of the file limited to fifty bytes allows byte-level inspection.
31. A
Verify network connectivity to another host by sending test packets tests network reachability.
32. A
Change the current user session to a different account allows temporary switching between users.
33. B
Continuously display new log entries as they are added monitors system events in real-time.
34. A
Show previously executed commands in the terminal session provides a command history.
35. A
Show a detailed list of active network connections and listening ports displays all connections.
36. C
List comprehensive hardware information for the system provides detailed resource and device information.
Prepare for the Linux exam with our free practice test modules. Each quiz covers key topics to help you pass on your first try.