~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to wiki/underlay/pages/HelpOnInstalling(2f)TroubleShooting/attachments/is_python_here.sh

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20080622211713-inlv5k4eifxckelr
ImportĀ upstreamĀ versionĀ 1.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
echo Content-Type: text/plain
 
3
echo
 
4
echo "Your web server is running as:"
 
5
id
 
6
echo "CGI scripts work"
 
7
echo "Now we try to invoke Python interpreters and get their versions:"
 
8
python -V 2>&1
 
9
python2 -V 2>&1
 
10
python2.0 -V 2>&1
 
11
python2.1 -V 2>&1
 
12
python2.2 -V 2>&1
 
13
python2.3 -V 2>&1
 
14
python2.4 -V 2>&1
 
15
echo "Finished."