]>
git.ipfire.org Git - ipfire-2.x.git/blob - tools/version-check.sh
3 # Einfaches Skript zum Auflisten der Versionsnummern wichtiger Werkzeuge
5 echo "BENOETIGT - VORHANDEN"
6 echo -n "Bash-2.05a - "
7 bash
--version |
head -n1 | cut
-d" " -f2-4
9 echo -n "Binutils-2.12 - "
10 echo -n "Binutils: "; ld
--version |
head -n1 | cut
-d" " -f3-4
12 echo -n "Bzip2-1.0.2 - "
13 bzip2 --version 2>&1 < /dev
/null |
head -n1 | cut
-d" " -f1,6-
15 echo -n "Coreutils-5.0 - "
16 echo -n "Coreutils: "; chown
--version |
head -n1 | cut
-d")" -f2
18 echo -n "Diffutils-2.8 - "
19 diff --version |
head -n1
21 echo -n "Findutils-4.1.20 - "
22 find --version |
head -n1
25 gawk
--version |
head -n1
27 echo -n "Gcc-2.95.3 - "
28 gcc
--version |
head -n1
30 echo -n "Glibc-2.2.5 - "
31 /lib
/libc.so
.6 |
head -n1 | cut
-d" " -f1-7
34 grep --version |
head -n1
36 echo -n "Gzip-1.2.4 - "
37 gzip --version |
head -n1
39 echo -n "Linux-Kernel-2.6 - "
40 cat /proc
/version |
head -n1 | cut
-d" " -f1-3,5-7
42 echo -n "Make-3.79.1 - "
43 make --version |
head -n1
45 echo -n "Patch-2.5.4 - "
46 patch --version |
head -n1
48 echo -n "Sed-3.0.2 - "
49 sed --version |
head -n1
52 tar --version |
head -n1