Documente Academic
Documente Profesional
Documente Cultură
(i) ping
(ii) arp
(iii) finger
(iv) diskperf
(v) rcp
Ans:
(i) /bin
(ii) /usr/bin
(iii) /sbin
(iv) /tmp
(v) /boot
Ans:
Shell Script
Main.sh
Output:
Ans:
Shell Script
Main.sh
Output:
Ans:
Ans:
Ans:
Ans:
The above command will pick up all of the necessary dependencies and complete the
installation without error.
Specify the default lease times with the following two lines:
default-lease-time 3600;
max-lease-time 7200;
#authoritative;
Next, scroll to the end of the file and add the following (making sure to modify it to fit your
networking needs):
At this point, any clients on your network will pick up a DHCP address from this newly
configured server. If you had DHCP addresses distributed by another source, you'll want to
shut down that source, otherwise you could wind up with a conflict on your network.
Lease addresses
IF YOU WANT TO FIND OUT WHAT IP ADDRESSES HAVE BEEN GIVEN OUT BY THE SERVER,
ISSUE THE COMMAND:
dhcp-lease-list
The above command will list out all addresses that have been handed out
Command route
The command route is used to modify and check the existing routes. To check the routing
table using route command,
Shell
$ route
1
$ route
Command: route -n
Shell
$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0
192.168.0.0 0.0.0.0 255.255.255.0 U 9 0 0 wlan0
This will give the output with out resolving the names