Advertisement
Guest User

version-check.sh

a guest
Jun 30th, 2012
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.67 KB | None | 0 0
  1. #!/bin/bash
  2. # Simple script to list version numbers of critical development tools
  3. bash --version | head -n1 | cut -d" " -f2-4
  4. echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-4
  5. bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f1,6-
  6. echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2
  7. diff --version | head -n1
  8. find --version | head -n1
  9. gawk --version | head -n1
  10. gcc --version | head -n1
  11. /lib/libc.so.6 | head -n1 | cut -d" " -f1-7
  12. grep --version | head -n1
  13. gzip --version | head -n1
  14. cat /proc/version | head -n1 | cut -d" " -f1-3,5-7
  15. make --version | head -n1
  16. patch --version | head -n1
  17. sed --version | head -n1
  18. tar --version | head -n1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement