評分: 3 / 5 顆星

fileservice Platzverbrauch:

#Aufgabe: fileservice

echo "Sollen links oder Platzverbrauch gewaehlt werden? links oder Platz"
read ENTSCHEIDUNG

if [ "$ENTSCHEIDUNG" == "links" ]; then

echo "Sollen Hardlinks erstellt werden? ja oder nein"
read ENTSCHEIDUNG

if [ "$ENTSCHEIDUNG" == "ja" ]; then

mkdir hardlinks
cd hardlinks
ln ../"$1"

else
echo "Keine Aenderung vorgenommen!"
fi

echo "Sollen Symbolische Links erstellt werden? ja oder nein"
read ENTSCHEIDUNG

if [ "$ENTSCHEIDUNG" == "ja" ]; then

mkdir ../symlinks
cd ../symlinks
ln -s ../"$1"

else
echo "Keine Aenderung vorgenommen!"
fi

else

echo "Soll der Platzverbrauch berechnet werden? ja oder nein"
read ENTSCHEIDUNG

if [ "$ENTSCHEIDUNG" == "ja" ]; then

ls -s "$1" | head -n1

else
echo "Keine Aenderung vorgenommen!"
fi
fi
exit

此使用者對此附加元件 曾發表過 7 筆評論

評分: 5 / 5 顆星

Excellent feature, I use to find many answers in unix.com, now I have it available in my FF, lovely :)

此意見為舊版本 (20100215) 的附加元件。 

評分: 5 / 5 顆星

Very impressed, works first-time. Did exactly what it said on the tin.

此意見為舊版本 (20100215) 的附加元件。 

評分: 5 / 5 顆星

Hat's off to fpmurphy for developing this. I hope you will do the same for a man page search in the future!

Great job!

此意見為舊版本 (20100215) 的附加元件。