This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Testing the Installation on Unix and Linux

The following simple commands allow you to test the installation of Mathematica. Running these commands does not guarantee that the installation was successful, but a failed command can indicate that a serious problem occurred during installation.
You should run these tests from a regular user account and not from an account with administrator privileges.
To run Mathematica using a network license, both the client machine and the license server must be on the network and MathLM must be running.
If you run into problems when doing these tests, see the troubleshooting tips in "Troubleshooting on Unix and Linux". If you do not find the answer there, check the Technical Support website at support.wolfram.com/mathematica.

To Test the Kernel:

1.  To start the kernel, type math in a shell and press Enter.
2.  Type N[Pi, 20] and press Enter. The number in the output should match the output shown here.
3.  To exit the kernel, type Exit and press Enter.
On Unix and Linux, you can test the kernel on a remote machine by using the command ssh hostname /usr/local/bin/math. (The exact pathname could be different depending on how Mathematica was installed.) This command will launch the kernel on the remote machine hostname. When you see the In[1] label, follow step 2 and step 3 in the previous instructions.

To Test the Front End:

1.  Make sure that you are running X. Launch Mathematica by typing mathematica in a shell and pressing Enter.
2.  Click anywhere inside the leftmost empty window. This window is a Mathematica notebook.
3.  Press the Esc key. You should see three small horizontal lines in a column (). Type int and press Esc again. You should see an integral sign ( ). As an additional font check, typing \[CheckmarkedBox] and \[CirclePlus] should print the symbols and , respectively. If the symbols show up correctly, the fonts have been properly installed.
4.  From the Help menu, choose Documentation Center. The Mathematica Documentation Center should appear.
On Unix and Linux, you can test the X front end remotely, provided the ssh server on the remote machine allows X forwarding. You must be running X on the local machine to do this. In a shell, type ssh -X hostname /usr/local/bin/math. (The exact pathname could be different depending on how Mathematica was installed.) This command will launch Mathematica on the remote machine hostname. When the splash screen appears on your screen, follow step 2 and step 3 in the previous instructions.