1. Run the ifconfig command. It displays details about the network interfaces. Look for the paragraph corresponding to the eth0 interface and find its IP address. Using what you've learned so far, write a one-liner that displays only the IP address of this interface on the screen. (Hint: grep, cut, tr)

image.png

  1. Display the contents of the /proc/cpuinfo file. Extract only the processor name using a one-liner.

image.png

  1. Using the /proc/meminfo file, write a one-liner (a series of commands on a single line, without needing a script) that displays the available memory and the total installed memory.

image.png

  1. The command traceroute google.com displays the path to the Google server. Save these routes to the file routes.txt (Hint: I/O redirection >).

image.png

  1. Display the contents of the routes.txt file, ignoring lines with * * *.

image.png