Main Computer Science Lab (NPB 2.118)

Last Updated:  05/28/2020

**Disclaimer: The CS Main Lab is closed until further notice.**


Many of our classrooms in the North Paseo Building (NPB) have been provided with Virtual Desktop Infrastructure (VDI) access.

CS Main Lab Resources
Resource Details
Where is the Main Computer Science Lab located?  The Main Computer Science Lab is in NPB 2.118 (North Paseo Building) on the Main 1604 Campus.

Mon-Sat: 6:30AM - 12:30AM

Sun: 1:00PM - 8:00PM


60+ Dell Thin Client Virtual Desktop Infrastructure (VDI) Terminals

30 Linux (14.04) Workstations

Tutor and Teaching Assistant Schedules

Online Tutoring Schedule Spring 2020 

People Schedule Spring 2020 

Online Tutoring via Discord

All CS tutors and TA (except MATLAB) assistance services will provide online via Discord.

The tutoring schedule for each class is provided here.

For information on how to access the CS Tutoring Discord Channel click here

MATLAB Tutoring Resources

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 VDI?

  VDI To Linux

How can I remotely get to UTSA servers?

  Remote Access

  There is also a Linux Virtual Machine which can be accessed directly from VDI


How can I change my password in VDI when I am on a PC Workstation?

  ChangingPasswordInWindowsVDI (broken link - check back soon)

Transferring Files

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

  MobaXterm (download MobaXterm) 

How can I transfer files on Microsoft Windows to UTSA Linux servers?

  Use MobaXterm to ssh files to UTSA Linux Servers

  ssh files to 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.