Module 1 - 04-3 Flashcards
The user interface
Define User interface
A program that allows a user to control the functions of the operating system
What two types of interfaces?
- Graphical User Interface (GUI)
- Command-Line Interface (CLI)
What does GUI stand for?
Graphical User Interface (GUI)
Define GUI
A user interface that uses icons on the screen to manage different tasks on the computer
Explain GUI
Most operating systems can be used with a graphical user interface.
If you’ve used a personal computer or a cell phone, you have experienced operating a GUI.
Most GUIs include these components: a start menu with program groups, a task bar for launching programs, and a desktop with icons and shortcuts.
All these components help you communicate with the OS to execute tasks.
In addition to clicking on icons, when you use a GUI, you can also search for files or applications from the start menu.
With a graphical user interface, you must do one task at a time.
What does CLI stand for
Command-Line Interface (CLI)
Define CLI
A text-based user interface that uses commands to interact with the computer.
Explain CLI
It uses commands to communicate with the operating system and execute tasks like opening programs.
There are no icons or graphics on the screen.
The command-line interface looks similar to lines of code using certain text languages.
A CLI is more flexible and more powerful than a GUI as it gives you a lot of control and customization.
The command-line interface allows for customization, which lets you complete multiple tasks simultaneously.
Which of these statements accurately describes a CLI?
- A CLI uses icons on the screen to make task management more efficient.
- A CLI is familiar to most users because it is commonly used in cell phones and personal computers.
- A CLI allows users to enter commands that can perform multiple tasks simultaneously.
- A CLI includes a start menu for users to search for applications.
A CLI allows users to enter commands that can perform multiple tasks simultaneously.
What are the Advantages of a CLI in cybersecurity ?
- Efficiency
A CLI can accept multiple requests at one time, it’s more powerful when you need to perform multiple tasks efficiently.
If you were using a GUI you have to repeat the same steps.
- History file
Using the Linux CLI is helpful because it records a history file of all the commands and actions in the CLI.
If you were using a GUI, your actions are not necessarily saved in a history file.
If you used a CLI, you’d be able to go back to the history and ensure all of the commands were correctly used.
Additionally, if you suspect an attacker has compromised your system, you might be able to trace their actions using the history file.
You are a security professional training all employees at your company on creating a strong password. You explain different strategies that they can use for making passwords secure. You also demonstrate how to change passwords. Your teammates have a wide range of technical expertise.
In this scenario, should you use a GUI or CLI to demonstrate how to change passwords?
A GUI would be more effective in this scenario. This is because GUIs are easier for beginners to navigate. These individuals will likely already have experience using GUIs on their phones and computers but may not be familiar with CLIs.
You are reviewing log files for a department at your company. Log file names are supposed to include the name of the department. After reviewing multiple log files, you realize that the file names do not include the name of the department. You decide to rename all the log files for this department. There are hundreds of log files.
In this scenario, should you use a GUI or CLI to rename the log files?
A CLI would generally be more effective in this scenario. This is because CLIs allow you to perform multiple tasks simultaneously. In this case, you could rename all the files at once. If you used a GUI for this task, you would need to rename the files individually unless you had access to a special program for batch file renaming.
You are installing multiple applications. You want to keep a history of commands while you install the applications. This will allow you to check later to ensure that you installed all of the necessary applications and that you installed them correctly.
In this scenario, should you use a GUI or CLI to install the applications?
A CLI would be more effective in this scenario. This is because a CLI records a history of all commands used in the CLI. GUIs do not necessarily include a history file of all actions performed in the GUI.
What is a GUI?
- A user interface that enables people to manage tasks on a computer using icons
- A user interface that allows people to interact with a computer through commands
- A user interface that only runs on mobile devices
- A user interface that runs only on Linux operating systems
A user interface that enables people to manage tasks on a computer using icons
A GUI, or graphical user interface, is a user interface that enables people to manage tasks on a computer using icons. Most operating systems can be used with a GUI.
Which of the following can be components of a GUI? Select all that apply.
- Task bar
- Desktop icons and shortcuts
- Hardware
- Start menu
- Task bar
- Hardware
- Start menu
A task bar is a common component of a GUI.
Desktop icons and shortcuts are common components of a GUI.
A start menu is a common component of a GUI.