Reference no: EM132629058
Bash brace expansion
A. You have a private network, with a subnet mask of:
255.255.0.0
Create a file name be1.sh that does the following.
Has a one line, brace expansion command, that will create all the IP addresses for the network:
10.1 and 10.2
Having hosts from 0.1 through 0.255
With the output going to standard out, the terminal.
B.Research the bash tr command, for translating text.
Make the IP list created in be1.sh, comma seperated.
expansion
Create a bash script named te1.sh that does the following on your Centos 7 server.
1. Use tilde expansion to change to the directory of the home directory for you none root account.
2. Use the pwd to write your current working directory.
3. Use tilde expansion to change to the directory where your RSA public key is located, for you none root account.
4. Use the pwd to write your current working directory.
5. All output goes to standard out, the terminal.