- What will happne if you type
man man
in Linux? - How can you use the command ls to find out about the size of file /etc/lilo.conf
- What happens if you have two files with names file1 and file2 and you type mv file1 file2? Which option of mv issues a warning?
- What is the command that you issue if you are in directory / and want to copy the file /mydata to directory /labdata
- What is the command that you issue if your are in directory / and want to copy all files and directories under directory /mydirectory to directory /newdirectory?
- What happens if you type the command rm * in a directory?
- What is the command that you issue if you want to delete all files and directories under the directory /mydirectory
- What is the IOS command to change the MTU (Max Transimission Rate) for an interface on a Cisco router?
- How does a router determine whether datagrams to a particular host can be directly delivered through one of its interfaces?
- Which systems generate ICMP route redirect messages-- routers, hosts , or both?
- What is the default maximum TTL value used by traceroute when sending UDP datagrams?
- Describe the role of a default gateway in a routing table?
- What is the network prefix of IP address
192.110.50.3/24
? - Explain the difference between a network IP address and a network prefix.
- An organization has been assigned the network number
140.25.0.0/16
and it neeeds to create networks that support up to 60 hosts on each IP network. What is the max number of networks that can be set up? Explain.
The goal of this first lab was primarily to introduce you to Wireshark. The following questions will demonstrate that you’ve been able to get Wireshark up and running, and have explored some of its capabilities. Answer the following questions, based on your
host
is a DNS lookup utility that can be used with a domain name to return a corresponding IP address.
a. The top-level domain is the highest level domain name in a domain name. b. The CNAME is a domain name that is an alias for another domain name. c. A Resolver is another name for the client-side of DNS and is responsible for iniaiting the query to be translated. d. A Name server is another name for the server-side of DNS and is responsible to hosting DNS records and responding to resolvers. e. A label is a part of a DNS domain name that is delimitted by dots. f. A FQDN is the full domain name of a host on the Internet g. BIND is software run on DNS servers that translates domain names to IPs and vice-versa. h. Inverse lookup or reverse lookup is a DNS query that sends an IP address with the aim of receiving the corresponding domain name.
make clean && make | |
./warhol.native -c < tests/tbrack.wl > tbrack.ll | |
lli tbrack.ll | |
; ModuleID = 'Warhol' | |
@fmt = private unnamed_addr constant [4 x i8] c"%d\0A\00" | |
declare i32 @printf(i8*, ...) |
Test: | |
make clean && make | |
./warhol.native -c < tests/tfun.wl > tfun.ll | |
lli tfun.ll | |
Source: | |
fun int prt3() { | |
print(3); | |
return 0; | |
} |
Test: | |
make clean && make | |
./warhol.native -c < tests/tppp.wl > tppp.ll | |
lli tppp.ll | |
Source: | |
fun int main() { | |
int[2] k; | |
k[0] = 0; |
<html> | |
<head> | |
<title>Scrolling along the Z-Axis</title> | |
<!-- | |
Example from http://eng.wealthfront.com/2012/03/scrolling-z-axis-with-css-3d-transforms.html | |
Assumes browser window is sized at a height of 400px (the size of the black box). | |
--> | |
<style> | |
body{height:600px;} | |
#viewport { |