-
Notifications
You must be signed in to change notification settings - Fork 218
Terminal Help
Linux shell in a browser tab. The CoCalc terminal environment brings the Linux command line to you in a browser tab. It appears when you open a file with extension .term
.
Extended Command Set. In addition to the usual commands available at user level in Ubuntu Linux, there are command line programming interfaces for sage, python2, python3, R, gap, java, julia, and octave. There is an extensive list of added executables at the CoCalc installed software list.
Collaboration and Side Chat. Like any other application in CoCalc, the terminal environment allows more than one user to enter commands and view results in the same session. It also allows users participating in the same session to share comments by opening a chat for the terminal session by clicking the Chat icon at upper right.
Disconnect and Resume. If you disconnect your browser from CoCalc while you have a terminal session open, the contents are preserved until you reconnect, as long as the project is not restarted.
Multiple Terminals in a Single Browser Tab. You can use buttons at upper right to split the terminal frame vertically or horizontally. The split defaults to the middle of the frame, but the dividing line can be dragged to give more space to one of the new frames and less to the other. You can continue splitting to get even more frames in a single browser tab. Click the x
icon at upper left to close a frame.
Terminal Environment in Split Frame with File Editor. If you open a source code file in CoCalc for editing, for example a .sh, .py, .R, or .rb file, you can split the editor frame and add a command session. That way, you can easily move between editing and running the code. There's a screenshot of this at the Programming page in the CoCalc wiki.
Anaconda Environment. To use the Anaconda data science platform, enter the command anaconda5
in a terminal session. The shell prompt will change to notify you that you're now working in the default ("base") anaconda environment. To exit the
anaconda platform and continue your terminal session, use the command exit-anaconda
.
Note: an older version of anaconda is temporarily available with the command anaconda3
. We recommend all new applications use anaconda5
.
Learn more. Find out more about the Linux command line at the Linux Tutorial, which is one of several introductory topics at Ryan's Tutorials.
Problems? Are you experiencing any problems or is something missing? Click the help
button at upper right while you are logged into CoCalc
to open a help request, or send email to [email protected].
This Wiki is for CoCalc.com.
A more structured documentation is the CoCalc User Manual.
For further questions, please contact us.