Question: On a basic Linux server following services are required. Write down appropriate commands for each of the following requirements (2*6) Assign a dynamic IP address

On a basic Linux server following services are required. Write down appropriate commands for each of the following requirements (2*6)

  • Assign a dynamic IP address to a client on interface eth0 and then change its mac address.

  • Find out the path of the packet to the server on (172.16.10.19), put your system in promiscuous mode.
  • Find out the number of IP addresses used by google.com. Then ping google such that 6 packets of 70 KB are sent having interval of 2 secs between the packets.
  • Rename file present on Desktop from file.txt to newfile.txt and assign its ownership to User Ali and Group Students.
  • Display all user accounts and groups. Then forcefully expire password of any two users.

Display all files in /opt/ starting with s and have .txt extension

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!