clfs-version-check.sh

2013-02-03

# Simple script to list version numbers of critical development tools

#!/bin/bash

bash --version | head -n1 | cut -d" " -f2-4

echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-

bison --version | head -n1

bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f1,6-

echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2

diff --version | head -n1 find --version | head -n1

gawk --version | head -n1

gcc --version | head -n1

$(find /lib{,64} -name libc.so.6) | head -n1 | cut -d" " -f1-7

grep --version | head -n1

gzip --version | head -n1

uname -s -r

make --version | head -n1 tic -V

patch --version | head -n1

sed --version | head -n1

tar --version | head -n1

which --version | head -n1

openssl version

file --version | head -n1

busybox | head -n1

netstat -V| head -n1

makeinfo --version | head -n1

 

分类:Linux操作系统 | 标签: |

相关日志

评论被关闭!