Linux Quiz Section
Command Line Mastery
What does the following command do?
- List all files and directories, including hidden ones
- List all files and directories, excluding hidden ones
- List all files and directories, including system files
- List all files and directories, excluding system files
What does the following command do?
- List files and directories in long format with human-readable file sizes
- List files and directories in long format
- List files and directories in long format, including hidden ones
- List files and directories in long format with human-readable file sizes, including hidden ones
What does the following command do?
- Copy file1 to file2
- Display contents of file1 and file2
- Move file1 to file2
- Rename file1 to file2
What does the following command do?
- Move file1 to file2
- Make 2 new files named file1 and file2
- Make 2 new directories named file1 and file2
- Copy file1 to file2
What does the following command do?
- Forcefully remove file1, with no prompt
- Rename file1
- Move file1
- Remove file1, with prompt
What does the following command do?
- Create a new directory named directory1
- Remove directory1
- Move directory1
- Rename directory1
What will either of the following commands do?
- Remove directory1
- Create a new directory named directory1
- Move directory1
- Rename directory1
What does the following command do?
- Display content of file1
- Force remove file1
- Move file1
- Copy file1
What does the following command do?
- Print "Hello, World!" to the terminal
- Display content of file "Hello, World!"
- Move file "Hello, World!"
- Copy file "Hello, World!"
What does the following command do?
- Overwrite file1 with "Hello, World!"
- Append "Hello, World!" to file1
- Execute script file1 with arguments "Hello, World!"
- Copy "Hello, World!" to file1
What does the following command do?
- Append "Hello, World!" to file1
- Overwrite file1 with "Hello, World!"
- Execute script file1 with arguments "Hello, World!"
- Copy "Hello, World!" to file1
What does the following command do?
- Count the number of characters in "Hello, World!"
- Display content of file "Hello, World!"
- Move file "Hello, World!"
- Copy file "Hello, World!"
What does the following command do?
- Count the number of words in "Hello, World!"
- Display content of file "Hello, World!"
- Move file "Hello, World!"
- Copy file "Hello, World!"
What does the following command do?
- Count the number of lines in "Hello, World!"
- Display content of file "Hello, World!"
- Move file "Hello, World!"
- Copy file "Hello, World!"
What does the following command do?
- Search for "World" in "Hello, World!"
- Display content of file "Hello, World!"
- Move file "Hello, World!"
- Copy file "Hello, World!"
You have a file named `file1` with the following content: What does the following command do?
- Search for lines containing "and" in file1
- Remove lines containing "and" from file1
- Count the number of lines containing "and" in file1
- Search for "and" in "Hello, World!"
You have a file named `file1` with the following content: What does the following command do?
- Search for lines not containing "and" in file1
- Remove lines not containing "and" from file1
- Count the number of lines not containing "and" in file1
- Search for "and" in "Hello, World!"
You have a file named `file1` with the following content: What does the following command do?
- Search for lines containing "and" in file1, case-insensitive
- Remove lines containing "and" from file1
- Count the number of lines containing "and" in file1
- Search for "and" in "Hello, World!"
You have a file named `file1` with the following content: What does the following command do?
- Search for lines containing "and" in file1, with line numbers
- Remove lines containing "and" from file1
- Count the number of lines containing "and" in file1
- Search for "and" in "Hello, World!"
You have a file named `file1` with the following content: What does the following command do?
- Count the number of lines containing "and" in file1
- Remove lines containing "and" from file1
- Search for lines containing "and" in file1
- Search for "and" in "Hello, World!"
You have a file named `file1` with the following content: What does the following command do?
- Count the number of lines containing "and" in file1
- Count the number of lines containing "and" in file1, with line numbers
- Count the number of lines containing "and" in file1, with total count
- Count the number of lines containing "and" in file1, with word count
You have a file named `file1` with the following content: What does the following command do?
- Count the number of words containing "and" in file1
- Count the number of words containing "and" in file1, with line numbers
- Count the number of words containing "and" in file1, with total count
- Count the number of words containing "and" in file1, with word count
You have a file named `file1` with the following content: What does the following command do?
- Count the number of characters containing "and" in file1
- Count the number of characters containing "and" in file1, with line numbers
- Count the number of characters containing "and" in file1, with total count
- Count the number of characters containing "and" in file1, with word count
What does the following command do?
- Replace "World" with "Universe" in "Hello, World!"
- Display content of file "Hello, World!"
- Extract the second word from "Hello, World!"
- Search for "World" and "Universe" in "Hello, World!"
What does the following command do?
- Convert "Hello, World!" to uppercase
- Convert "Hello, World!" to lowercase
- Extract the second word from "Hello, World!"
- Count the number of characters in "Hello, World!"
System Operations
What does the following command do?
- Display system uptime
- Display system load average
- Display system memory usage
- Display system disk usage
What does the following command do?
- Display system memory usage in human-readable format
- Display system uptime
- Display system load average
- Display system disk usage
What does the following command do?
- Display system disk usage in human-readable format
- Display system uptime
- Display system load average
- Display system memory usage
What does the following command do?
- Display system processes and resource usage
- Display network connections
- Display open ports
- Display services running on the system
What does the following command do?
- Display all system processes
- Display system uptime
- Display system load average
- Display system memory usage
What does the following command do?
- Display listening network services and their PIDs
- Display firewall rules
- Display ip addresses and open ports on the system
- Display active network connections
What does the following command do?
- Display listening network services and their PIDs
- Display dns records on the system
- Display ip addresses and open ports on the system
- Display active network connections
What do the following systemctl commands do?
- Display status, start, stop, and restart the sshd service
- Display status, start, stop, and restart the ssh service
- Display status, start, stop, and restart the sshd daemon
- Display status, start, stop, and restart the ssh daemon
What does the following command do?
- Enable and disable the sshd service to start on boot
- Enable and disable the ssh service to start on boot
- Enable and disable the sshd daemon to start on boot
- Enable and disable the ssh daemon to start on boot
What do the following commands do?
- List, edit, and remove cron jobs for the current user
- List, edit, and remove cron jobs for all users
- List, edit, and remove cron jobs for the system
- List, edit, and remove cron jobs for the root user
What do the following commands do?
- Copy file1 to remote host and copy file1 from remote host to local current directory
- Move file1 to remote host and move file1 from remote host
- Copy file1 to remote host and move file1 from remote host to local root directory
- Copy file1 to remote host and copy file1 from remote host to local root directory
What do the following commands do?
- Synchronize file1 to remote host and synchronize file1 from remote host to local current directory
- Move file1 to remote host and move file1 from remote host
- Copy file1 to remote host and move file1 from remote host to local root directory
- Copy file1 to remote host and copy file1 from remote host to local root directory
What do the following commands do?
- Copy directory1 to remote host and copy directory1 from remote host to local current directory
- Move directory1 to remote host and move directory1 from remote host
- Copy directory1 to remote host and move directory1 from remote host to local root directory
- Copy directory1 to remote host and copy directory1 from remote host to local root directory
What do the following commands do?
- Synchronize directory1 to remote host and synchronize directory1 from remote host to local current directory
- Move directory1 to remote host and move directory1 from remote host
- Copy directory1 to remote host and move directory1 from remote host to local root directory
- Copy directory1 to remote host and copy directory1 from remote host to local root directory
What do the following commands do?
- Copy directory1 to remote host using scp and rsync
- Move directory1 to remote host using scp and rsync
- Copy directory1 to remote host using scp and synchronize directory1 to remote host using rsync
- Move directory1 to remote host using scp and synchronize directory1 to remote host using rsync
What do the following commands do?
sudo mount /dev/sdb1 /mnt
sudo umount /mnt
sudo mount -t ext4 /dev/sdb1 /mnt
sudo umount /mnt
sudo mount -t cifs //server/share /winmnt -o user=username
sudo mount -o loop file.iso /mnt
- Mount/unmount a disk partition, mount/unmount a disk partition with a specific filesystem type, mount an SMB network share, and mount an iso file
- Mount/unmount a disk partition, mount/unmount a disk partition with a specific filesystem type, mount a network share, and mount a file
- Mount/unmount a disk partition, mount/unmount a disk partition with a specific filesystem type, mount a network share, and mount a directory
- Mount/unmount a disk partition, mount/unmount a disk partition with a specific filesystem type, mount a network share, and mount a file system
What do the following commands do?
zip -r archive.zip directory1
unzip archive.zip
tar -czvf archive.tar.gz directory1
tar -xzvf archive.tar.gz
- Create a zip archive of directory1, extract a zip archive, create a tar.gz archive of directory1, and extract a tar.gz archive
- Create a zip archive of directory1, extract a zip archive, create a tar.gz archive of directory1, and extract a tar archive
- Create a zip archive of directory1, extract a zip archive, extract a tar.gz archive of directory1, and extract a tar.gz archive
- Create a zip archive of directory1, extract a zip archive, create a tar archive of directory1, and extract a tar archive
What do the following commands do?
- Change file permissions, change file owner and group, change directory owner and group recursively, change group of a file, and set default file permissions
- Change file permissions, change file owner and group, change directory owner and group, change group of a file, and set default file permissions
- Change file permissions, change file owner and group, change directory owner and group recursively, change group of a file, and set default directory permissions
- Change file permissions, change file owner and group, change directory owner and group, change group of a file, and set default directory permissions
What does the following command do?
- Set file1 to full permissions, set directory1 and its contents to read/write/execute for owner and read/execute for group and others, and add execute permission for the owner of file2
- Set file1 to full permissions, set directory1 and its contents to read/write/execute for owner and read/execute for group and others, and add execute permission for the group of file2
- Set file1 to full permissions, set directory1 and its contents to read/write/execute for owner and read/execute for group and others, and add execute permission for others of file2
- Set file1 to full permissions, set directory1 and its contents to read/write/execute for owner and read/execute for group and others, and add execute permission for all of file2
What do the following commands do?
- Add and delete a user, add and delete a group
- Add and delete a user, add and delete a user from a group
- Add and delete a user, add and delete a group from a user
- Add and delete a user, add and delete a group from a user
What does the following command do?
- Add user1 to group1, remove user1 from group1, and change password for user1
- Add user1 to group1, remove user1 from group1, and change password for group1
- Add user1 to group1, remove group1 from user1, and change password for user1
- Add group1 to user1, remove user1 from group1, and change password for user1
What do the following commands do?
- Display system logs, display kernel logs, and display real-time system logs
- Display system logs, display kernel logs, and display real-time kernel logs
- Display system logs, display kernel logs, and display real-time system kernel logs
- Display system logs, display kernel logs, and display real-time system logs and kernel logs
What do the following commands do?
- Display logs for the sshd service, display real-time logs for the sshd service, and display logs for the sshd service since a specific date
- Display logs for the ssh service, display real-time logs for the ssh service, and display logs for the ssh service since a specific date
- Display logs for the sshd service, display real-time logs for the sshd service, and display logs for the sshd service since a specific time
- Display logs for the ssh service, display real-time logs for the ssh service, and display logs for the ssh service since a specific time
What do the following commands do?
- Display kernel logs containing "error", display system logs with priority "err", and display real-time system logs containing "error"
- Display kernel logs containing "error", display system logs with priority "error", and display real-time system logs containing "error"
- Display kernel logs containing "error", display system logs with priority "err", and display real-time system logs containing "err"
- Display kernel logs containing "error", display system logs with priority "error", and display real-time system logs containing "err"
What do the following commands do?
journalctl -u sshd -n 10
journalctl -u sshd --since "1 hour ago"
journalctl -u sshd --since "1 hour ago" --until "now"
- Display last 10 logs for the sshd service, display logs for the sshd service since 1 hour ago, and display logs for the sshd service between 1 hour ago and now
- Display last 10 logs for the ssh service, display logs for the ssh service since 1 hour ago, and display logs for the ssh service between 1 hour ago and now
- Display last 10 logs for the sshd service, display logs for the sshd service since 1 hour ago, and display logs for the sshd service between 1 hour ago and now
- Display last 10 logs for the ssh service, display logs for the ssh service since 1 hour ago, and display logs for the ssh service between 1 hour ago and now
What do the following commands do?
journalctl -u sshd --since "1 hour ago" --until "now" | grep -i error
journalctl -u sshd --since "1 hour ago" --until "now" | grep -i error | wc -l
journalctl -u sshd --since "1 hour ago" --until "now" | grep -i error | wc -l | awk '{print $1}'
- Display logs for the sshd service between 1 hour ago and now containing "error", count the number of logs containing "error", and display the count of logs containing "error"
- Display logs for the ssh service between 1 hour ago and now containing "error", count the number of logs containing "error", and display the count of logs containing "error"
- Display logs for the sshd service between 1 hour ago and now containing "error", count the number of logs containing "error", and display the number of logs containing "error"
- Display logs for the ssh service between 1 hour ago and now containing "error", count the number of logs containing "error", and display the number of logs containing "error"
What do the following commands do?
journalctl -u sshd --since "1 hour ago" --until "now" | grep -i error | wc -l | awk '{print $1}'
journalctl -u sshd --since "1 hour ago" --until "now" | grep -i error | wc -l | awk '{print $1}' | sort
journalctl -u sshd --since "1 hour ago" --until "now" | grep -i error | wc -l | awk '{print $1}' | sort -n
- Display the count of logs containing "error" for the sshd service between 1 hour ago and now, sort the count of logs containing "error", and sort the count of logs containing "error" numerically
- Display the count of logs containing "error" for the ssh service between 1 hour ago and now, sort the count of logs containing "error", and sort the count of logs containing "error" numerically
- Display the count of logs containing "error" for the sshd service between 1 hour ago and now, sort the count of logs containing "error", and sort the count of logs containing "error" alphabetically
- Display the count of logs containing "error" for the ssh service between 1 hour ago and now, sort the count of logs containing "error", and sort the count of logs containing "error" numerically
What do the following commands do?
- Generate an RSA key pair, copy the public key to a remote host, and connect to a remote host using the private key
- Generate an RSA key pair, copy the private key to a remote host, and connect to a remote host using the public key
- Generate an RSA key pair, copy the public key to a remote host, and connect to a remote host using the public key
- Generate an RSA key pair, copy the private key to a remote host, and connect to a remote host using the private key
Networking
What do the following commands do?
- Display IP addresses, display routing table, and display network interfaces
- Display IP addresses, display network interfaces, and display routing table
- Display routing table, display IP addresses, and display network interfaces
- Display routing table, display network interfaces, and display IP addresses
What do the following commands do?
- Add an IP address to an interface, add a route to the routing table, and set the state of a network interface
- Add a route to the routing table, add an IP address to an interface, and set the state of a network interface
- Add an IP address to an interface, add a route to the routing table, and set the speed of a network interface
- Add a route to the routing table, add an IP address to an interface, and set the speed of a network interface
What do the following commands do?
- Delete an IP address from an interface, delete a route from the routing table, and delete a network interface
- Delete a route from the routing table, delete an IP address from an interface, and delete a network interface
- Delete an IP address from an interface, delete a route from the routing table, and delete a network interface
- Delete a route from the routing table, delete an IP address from an interface, and delete a network interface
What do the following commands do?
- Display IP addresses, display default route, and display network interfaces with state
- Display IP addresses, display network interfaces with state, and display default route
- Display default route, display IP addresses, and display network interfaces with state
- Display default route, display network interfaces with state, and display IP addresses
What do the following commands do?
- Send ICMP packets to a host, and scan a network for hosts
- Send ICMP packets to a host, and scan a host for open ports
- Send ICMP packets to a network, and scan a network for hosts
- Send ICMP packets to a network, and scan a network for open ports
What do the following commands do?
- Display listening TCP and UDP ports, and display listening TCP and UDP ports
- Display listening TCP and UDP ports, and display established TCP and UDP connections
- Display established TCP and UDP connections, and display listening TCP and UDP ports
- Display established TCP and UDP connections, and display established TCP and UDP connections
What do the following commands do?
- Display listening TCP and UDP ports for SSH, and display listening TCP and UDP ports for SSH
- Display listening TCP and UDP ports for SSH, and display established TCP and UDP connections for SSH
- Display established TCP and UDP connections for SSH, and display listening TCP and UDP ports for SSH
- Display established TCP and UDP connections for SSH, and display established TCP and UDP connections for SSH
What do the following commands do?
- Connect to a host on port 53 using the telnet protocol, and retrieve a web page from a host using the HTTP protocol
- Connect to a host on port 53 using the HTTP protocol, and retrieve a web page from a host using the telnet protocol
- Connect to a host on port 53 using the telnet protocol, and retrieve a web page from a host using the telnet protocol
- Connect to a host on port 53 using the HTTP protocol, and retrieve a web page from a host using the HTTP protocol
What do the following commands do?
- Display the route to a host, and display the route to a host with statistics
- Display the route to a host, and display the route to a host with latency
- Display the route to a host, and display the route to a host with packet loss
- Display the route to a host, and display the route to a host with hops
What do the following commands do?
- Query DNS records for domain information
- Check port status for a domain, and query DNS records for domain information
- Query DNS records for domain information, and check open ports on a host
- Retrieve web page from a domain
What do the following commands do?
- Display the route to a host with statistics using TCP port 80, and display the route to a host with statistics
- Display the route to a host with statistics using TCP port 80, and display the route to a host with latency
- Display the route to a host with statistics using TCP port 80, and display the route to a host with packet loss
- Display the route to a host with statistics using TCP port 80, and display the route to a host with hops
What do the following commands do?
- Scan a host for open TCP ports using SYN scan, and scan a host for open TCP ports using connect scan
- Scan a host for open TCP ports using connect scan, and scan a host for open TCP ports using SYN scan
- Scan a host for open TCP ports using SYN scan, and scan a host for open UDP ports
- Scan a host for open TCP ports using connect scan, and scan a host for open UDP ports
What do the following commands do?
- Scan a host for open UDP ports, and scan a host for open ports using ACK scan
- Scan a host for open UDP ports, and scan a host for open ports using SYN scan
- Scan a host for open TCP ports, and scan a host for open ports using ACK scan
- Scan a host for open TCP ports, and scan a host for open ports using SYN scan
What do the following commands do?
- Scan a host for open ports and determine service version, and scan a host for open ports and determine operating system
- Scan a host for open ports and determine operating system, and scan a host for open ports and determine service version
- Scan a host for open ports and determine service version, and scan a host for open ports and determine service version
- Scan a host for open ports and determine operating system, and scan a host for open ports and determine operating system
What do the following commands do?
- Scan a host for open ports and run default scripts, and scan a host for open ports, determine service version, and run default scripts
- Scan a host for open ports and determine service version, and scan a host for open ports and run default scripts
- Scan a host for open ports and run default scripts, and scan a host for open ports and determine service version
- Scan a host for open ports and determine operating system, and scan a host for open ports and run default scripts
What do the following commands do?
- Scan a host for open UDP port 53, and scan a host for open UDP port 53 and run a script to perform a DNS zone transfer
- Scan a host for open UDP port 53, and scan a host for open UDP port 53 and run a script to perform a DNS query
- Scan a host for open UDP port 53, and scan a host for open UDP port 53 and run a script to perform a DNS zone transfer
- Scan a host for open UDP port 53, and scan a host for open UDP port 53 and run a script to perform a DNS query
What do the following commands do?
- Retrieve HTTP headers from a web page, and follow redirects to retrieve a web page
- Retrieve a web page, and follow redirects to retrieve a web page
- Retrieve HTTP headers from a web page, and retrieve a web page
- Follow redirects to retrieve a web page, and retrieve a web page
What do the following commands do?
curl -X POST -d "username=admin&password=admin" http://example.com/login
curl -X PUT -d "username=admin&password=admin" http://example.com/login
- Send a POST request with form data to a web page, and send a PUT request with form data to a web page
- Send a PUT request with form data to a web page, and send a POST request with form data to a web page
- Send a POST request with form data to a web page, and send a POST request with form data to a web page
- Send a PUT request with form data to a web page, and send a PUT request with form data to a web page
What do the following commands do?
curl -X DELETE http://example.com/user/1
curl -X PATCH -d "username=admin" http://example.com/user/1
- Send a DELETE request to delete a resource, and send a PATCH request with form data to update a resource
- Send a PATCH request with form data to update a resource, and send a DELETE request to delete a resource
- Send a DELETE request to delete a resource, and send a DELETE request to delete a resource
- Send a PATCH request with form data to update a resource, and send a PATCH request with form data to update a resource
What do the following commands do?
- Send an OPTIONS request to a web page, and send a HEAD request to a web page
- Send a HEAD request to a web page, and send an OPTIONS request to a web page
- Send an OPTIONS request to a web page, and send an OPTIONS request to a web page
- Send a HEAD request to a web page, and send a HEAD request to a web page
What do the following commands do?
- Capture packets on interface eth0, capture packets on interface eth0 without resolving hostnames, and capture packets on interface eth0 without resolving hostnames and ports
- Capture packets on interface eth0, capture packets on interface eth0 without resolving ports, and capture packets on interface eth0 without resolving hostnames
- Capture packets on interface eth0, capture packets on interface eth0 without resolving hostnames, and capture packets on interface eth0 without resolving ports
- Capture packets on interface eth0, capture packets on interface eth0 without resolving ports, and capture packets on interface eth0 without resolving hostnames
What do the following commands do?
- Capture 10 packets on interface eth0, save captured packets to a file, and read captured packets from a file
- Capture 10 packets on interface eth0, read captured packets from a file, and save captured packets to a file
- Save captured packets to a file, read captured packets from a file, and capture 10 packets on interface eth0
- Save captured packets to a file, capture 10 packets on interface eth0, and read captured packets from a file
What do the following commands do?
- Capture packets on interface eth0 and display ASCII data, capture packets on interface eth0 and display hex and ASCII data, and capture packets on interface eth0 and display hex and ASCII data with link-level header
- Capture packets on interface eth0 and display hex and ASCII data, capture packets on interface eth0 and display ASCII data, and capture packets on interface eth0 and display hex and ASCII data with link-level header
- Capture packets on interface eth0 and display ASCII data, capture packets on interface eth0 and display hex and ASCII data with link-level header, and capture packets on interface eth0 and display hex and ASCII data
- Capture packets on interface eth0 and display hex and ASCII data, capture packets on interface eth0 and display hex and ASCII data with link-level header, and capture packets on interface eth0 and display ASCII data
What do the following commands do?
- Capture packets on interface eth0 with full packet size, capture packets on interface eth0 with 128 bytes of packet size, and capture packets on interface eth0 with 256 bytes of packet size
- Capture packets on interface eth0 with 128 bytes of packet size, capture packets on interface eth0 with 256 bytes of packet size, and capture packets on interface eth0 with full packet size
- Capture packets on interface eth0 with 256 bytes of packet size, capture packets on interface eth0 with full packet size, and capture packets on interface eth0 with 128 bytes of packet size
- Capture packets on interface eth0 with 128 bytes of packet size, capture packets on interface eth0 with full packet size, and capture packets on interface eth0 with 256 bytes of packet size
What do the following commands do?
tcpdump -i eth0 -w capture.pcap -C 10
tcpdump -i eth0 -w capture.pcap -W 10
tcpdump -i eth0 -w capture.pcap -G 10
- Capture packets on interface eth0 and save to a file with 10MB file size, capture packets on interface eth0 and save to a file with 10 files, and capture packets on interface eth0 and save to a file with 10 seconds of duration
- Capture packets on interface eth0 and save to a file with 10 files, capture packets on interface eth0 and save to a file with 10MB file size, and capture packets on interface eth0 and save to a file with 10 seconds of duration
- Capture packets on interface eth0 and save to a file with 10MB file size, capture packets on interface eth0 and save to a file with 10 seconds of duration, and capture packets on interface eth0 and save to a file with 10 files
- Capture packets on interface eth0 and save to a file with 10 files, capture packets on interface eth0 and save to a file with 10 seconds of duration, and capture packets on interface eth0 and save to a file with 10MB file size
What do the following commands do?
- Capture packets on interface eth0 and save to a file with root user ownership, and capture packets on interface eth0 and save to a file with 10 seconds of duration and root user ownership
- Capture packets on interface eth0 and save to a file with 10 seconds of duration and root user ownership, and capture packets on interface eth0 and save to a file with root user ownership
- Capture packets on interface eth0 and save to a file with root user ownership, and capture packets on interface eth0 and save to a file with root user ownership and 10 seconds of duration
- Capture packets on interface eth0 and save to a file with 10 seconds of duration and root user ownership, and capture packets on interface eth0 and save to a file with root user ownership
What do the following commands do?
- Connect to a host on port 443 using SSL/TLS, and connect to a host on port 443 using SSL/TLS and display certificates
- Connect to a host on port 443 using SSL/TLS and display certificates, and connect to a host on port 443 using SSL/TLS
- Connect to a host on port 443 using SSL/TLS, and connect to a host on port 443 using SSL/TLS and display certificate details
- Connect to a host on port 443 using SSL/TLS and display certificates, and connect to a host on port 443 using SSL/TLS and display certificate details
What do the following commands do?
openssl s_client -connect example.com:443 -servername example.com
openssl s_client -connect example.com:443 -servername example.com -showcerts
- Connect to a host on port 443 using SSL/TLS with SNI, and connect to a host on port 443 using SSL/TLS with SNI and display certificates
- Connect to a host on port 443 using SSL/TLS with SNI and display certificates, and connect to a host on port 443 using SSL/TLS with SNI
- Connect to a host on port 443 using SSL/TLS, and connect to a host on port 443 using SSL/TLS with SNI and display certificate details
- Connect to a host on port 443 using SSL/TLS with SNI and display certificates, and connect to a host on port 443 using SSL/TLS with SNI and display certificate details
What do the following commands do?
- Display the route to a host with statistics using ICMP, and display the route to a host with statistics using TCP port 53
- Display the route to a host with statistics using TCP port 53, and display the route to a host with statistics using ICMP
- Display the route to a host with statistics using ICMP, and display the route to a host with statistics using TCP port 53
- Display the route to a host with statistics using TCP port 53, and display the route to a host with statistics using TCP port 53
What do the following commands do?
- Display the route to a host with split DNS resolution, and display the route to a host with statistics and 10 report cycles
- Display the route to a host with statistics and 10 report cycles, and display the route to a host with split DNS resolution
- Display the route to a host with split DNS resolution, and display the route to a host with split DNS resolution and 10 report cycles
- Display the route to a host with statistics and 10 report cycles, and display the route to a host with split DNS resolution and 10 report cycles