Multiple Choice Oblig Flashcards
Which output is produced by the command echo "Hello Helene, how are you?" | sed -E s/H/X/
?
Xello Helene, how are you?
Which technology was used to connect the first two ARPAnet nodes?
Conventional phone lines
The command ssh will
Give you secure access to a remote computer
Suppose each of the following words appears in input.txt
in a different line: “anna”, “xavier”, “ole”, “clara”. Which output is produced by the command cat input.txt | grep -E "a"
Three lines: “anna”, “xavier”, “clara”
Which organization is responsible for assigning and delegating IP addresses and subnets?
ICANN
Which UNIX command is used to display the list of files in a directory?
ls
Who created the ARPAnet?
The Defense Advanced Research Projects Agency
When was ARPA established?
1958
Which of these tasks is performed by the W3C?
Develop and promote standards and formats used on the Web
Which sentences match the regular expression / ?time/
“half time”, “primetime”, “time”, “superficially sentimental”
What is the commonly “#!” pronounced?
Shebang
What is a top-level domain registry?
A company that assigns the top-level domain names in a country/region/top-domain
Which sentences match the regular expression /time/
“half time”, “primetime”, “time”, “superficially sentimental”
The first country connected to the Internet outside the US was…
Norway
What is the main difference between a packet-switching network and a circuit-switching network?
A packet-switched network is more robust and effective than a circuit-switched network
Which output is produced by the command echo "Hello Helene, how are you?" | sed -E s/K/X/g
?
Hello Helene, how are you?
Which of these tasks is performed by the IETF?
Develop and promote internet standards
Which entities manage the domain names records?
ICANN
Which UNIX command would forcefully shut down the command with process ID 123?
kill -9 123
The command ssh example.com
will..
Connect to example.com, accessing as the remote user with the same name of the current user.
HTTPS - What does the S stand for?
Secure: The connections is secured with TLS
Which UNIX command produces an output like “/dev/sda3 113G 105G 2,7G 98% /home”?
df -h
Suppose each of the following words appears in input.txt
in a different line: “anna”, “sara”, “ole”, “xavier”. Which output is produced by the command cat input.txt | grep -E "a$"
Two lines: “anna”, “sara”
What is the main task of a shell?
To allow the user to manipulate data and explore the system by running commands.
The common POSIX shell sh is a derivative of which shell?
Bourne shell
Which UNIX command is used to change the schedule of the execution of programs in the future?
contrab
What is the purpose of the “#!” first line in a script file?
It specifies which interpreter or shell should be used to run this file
Which of the following UNIX pipelines will output the first 5 lines of file.txt that start with “ABC”?
grep ^ABC file.txt | head -n 5
How many different IPv4 addresses can be assigned, at most?
2^32 = ~4 billions
Which output is produced by the command echo "Hello Helene, how are you?" | sed -E s/H/X/g
?
Xello Xelene, how are you?
ICANN is an abbreviation for…
Internet Corporation for Assigned Names and Numbers
Suppose each of the following words appears in input.txt
in a different line: “anna”, “sara”, “ole”, “xavier”. Which output is produced by the command cat input.txt | grep -E "^a"
One line: “anna”
Which words match the regular expression /ab+cd*/
“aaabc”, “abbcddd”, “abcd”, “xabcde”
What technologies make the core of the Web
URL, HTTP, HTML
Which UNIX command is used to rename files?
mv