Socrates Products

Search Socrates
Help Pages:

Other resources:
Information Systems
and Technology


User and Account Services

Socrates Products

Contents:
     Utilities: File Utilities, Text Editors
     Applications: Languages, Fortran Libraries, Statistical Analysis, Mathematical Packages, Web Browsers, News Readers

This page contains brief descriptions of some commonly used Socrates utilities and software packages.

Many unix programs on Socrates run in a terminal window. Some products with graphical user interfaces (GUI) require that you have a X Window System Server running on your workstation before running them from a terminal window.

A more complete list of products is also available. If you have any questions about the products on Socrates or would like to request a product to be installed, please contact socrates_consult@berkeley.edu.


Utilities

Almost all unix utilities are documented in a manual page. To view a manual page when logged in via a terminal or terminal emulation program enter:

man commandname
where commandname is the name of the command. To search man page titles enter:

man -k searchword

For more information about using Socrates see the help pages at:

http://socrates.berkeley.edu/Help/

File Utilities

Some basic file utilities on Socrates are:

cp ls mv rm scp sftp touch

Text Editors

Everyone has their favorite text editor. Text editor are usually invoke by entering the command name followed by a file name. Some text editors on Socrates are:

ed edit emacs ex gvim jove nedit nc pico red textedit vedit vi vim xe xedit xemacs

Applications

Languages

C is the traditional programming language for Unix systems. There are two C compilers on Socrates. Sun's Solaris C compiler may be invoked by either "cc" or "bsdcc". When invoked by "cc", it uses Sun recommended defaults which are System V in origin. When invoked by "bsdcc", it behaves more like a BSD C compiler. The second C compiler installed on Socrates is the GNU C compiler and is invoked by "gcc".

The GNU C++ compiler is installed on Socrates and can be invoked by either "g++" or "c++".

Some other languages with compilers or interpreters on socrates include:

  • Assembler, invoked by "as" or "f77 myprog.s"
  • Awk pattern scanning and processing language invoked by "awk" or "nawk"
  • Bc arbitrary precision arithmetic language calculator invoked by "bc"
  • Bourne shell invoked by "sh"
  • C shell invoked by "csh"
  • GNU Bourne-Again SHell invoked by "bash"
  • ISO C compiler invoked by " /opt/SUNWspro/bin/c89 "
  • Korn shell invoked by "ksh"
  • Fortran 77 invoked by "f77" or "g77"
  • Fortran 95 invoked by "f95" or "f90"
  • Java invoked by "java" or "javac" or " /usr/local/jikes-1.17/bin/jikes"
  • Metafont invoked by "mf"
  • Pascal invoked by "pc"
  • Perl invoked by "perl"
  • PHP invoked by "/usr/local/php-5.0.4/bin/php"
  • Python invoked by "/opt/csw/bin/python2.3" or " /usr/local/python-2.2.2/bin/python"
  • Rational Fortran invoked by "f77 myprog.r"
  • Stream editor invoked by "sed"
  • TC shell invoked by "tcsh"
  • Yet another compiler-compiler invoked by "yacc"

Fortran Mathematical Subroutine Libraries

The Numerical Algorithms Group Fortran Libraries are available on Socrates.

How to access NAG libraries on Socrates varies by the library used. For information about how to access and use the NAG Fortran mark 20 and mark 17 libraries with f77 on Socrates see:

NAG's (mark 17) HELP interface can be accessed by entering:

socrates % naghelp

Statistical Analysis

The R, SAS. SPSS and Stata packages are installed. Some packages have more than one version installed on Socrates. S-PLUS is no longer working on Socrates.

These programs are commonly invoked by:

socrates % R
socrates % R < myprog
socrates % sas -x
socrates % sas
socrates % sas myprog.sas
socrates % spss -m myprog.sps >! myprog.lst
socrates % xstata
socrates % stata9

Mathematical Packages

Mathematica, Matlab and Maple are available on Socrates.

These programs are commonly invoked by:

socrates % matlabdoc531 -i lynx
socrates % matlab
socrates % mathematica
socrates % math (or "math4")
socrates % math < infile > outfile
socrates % math3

To include input lines in your outfile insert AppendTo[$echo, "stdout"] as the first line in your Mathematica infile.

socrates % xmaple &
socrates % maple
socrates % mint infile

Web Browser

You can access the World Wide Web by the ascii browser "lynx".

socrates % lynx <URL>

lynx is a text (non-graphical-user-interface) web browser. To access the web, it is recommended that you use a web browser on a workstation.

News Readers

The recommended Usenet news reader on Socrates is Tin, invoked by "tin". You can post news items using "tin" or "Pnews".

In addition, you can use the older "trn" news reader or use Pine to read news.

Many workstation mail, news or web-browser programs are capable of reading Usenet News (group mail) on a workstation. In web browser requests, a news group name is proceeded by the protocol identifier: "news://" For more about Usenet News see


Please send comments to: For additional questions, see Questions.
Last updated 12 August 2008.