Linux-Command Hands-On (DF)
OBJECTIVE:Aim of this practical is to show you all the possible cases of df command in a real time situation.This kind of practical make you expertise in solving big IT problem in minimum effort.
1. Suppose you have list of multiple servers where you have want to check all the local filesystem.How will you overcome with this problem ?
Solution:
#!/bin/bash
for i in $(cat hostname.txt)
do
ssh $i df -a
done
For more problems Please click on below link

Comments
Post a Comment