Börjat på labbrapport för labb5 och påbörjat övning 5, labb 6

This commit is contained in:
2013-12-19 17:32:36 +01:00
parent eef55b9afb
commit 027e8b9ac9
2 changed files with 18 additions and 0 deletions

10
Labb6/ovning5.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
for i in `df -h | awk '/\/dev\/sd*/ { print $1 }'`; do
Disk[$Nr]=$i
((Nr++))
done
echo ${Disk[@]}
exit 0