rdLab 1.All tasks can/should be performed using a single command line.1. Using t

rdLab 1.All tasks can/should be performed using a single command line.1. Using the 5 command line tools available to you (cut, awk, grep, sed, cat) answer the following questions using the nmap.txt file. You MUST show the command you used to gather this information – if it doesn’t work you won’t get the marks for the answer.a) What operating system are the LDAP Servers running?b) Which host/s is/are running DNS?2. You found a file (Credits.txt) which appears to have a bunch of random data. With a name like Credits, you believe there is credit card numbers located in the document.a) What is the command line to pull out all credit card numbers and put in a file called Credit Card Data.txt?b) How many credit card numbers are there?3. You found a file called ClientData.csv. You spoke to your manager and they said all the Client IDs in the file should be replaced with zeroes (000000000). You looked at the file and the Client IDs are in the file.a) What is the command line to replace all of the Client IDs in the file with zeroes? (make a copy prior to starting so it is easy to revert back if you make a mistake or start by outputting to a new file until you have the syntax correct.)b) Print out a list of all the user’s full names.Answers will either be correct or incorrect – if the required result is obtained and the command works then you have a valid answer. Please note that there is more than one way to achieve the results given the commands at your disposal.

Use assembly language to write a complete program that will input values fornum

Use assembly language to write a complete program that will input values fornum1 ,num2 and num3 and display the value of the expression ( (num1 ^ 3) * num2 + 5 * ( num2 ^ 2) ) / num3. assume that the user enters only numbers that are greater than zero and the calculation never exceed 4 bytes size. Sample run: num1 = 1 num2 = 2 num3 = 3 ((num1 ^ 3) * num2 + 5 * ( num2 ^ 2)) / num3 = 7 R 1

Write a SQL query that gives the names of all airlines that ever flew more than

Write a SQL query that gives the names of all airlines that ever flew more than 1000 flights in one day. Return only the names. Do not return any duplicates. [Should be 11 rows] I have the following table schema CREATE TABLE Flights ( fid INT PRIMARY KEY, year INT, –or VARCHAR(4) month_id INT, day_of_month INT, day_of_week_id INT, carrier_id VARCHAR(10), flight_num INT, origin_city VARCHAR(50), origin_state VARCHAR(50), dest_city VARCHAR(50), dest_state VARCHAR(50), departure_delay INT, taxi_out INT, arrival_delay INT, canceled INT, –boolean actual_time INT, distance INT, FOREIGN KEY(month_id) REFERENCES Months(mid), FOREIGN KEY(day_of_week_id) REFERENCES Weekdays(did), FOREIGN KEY(carrier_id) REFERENCES Carriers(cid) ); CREATE TABLE Carriers ( cid INT PRIMARY KEY, name VARCHAR(100) –length? ); CREATE TABLE Months ( mid INT PRIMARY KEY, month VARCHAR(9) ); CREATE TABLE Weekdays ( did INT PRIMARY KEY, day_of_week VARCHAR(9) );