# CS Software
# Using the Command Line
# Linux Commands
- Note:
- All Linux commands are case sensitive
- All commands are permanent. There is no trash bin where deleted files are stored.
- The list of commands is found in the Advanced section here
# C++ Programming
For a detailed list of C++ Syntax, click here
# Compilers
- g++
- Used for C++ programs
- Usage:
g++ filename.cpp
- Bobby runs on C++ 98
- Sally runs on C++ 14
- The C++ version can be changed:
g++ -std=c++<version number> filename.cpp
- Eg.
g++ -std=c++17 assignment1.cpp
- Eg.
- Note: If you wish to compile to a different executable file than
a.out
, you can do so with the option-o
- Usage:
g++ -o executablefile source.cpp
or org++ source.cpp -o executablefile
- File Execution:
./executablefile
- File Execution:
- Usage:
# Text Editors
vim
- Simple text editor with some syntax highlighting
- Usage:
vim filename.extension
- Eg.
vim assignment1.cpp
orvim response1.txt
- Eg.
- Commands:
i - insert mode, used to edit the file
esc - used to escape current mode
0 - Moves to the beginning of the line
$ - moves the cursor to the end of the line
: - last line mode (used to enter in other commands)
w - used to save
- Usage: While in last line mode, type the colon (shift + ; ), type 'w' and press enter
wq - used to save and exit
- Usage: While in last line mode, type the colon (shift + ; ), type 'wq' and press enter
q! - exit without saving the file. Any unsaved changes are lost
a - append, inserts text after the cursor
i - inserts text before the cursor
o - opens a new line below the cursor
x - deletes the character below the cursor
dd - used to delete an entire line
- Usage: Hover over the line you wish to delete, then tap 'd' twice in quick succession
vi
- Simple text editor similar to vim
- Usage:
vi filename.extension
- Eg.
vi assignment1.cpp
orvi response1.txt
emacs
nano
# Free for Students
# VMware
OnTheHub Website (opens new window)
- Accounts for all CS students are created/updated at the beginning of each semester.
You should have an email from noreply@kivuto.com in your Rebelmail inbox.
If you don't, follow these steps:
- Go to Account Request Page (opens new window)
- For students:
- The email you provide must be your UNLV Rebelmail email (unlv.nevada.edu)
- List your major, expected graduation year, and CS classes that you are currently enrolled in under 'Issue Description'.
- For faculty and staff:
- The email you provide must be a UNLV email (unlv.edu)
- List your title and department.
- For students:
- Please allow three business days for the registration process. You should receive an automated email message with information about how to complete your registration.
- Go to Account Request Page (opens new window)
# Microsoft DevTools
# IDEs
- Require a .edu account
- No account required
- Eclipse (opens new window) - Java
- Visual Studio (opens new window) - A powerful IDE for developing softare. Useful for large softare projects.
- Visual Studio Code - Any (text editor that you must configure)
# Useful Software
- Putty (opens new window) - SSH client for Windows. You can use this to connect to the UNLV servers. Can also be installed on Mac with a Homebrew.
- MobaXterm (opens new window) - Another SSH for Windows. Supports multiple sessions.
- Terminus (opens new window) - An SSH client for Mac.
- Secure Shell (opens new window) - Remote terminal access for Chromebooks / Chrome OS / Chrome web browser
- WinSCP (opens new window) - A FTP client for Windows. Allows you to transfer files between your computer and the school servers.
- FileZilla (opens new window) - A FTP client for Windows, Mac, and Linux.
- VirtualBox (opens new window) - Virtual machine software for Windows, macOS, or Linux. Use this to run other operating systems on your native OS.
- VMWare (opens new window) - Another virtual machine software for Windows and Linux.