Readings

The readings for Monday, January 25 are:

  1. Chapter 5: I/O Redirection

    Note: Unfortuantely, the syntax for I/O redirection is different for CSH and Bash.

  2. Chapter 10: Networking

  3. A tmux primer

Optional:

  1. The Linux Command Line

    • Chapter 6: Redirection
    • Chapter 16: Networking
  2. Chapter 13 Basic Network Commands

  3. File Transfer Utilities

  4. How To Use Netcat to Establish and Test TCP and UDP Connections on a VPS

  5. The Ultimate Wget Download Guide With 15 Awesome Examples

  6. 10 nmap Commands Every Sysadmin Should Know

Also, please take a look at the manual pages linked below.

Questions

In your reading02/README.md file, describe what command you would use to accomplish the following:

  1. Capture the output of the uname command to a file called uname.txt.

  2. Find out the IP address of the local machine.

  3. Find out the IP address associated with a domain name.

  4. Check if a machine is responsive (reachable via the network).

  5. Securely transfer a file from between two machines.

  6. Execute a persistent shell session that you can detach and then re-attach.

  7. Download a file from a website.

  8. Scan a remote machine to see what ports are open.

Bonus activity: Grab some popcorn and then run the following command:

$ telnet towel.blinkenlights.nl

Commands

In the reading02 folder, write at least five summary pages for the following commands (since some of the commands perform similar functions, only choose one from each set):

  1. scp / sftp / rsync

  2. ping

  3. traceroute

  4. dig / host

  5. ip / ifconfig

  6. ss / netstat

  7. tmux / screen

  8. nc / telnet

  9. wget / curl

  10. nmap

Summaries

Note, your summaries should be in your own words and not simply copy and pasted from the manual pages. They should be short and concise and only include common use cases.

Feedback

If you have any questions, comments, or concerns regarding the course, please provide your feedback at the end of your response.

Submission

To submit your assignment, please commit your work to the reading02 folder in your Assignments Bitbucket repository by the beginning of class on Monday, January 25.