Intro to Programming Environment 1. Today You Will Learn how to connect to a machine remotely with “nomachine NX client” Learn how to create a new “source.

Slides:



Advertisements
Similar presentations
Introduction to the Mac user-interface The Mac user interface is subtly different from the Microsoft Windows interface So we will spend a few minutes pointing.
Advertisements

Introduction to Computers Section 6A. home The Operating System (OS) The operating system (OS) is software that controls the interaction between hardware.
Macintosh OS X. What is an operating system? O Like cars, computers have operating systems (sometimes abbreviated OS). O A computer operating system is.
Dayu Zhang 9/8/2014 Lab02. Example of Commands pwd --- show your current directory This is home of venus, not your home directory Tilde: means you are.
CSCI 1411 FUNDAMENTALS OF COMPUTING LAB Lab Introduction 1 Shane Transue MSCS.
CS1020: Intro Workshop. Topics CS1020Intro Workshop Login to UNIX operating system 2. …………………………………… 3. …………………………………… 4. …………………………………… 5. ……………………………………
Virtual Machine and UNIX. What is a VM? VM stands for Virtual Machine. It is a software emulation of hardware. By using a VM, you can have the same hardware.
File sharing. Connect the two win 7 systems with LAN card Open the network.
Editing Java programs with the BlueJ IDE. Working environments to develop (= write) programs There are 2 ways to develop (write) computer programs: 1.Using.
Linux Shell. 2 Linux Command-Line Interface ■ Linux shells: A shell is a command interpreter that allows you to type commands from the keyboard to interact.
Using Macs and Unix Nancy Griffeth January 6, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis of Complex.
The Unix Environment and Compiling. Getting Set Up Your programs will be compiled and tested on the Departmental server ‘linprog’ The linprog servers.
MCB Lecture #3 Sept 2/14 Intro to UNIX terminal.
CprE 288 – Quick intro for compiling C in Linux
Unix Tutorial for FreeSurfer Users Allison Stevens.
1 Day 3 Directories Files Moving & Copying. 2 Case Sensitive First thing to learn about UNIX is that everything is case sensitive. Thus the files: –enda.
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
Computer Information Use your own login and password if possible. To get a password, you must turn in the AUP sheet handed out at registration or sent.
CSN08101 Digital Forensics Lecture 1B: Essential Linux and Caine Module Leader: Dr Gordon Russell Lecturers: Robert Ludwiniak.
Essential Unix at ACEnet Joey Bernard, Computational Research Consultant.
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction Unix-like system is everywhere Linux Android for smartphones Google Chrome OS for Chromebook Web.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
Accessing your Files from Home Galloway Township Public Schools The District provides a service for accessing common programs and user’s files from any.
Computing Fundamenatls CMSC 201 Computer Science I Penny Rheingans University of Maryland Baltimore County (with inspiration from previous 201 instructors.
Unix Tutorial for FreeSurfer Users. Helpful To Know FreeSurfer Tutorial Wiki:
Unix Tutorial for FreeSurfer Users. Helpful To Know FreeSurfer Tutorial Wiki:
CPSC 217 T03 Week I Part #1: Unix and HELLO WORLD Hubert (Sathaporn) Hu.
Downloading and Installing Autodesk Revit 2016
CSS Linux and Eclipse 1. CSS Account Log into your CSS account with the NoMachine client (NX client) 2.
Windows Listening Guide.  The software that manages the sharing of the resources of a computer. The overall function of the computer.  MASTER CONTROLLER.
Chapter 1 : The Linux System Part 2 Lecture 2 11/14/
Unix and Samba By: IC Labs (Raj Kidambi). What is Unix?  Unix stands for UNiplexed Information and Computing System. (It was originally spelled "Unics.")
A Genomics View of Unix. General Unix Tips To use the command line start X11 and type commands into the “xterm” window A few things about unix commands:
Unix Commands PowerPoint Presentation developed for LS 560 Information Technology online class - University of Alabama by Debey Sklenar TENacious Cohort.
Introduction To UNIX. FAQReferencesSummaryInfo Resources Introduction Learning Objectives Log on User Interface Commands List of Commands Useful Info.
Lecture One. Objective: Provide description of the Command-Line Editor of Linux operating system. Enable students to understand the practical side of.
1 Perl Note, I am hoping that we can accomplish all we need to with CSS accounts, Linux, and the NoMachine client -- since these already have Perl installed.
VDI-in-a-box TM 1 Kaviza Client End User Quick Start Manual.
The desktop (overview) Working with desktop icons The desktop is the main screen area that you see after you turn on your computer and log on to Windows.
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop III - Part A Shell Commands Professional Training.
Operating Systems. An operating system (os) is a software program that enables the computer hardware to communicate and operate with the computer software.
Unix Servers Used in This Class  Two Unix servers set up in CS department will be used for some programming projects  Machine name: eustis.eecs.ucf.edu.
Agenda Using FTP What is FTP? How to Use the FTP Program How to transfer files Using FTP.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
Linux A practical introduction. 1)Background and Getting Started Linux is an operating system with multiple providers Red Hat/CentOS (our version) Ubuntu.
 Last lesson, the Windows Operating System was discussed along with the Windows command shell  Unix is a computer operating system, that similarly manages.
Unix Fundamentals CS 127. File navigation cd - change directory cd /var/log cd /etc/apache2 cd ~/Desktop ~ is a shortcut for the home directory.
Explore GNOME The easy way, using a live CD By Carl Weisheit.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
 CSC 215 : Procedural Programming with C C Compilers.
Review Why do we use protection levels? Why do we use constructors?
Fundamentals of Windows Mouse n 4 Basic Operations: –Pointing –Clicking –Double Clicking –Dragging.
Tutorial Six Linux Basics CompSci Semester Two 2016.
Overview of Linux Fall 2016 Dr. Donghyun Kim
Introduction to Unix for FreeSurfer Users
ENEE150 Discussion 01 Section 0101 Adam Wang.
How to Work on your METEO 473 codes from your PC at home
CS1010: Intro Workshop.
CSC227: Operating Systems
Getting started with CentOS Linux
Command Line Basics.
Web Programming Essentials:
The Linux Operating System
WELCOME FREESURFER COURSE ATTENDEES!
Intro to UNIX System and Homework 1
WELCOME FREESURFER COURSE ATTENDEES!
Module 1: Getting Started with Windows 95
Getting started with CentOS Linux
CGS 3175: Internet Applications Fall 2009
Windows.
Presentation transcript:

Intro to Programming Environment 1

Today You Will Learn how to connect to a machine remotely with “nomachine NX client” Learn how to create a new “source file” with an editor (gedit) Learn how to edit a perl program Learn how to execute a program You will learn some basic Linux commands 2

Background Our development platform of choice is Linux (specifically Open Suse) (if you are curious) Our interpretor of choice is perl (if you are curious) Why do we have to use Linux when XP/MacOSX/Vista/Sun is the best OS and Bill Gates/Steven Jobs/Scott MacNealy is the smartest/richest person in the world? 3

Linux Reasons for using Linux: Open source means we have access to every line of code Open source means we have control over the OS Cost Uniform platform (that way when you write your program on Linux and you get it to work, the TA can run it on Linux and it will also work) The college of engineering is currently supporting this platform 4

The FIRST time you connect, you will use the “NX Connection Wizard” For subsequent connections, you only need to use the “NX Client for Windows” 5

6

7

8

Check this box if you want a Shortcut created on your desktop 9

10

11

Click to close annoying “Useful Tips” 12

Click here to Open menu 13

Click on Applications then Utilities Scroll down: HINT – if you don’t get the scroll bar – you can just use the “arrow down” on the keyboard. Click on “Utilities” 14

Select “Editor” 15

Select “Text Editor gedit” 16

Now we have a screen in which we can type in a program 17

18 Type in one of the world’s simplest programs

File -> Save AS… 19

Type in file name – hello.c The “dot-c” is a convention to specify that this is actually a “C” source file Note – the procedure for saving files in discussion will be slightly more complicated – the TA’s will cover that in discussion 20 Enter file name:

Does your program “look” any different now? 21

Now select “Applications” --> “System”  “Terminal”  “Terminal Program Konsole” 22

Your screen will look something like this. 23

ls – command lists all files/directories 24 Note the “hello.pl” file Also – you are likely to have different files in your account (my directory is a mess and should probably be “cleaned up.”)

perl hello.pl -- this executes your source code 25

Unix and Linux basics: ls – list files and directories perl – invoke the interpreter gedit – start our editor from the command line mkdir dir1 – make a directory with the name “dir1” (aka called folders by Windows and Mac users) cd dir1 – navigate down one directory level to “dir1” cd.. – move up one level in a directory structure rm hello.pl – this will permanently remove the file “hello.pl” CAUTION – once you do this – there is NO getting your file back (you can also rm a directory once it is empty of files) There is also a way to rm multiple directories/files – but maybe we’ll show that at a later time 26

Navigating a File System Students tend to be more comfortable navigating a file system with Windows because of the graphical representation Ex.) My Computer  (C:) Local Disk  Documents and Settings , etc…. However, the concept is the same with Linux cd My Computer/Local Disk/Documents and Settings You can navigate “down” (or up) multiple levels with “cd” 27

Your CSS account and “home” All CSS accounts have a “home” directory cd – without any parameters always takes you to your “home” directory pwd – print working directory 28 $ cd $ pwd /usr/eng/tbraun $ pwd /nfs/server00/local/vol00/t/b/tbraun Note that if you perform ‘pwd’ before you ‘cd’, you will see a “strange’ home directory – this has to do with how the drives are shared across the network. These are in fact the same directory. After you ‘cd’ – you will always see /usr/eng/tbraun

Making a directory, and traversing mkdir EPS2 cd EPS2 mkdir hw1 cd hw1 gedit hw1.pl (save and quit) cd cd EPS2/hw1 cd.. 29

30 To end your connection – click this little red button After you click the little red button below – after a few seconds, this entire window will close. ENDING your session

Connecting from off-campus You may download and install the “NX client” from virtually any machine including PC, Macs, and Linux Select “NX Client for Windows” if you are using Windows, etc. 31

Other ways of doing things You should play around with the desktop. You will find there are multiple ways to navigate (try My Computer -> My Home Folder)