Create a Bash file that will find the ip address of a pc, and display to the screen.
#!/bin/bash echo `ifconfig eth0 2>/dev/null|awk '/inet addr:/ {print $2}'|sed 's/addr://'`
Create a Bash file that will find the ip address of a pc, and display to...
Create a Batch file that will find the ip address of a pc, and display to the screen please provide pics
Create a program that will ask for the name, age, address, and favorite food of the user. After which, create a calculator with ADD, SUB, MULTI, and DIV. Then the program will display all the user have inputted in bash program ACTIVITY 4: Create a program that will ask for the name, age, address, and favorite food of the user. After which create a calculator with ADD, SUB, MULTI, and DIV. Then the program will display all the user have...
What is the hostname of your RPi? What is a Class C internet address? What is a non-routable IP address? What is the internet or exposed IP address of your RPi (not the Class C address)? Provide a screen shot of how you determined what your internet IP address is. What command did you use to identify your internet IP address? What command did you use to create c0ntr07? What command did you use to create the password? How can...
Imagine that a host with IP address 162.34.42.84 wishes to download a file from the web server at IP address 190.18.20.132. Select a valid socket pair for a connection between this pair of hosts. a. 162.34.42.84:150 and 190.18.20.132:80 b. 162.34.42.84:80 and 190.18.20.132 :3500 c. 162.34.42.84:2000 and 190.18.20.132:80 d. 162.34.42.84:80 and 190.18.20.132:80
Create a bash script that permanently redirects the scripts output to a file. Once the output is permanently redirected execute 3 commands of your choosing within the script. Be sure that the script finishes by restoring output back to STDOUT
please help for networking Consider the following PC configuration IP address:192.168.255.2 Subnet Mask:255.255.255.0 Default Gateway192.168.254.1 The default gateway must be on the same network as the host. Is it? Yes or No _____yes_________
You are given a class B IP Address of 169.33.0.0 and you need to create a network with at least 20 subnets and at least 100 hosts in each subnet. Answer the following questions (answers may vary): 1. What subnet mask will you choosse? 2. State what are the IP addresses for: a. The IP address of each subnet b. The IP address of the first host in each subnet c. The IP address of the last host in each...
Write a command to display the address of the inode table for a file named a.txt
LINUX 140U Create a file named script1.sh that contains a bash script that: Accepts NO command line arguments and does NOT use the read command. I will give you no credit if your bash script includes a read command. Also, you need to have at least one for..in loop in your code even if there may be other ways to do this problem. The script will go through a list of entries in the current directory (do not process subdirectories):...
Create a file using echo command Display properties of the file Check whether file is readable or not If it is readable then read content and display content of the file on the monitor Check syntax of the script and execute Deliverable: shell script (filetest.csh) and logfile (results.log)