Command Line

We do lots of stuff 'at the command line' in CS courses at UCSB...

How to code through the command line for Mac

For Mac users, you can easily pull up the command terminal and simply start typing linux commands.

How to code through the command line for Windows

Unfortunately for Windows users, you have to jump through a couple more hoops to successfully code through the command line. If you opened the command terminal on a Windows computer, the terminal would not recignize any of the commands you use

Thankfully, there are a TON of different options for how you can go about this:

How to download MobaXTerm and connect to CSIL

Click this link and download MobaXTerm on your computer. Once downloaded and installed, open up the software.

To start using CSIL, you must ssh into your account. There are two ways to do this with Mobax:

  1. Click on “Session” on the top lefthand corner, then “SSh” in the top left-hand corner of the window that pops up. Under “Remote Host” put your csil account WITHOUT your username (something like csil-01.cs.ucsb.edu) then press ok. A command line will pop up asking your your CSIL username and password.

OR

  1. Simply click “Start Local Terminal” from the home page. Type in the command ssh username@csil-01.cs.ucsb.edu It will ask for your password.