Chapter 5 Tools of the trade Flashcards
(149 cards)
What is a GUI in the context of operating systems?
A GUI, or graphical user interface, allows users to interact with the system through graphical elements like windows, icons, and buttons.
Why might one need to use the command line interface (CLI) instead of a GUI?
The CLI allows for more advanced and detailed control over the system, which may be necessary for certain tasks that GUIs cannot handle.
What is CMD in Windows?
CMD, or Command Prompt, is the classic command shell in Windows for executing commands and running scripts.
What is PowerShell and how is it different from CMD?
PowerShell is a more advanced shell in Windows that allows for more complex commands and scripting compared to CMD.
What is a shell in the context of operating systems?
A shell is a user interface for accessing an operating system’s services, typically through a command-line interface.
What is a bash shell?
The bash shell is a Unix shell and command language that is the default shell on many Linux distributions and macOS.
What is SSH used for?
SSH, or Secure Shell, is used to securely connect to a remote system’s shell over a network.
How does the ping command help in network diagnostics?
Ping checks the connectivity to another system by sending packets and measuring the response time, verifying that the systems are physically connected and can communicate.
What is the purpose of the ping -t command in Windows?
The ping -t command sends continuous ping requests to a specified address until stopped, unlike the default four pings.
What does the ipconfig command do in Windows?
ipconfig displays network configuration details such as IP addresses, subnet masks, and default gateways for all network adapters.
What additional information does ipconfig /all provide?
ipconfig /all provides detailed network information, including the physical (MAC) address and DHCP details.
What is the difference between ipconfig and ifconfig?
ipconfig is used in Windows, while ifconfig is used in Unix-based systems like Linux and macOS to configure and display network interface parameters.
How do you release and renew a DHCP lease using ipconfig?
Use ipconfig /release to release the current DHCP lease and ipconfig /renew to request a new lease.
What does the ipconfig /flushdns command do?
ipconfig /flushdns clears the DNS resolver cache, which can help resolve DNS-related issues.
Why is ping considered a fundamental networking tool?
Ping is simple, widely available on all systems, and provides quick verification of network connectivity and basic troubleshooting.
What can cause ping to fail even if the target system is operational?
A firewall on the target system might block ping requests, preventing responses.
What command would you use to verify that DNS resolution is working?
Use ping followed by a domain name to see if it resolves to an IP address, indicating that DNS resolution is functioning.
What is a common use of the ping command for security professionals?
Security professionals use ping to verify connectivity and network paths, and to troubleshoot network issues.
What are the benefits of using a command line interface (CLI)?
The CLI allows for scripting and automation of repetitive tasks, providing more detailed control and efficiency compared to GUIs.
What are the common types of shells in Windows?
CMD (Command Prompt) and PowerShell.
What is the primary use of PowerShell?
PowerShell is used for advanced system administration tasks, automation, and configuration management in Windows.
Name some shells available in Linux.
Bash, Zsh, and other Unix-like shells.
What is the Python shell used for?
The Python shell is used for executing Python commands and scripts directly.
How can using shells benefit system administrators?
Shells enable system administrators to automate tasks, manage systems efficiently, and perform complex configurations.