Ethical Hacking Kali Linux Part 3

Quiz
•
Information Technology (IT)
•
Professional Development
•
Hard
KALAIARASAN SGM
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct shebang line to start a Bash script?
#!/usr/bin/python
#!/bin/bash
#!/bin/sh
#!/bash
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to define a variable in Bash?
name = "Alex"
name: Alex
name="Alex"
$name = Alex
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following script output?
x=5
echo $x
$x
x
5
x=5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which conditional statement is used for multiple conditions?
elseif
elif
else if
ifelse
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the if block below check?
if [ $num -eq 10 ]; then
echo "Ten"
fi
If num is less than 10
If num is equal to 10
If num is a string
If num is undefined
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop executes a set of commands for a given range?
until loop
while loop
for loop
case loop
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the script?
for i in {1..3}; do
echo $i
done
123
1 2 3
1 2 3 on one line
1 (newline) 2 (newline) 3 (newline)
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
[FE] Ice Breaking - TypeScript Fundamentals and Data Structures

Quiz
•
Professional Development
10 questions
Web Development Mastery

Quiz
•
Professional Development
10 questions
JavaScript Operators and Expressions Quiz

Quiz
•
Professional Development
10 questions
[FE] Ice Breaking - JavaScript Control Flow

Quiz
•
Professional Development
10 questions
Front-End Development Beginner Knowledge Test

Quiz
•
Professional Development
15 questions
Manipulação de Arrays em JavaScript

Quiz
•
Professional Development
15 questions
Understanding BOM in JavaScript (11R)

Quiz
•
Professional Development
10 questions
JavaScript Conditional Logic Quiz

Quiz
•
Professional Development
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade