Hello
I need help creating a bash script for linux as shown below getting the information from ifconfig The script must programmatically gather and output the informationEXACTLY AS SHOWN BELOW and (not echo this and echo that).
======================================
Interface: AAA
MAC Address: BB:BB:BB:BB:BB:BB
IP Address: CCC.CCC.CCC.CCC
Subnet Mask: DDD.DDD.DDD.DDD
Received Bytes: EEEEEE
======================================
Thanks,
For gathering the ifconfig the bash script is
ifconfig | pel-nle 's/dr:(/s+)print $1/e'
otherwise you can use the below
ifconfig| awk'/inet addr/{print substr($)}'
Hello I need help creating a bash script for linux as shown below getting the information...
Hello I need help creating a bash script in linux for the following question: Create a script to expand the jpeg creator to create other types of files such as pdf, png, gif, etc. The jpeg creator is the following: #!/bin/bash FILE=$1 echo -e -n "\xFF\xD8\xFF\xE0"> $FILE dd if=/dev/random bs=512 count=4 >> $FILE
Hello, I need help creating a bash script for the following question, please also show screen shot of running the program, thank you for your help in advance Create a script to create files such as jpeg, pdf, png, gif, etc.
I am using Linux and looking for the below scripts. Message script: the first script should display the IP address, machine name and path to the script. (This addition will help me to find your script when I look for it on your server.) Pause script: the second script should pause for 30 seconds. By creating this script separate from the first, we can run it at boot up when a pause might be helpful (so the output from the...
Hello, I need help with the questions below. And, can you show your work so I can understand how you got your answer. Without the work, I won't be able to comprehend how you split the subnets. Please and thank you. Name Day/Night Homework 5 Subnetting For the Class A network 5.0.0.0 which has been subnetted into 2 subnets, fill in the following chart (dotted decimal). Show your work. (6 points) Network Address Broadcast Address Host Address Range First Subnet...
Please write a BASH Script in LINUX that... 1. is actually executable 2. has a comment to tell us what you did, why and how. 3. allows a user to enter their name and a number between 1 than 100 (this must be prompted so the user knows what to do) 4. creates a random number between 1 and 100 for you to guess. The command to create a random number is shown below. (if you find a better one...use...
can you please help me with this homework. DCOM 101 – Introduction to Data Communications Final Project Instructions: In this Final Project, you will test the skills and knowledge gained throughout this course. The steps listed below are loosely based on the Assignments you have completed thus far, so don’t hesitate to look back and use those resources. Follow the steps in each section, and paste screenshots when prompted. This assignment is worth 10% of your final grade. Basic Network...
computer networks help please !!! could someone help with the following tasks! ANY HELP WILL BE IMMENSELY APPRECIATED! THANKS. Task 1 In the following scenario, we would like to find out more information about a host that is on out network. Given an IP address we would like to search for additional information, we can start with obtaining the IP address off the default route. When running on a Linux VM, this like most likely to be the internal IP...
hello, I just need help on the process of getting question 8 thanks Use the information given below to answer the next three questions. February 14, 2006, marked the 60th anniversary of ENIAC, the first computer in the world. In a Computerworld magazine interview, ENIAC's inventor Pres Eckert explains how they chose the right type of wires back in 1946: "We only used wire that passed the mouse test". They threw a number of wire samples in a cage full...