Homework 6 - Brendan Bertone
Homework Exercises:
Shell Commands
ls -a : The purpose is to view all files in the current directory. the -a option means all files and includes hidden files
pwd : Prints the current working directory
mkdir : The purpose is to make a new directory in the file system
rmdir: Removes the directory from the filesystem
Installation of Program
Nmap: I choose to install Nmap because it scans for vulnerabilities on your network, performs inventory checks, and monitors host or service uptime, alongside many other useful networking and port features.
First I updated the Ubuntu packages on the device using: sudo apt-get update
Next, I ran the installer: sudo apt-get install nmap
After the installation I checked the version number and that it was properly installed: namp --version
Lastly, I ran a Nmap scan: nmap [hostname] or nmap [ip_address]
Class Exercise:
Used Wget to download data in Zip Format
Installed and Used unzip Command to unzip data.zip
To View the amount of space, I used the -Zt option in the unzip command to view the amount of files and space
Used VIM to View all Files. By using VIM you can also view and edit the contents of files