Main Computer Science Lab (NPB 2.118)

Last Updated:  1/18/2023

The CS Main Lab is Open 6:30AM to 11:00PM Monday to Saturday. 

All Computer Science virtual resources are still available for use such as the Virtual Desktop Infrastructure (VDI) and server access. The CS Main Lab is open for in-person access when the building is open, which is currently only from Monday - Saturday. Tutoring is located in NPB 2.118, with parallel online tutoring using Slack. 

CS Main Lab Resources
Resource Details
Tutoring for CS courses (excluding MATLAB) 

All CS tutors (except MATLAB) will be available for assistance in the CS Main Lab located in NPB 2.118, during the assigned schedules listed below. 

CS Tutoring - Spring 2023

UTSA COS Tutoring Services

UTSA Student Academic Support Webpage

Tutors are still being hired, so there may be limited availability for the first couple of weeks!

Slack Lab Tutoring Getting started for UTSA CS Slack. Click here 

MATLAB Tutoring Resources

MATLAB tutoring is online via Slack Lab. Follow the instructions on your syllabus to get access. Resources

UTSA is piloting on-demand 24/7 tutoring to connect students with qualified tutors across multiple subjects. The participating CS courses for are:

  • CS 1083 (Programming for Computer Scientists)
  • CS 1714 (Programming II)
  • CS 2124 (Data Structures)
  • CS 2233 (Discrete Mathematical Structures)

For a directory of active CS student organizations at UTSA, please visit the Student Life page.

CS Main Lab Frequently Asked Questions
Category Q&A
Linux Related Questions

What is Linux?

  Linux Overview

What can I do to get more help about Linux, vi, and ddd?

  vi cheat sheet

  unix cheat sheet

  ddd Tips (this helps with learning the ddd debugger)

Login and Remote Access

How do I login to Virtual Desktop Infrastructure (VDI)? This can be done either from home or from any UTSA computer.

VDI login

How do I get on to the UTSA network using Virtual Private Network (VPN) from home?

Remote Access

How can I connect to the CS Linux servers? Note: you need to be connected to the VPN (or using the VDI) before this step.

VPN or VDI to Linux


Transferring Files

How can I get ssh on my Microsoft Windows workstation at home?

  MobaXterm (download MobaXterm) 

How can I transfer files on the UTSA Linux servers to Microsoft Windows on my own machine?

  Use MobaXterm to ssh files from UTSA Linux Servers


How can I remove carriage returns (\r) from Microsoft files on Linux?

  To see if a file contains carriage returns:

  cat filename | od -c

  To remove carriage returns from a file you can use either of these:

  dos2unix filename

  sed  -i 's/\r//'  filename 

How can I create a zip file containing several files in Linux?
    As a command, type: 
      zip -r fileName1 filename2  ...

Compiling C code on Linux (not using the Netbeans IDE)

How do I compile C (.c) source files?

  Compile only:

  gcc -c filename.c

  Compile and link:

  gcc -o executableName filename.c

  Link only (using .o produced by gcc -c)

  gcc -o executableName filename.o

How can I simplify the compilation process for C programs when it has multiple source files?

  Unix make utility

Using the Netbeans IDE for C on Linux

The Netbeans IDE integrates an easy-to-use text editor, make capability, gcc, and a debugger. This document provides a foundation for the use of netbeans for C in Linux:

  Netbeans For C in Linux

Compiling Java code on Linux

How can I compile and run java code on Linux?

  Using Java on Linux


I would like to initially use Microsoft Visual Studio (express) from Windows before uploading my code to UTSA. How do I set up Visual Studio for C?

  Using Microsoft Visual Studio


How do I login to Blackboard? 

  From the UTSA main web page,

  1.       On the menu at the top of the page, select: myUTSA > Blackboard Learn

  2.       Enter your abc123 id.

  3.       Enter your pass phrase password.

  4.       Blackboard will show a list of courses. Select your course.

  5.       You will see some items listed on the left side provided by the instructor. Select what you need.


For other remote learning resources, please visit our CS Remote Instruction webpage.