Part 1: linux a. What does the following command do: nmap -sP192.168.1.1/24 b. What would the following
Question:
Part 1: linux
a. What does the following command do: nmap -sP192.168.1.1/24
b. What would the following commands do: uname –a and uname–mrs?
c. what does command tree -d do?
d. How do you create a tree for /etc directorycontent?
e. What does ls -la | less?
f. Does Raspberry Pi 3 support vi? what would happen if you typevi test.txt?
g. What does arp –a accomplish?
h. If you are using SSH, how can you install a package suchas wireshark?
i. What will be the advantage of enabling port forwardingon a RPi
j. Try nano test.txt – what do you see? What is thedifference between nano and vi?
k. An interesting feature of Linux is its ability to logall activities, including SSH logins. The log file is located in/var/log/auth.log. Try the following commands: tail -500/var/log/auth.log | grep 'sshd' or simply: grep 'sshd'/var/log/auth.log Answer the following questions: a. Is it possibleto see which users have attempted to SSH? b. What is the singleLinux command to figure out which users failed to perform SSH? c.What is the default port number for SSH? d. How is it possible tochange the SSH port number using /etc/ssh/sshd_config?
l. Here is an example of SSH command using a differentport: ssh user@192.168.1.1 -p 26 Change the default SSH port onyour RPi and make sure you can log back. After changing the defaultport you need to restart the SSH server: service ssh restart. Alsotry the following service ssh status. . Electrical EngineeringProgram Lab 1 - Introduction to RPi F. Farahmand Ver. 2 10 23-Measure the power consumption of a Pi in the following conditions(HINT: you need to use a digital multi meter, remember P=VI): e.When there is no WiFi connection. f. When there is WiFiconnection.
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill