Main Computer Science Lab (NPB 2.118)

Last Updated:  11/4/2021

The CS Main Lab is Open 6:30AM to 11:00PM Monday to Saturday. The lab is closed on Sundays. Hence, tutoring on Sundays will happen online through zoom chat. 

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.

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. The same tutors will also provide assistance online using Zoom Chat. 

Tutoring Schedule


MATLAB Tutoring Resources

MATLAB tutoring is online via Zoom Chat. 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)?

  VDI login

How can I get to Linux servers from home?

  VPN or VDI to Linux

How can I remotely get to UTSA servers?

  Remote Access

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.