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