Yung-Hsiang Lu Purdue University

Slides:



Advertisements
Similar presentations
Linux, it's not Windows A short introduction to the sub-department's computer systems Gareth Thomas.
Advertisements

Learning Unix/Linux Bioinformatics Orientation 2008 Eric Bishop.
George Blank University Lecturer. Creating A Web Site at NJIT Professor Blank.
1 Basics of Linux On linux machine: Login at your home directory Open a “shell” or “terminal” or “xterm” workspace (4) On windows machine Intall linux.
CMPE 151: Network Administration Spring Class Description Focus: system and network administration. Sequence of exercises. E.g., installing/configuring.
Very Quick & Basic Unix Steven Newhouse Unix is user-friendly. It's just very selective about who its friends are.
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.
“Linux at the Command Line” Don Johnson of BU IS&T.
Embedded Programming and Robotics Lesson 13 Basic Linux 1.
1 Some basic Unix commands u Understand the concept of loggin into and out of a Unix shell u Interact with the system in a basic way through keyboard and.
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction What is Unix? An operation system (OS), similar to Windows, MacOS X Why learn Unix? Greatest Software.
A crash course in njit’s Afs
GETTING STARTED USING LINUX UBUNTU FOR A MULTI-USER SYSTEM Team 4 Lab Coordinator Manager Presentation Prep Webmaster Document Prep Faculty Facilitator.
Introduction to UNIX/Linux Exercises Dan Stanzione.
The Network Management Lab pc pc pc pc pc Virtual Servers Your Laptop.
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
Unix Primer. Unix Shell The shell is a command programming language that provides an interface to the UNIX operating system. The shell is a “regular”
Chapter 9 Part II Linux Command Line Access to Linux Authenticated login using a Linux account is required to access a Linux system. The Linux prompt will.
Essential Unix at ACEnet Joey Bernard, Computational Research Consultant.
CENT 305 Information Systems Security Linux Introduction.
Dedan Githae, BecA-ILRI Hub Introduction to Linux / UNIX OS MARI eBioKit Workshop; Nov , 2014.
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction Unix-like system is everywhere Linux Android for smartphones Google Chrome OS for Chromebook Web.
PROGRAMMING PROJECT POLICIES AND UNIX INTRO Sal LaMarca CSCI 1302, Fall 2009.
Session 2 Wharton Summer Tech Camp Basic Unix. Agenda Cover basic UNIX commands and useful functions.
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU Usage of Workstation Lecturer: Yu-Hao( 陳郁豪 ) Date:
Getting started: Basics Outline: I.Connecting to cluster: ssh II.Connecting outside UCF firewall: VPN client III.Introduction to Linux IV.Intoduction to.
Next Unix Topics Tuesday, 2/11 & 18/2014. Change Password (by 2/14/14) ssh to account on – faclinux.cse.ohio-state.edu – stdlinux.cse.ohio-state.edu passwd.
Introduction to UNIX Geraint Vaughan. What is UNIX? Command-line operating system (not point- and click) Designed for ‘experts’ Lots of different variants.
1 Remote Access Telnet Telnet FTP FTP. 2 Applications and Communications Telnet Telnet  Program for accessing systems remotely.  Available on Windows.
Intro to UNIX Presented by: Student Ambassadors: Lauren Lewis Martin Sung.
Introduction to Programming Using C An Introduction to Operating Systems.
COP3502: Introduction to Computer Science Yashas Shankar Lecture #2.
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.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
Lecture 02 File and File system. Topics Describe the layout of a Linux file system Display and set paths Describe the most important files, including.
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.
1 CS3695 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
Learning Unix/Linux Based on slides from: Eric Bishop.
Intro to GNU/Linux See, Stallman? I said GNU. Are you happy now?
Overview of Linux Fall 2016 Dr. Donghyun Kim
Introduction to the Command Line for Data Analysts Gus Cavanaugh
ENEE150 Discussion 01 Section 0101 Adam Wang.
UNIX To do work for the class, you will be using the Unix operating system. Once connected to the system, you will be presented with a login screen. Once.
SEEM3460 Tutorial Unix Introduction.
Tutorial of Unix Command & shell scriptS 5027
CS1010: Intro Workshop.
Getting started with CentOS Linux
Chapter 11 Command-Line Master Class
Andy Wang Object Oriented Programming in C++ COP 3330
Some Linux Commands.
Software Tools Recitation 1
Assignment Preliminaries
Linux.
Tutorial of Unix Command & shell scriptS 5027
UNIX Introduction Peter Wad Sackett.
Tutorial of Unix Command & shell scriptS 5027
Linux Programming Environment How to Run Linux in Windows
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
Tutorial of Unix Command & shell scriptS 5027
Getting started with CentOS Linux
Andy Wang Object Oriented Programming in C++ COP 3330
UNIX Introduction Peter Wad Sackett.
UNIX/LINUX Commands Using BASH Copyright © 2017 – Curt Hill.
Tutorial Unix Command & Makefile CIS 5027
CSE 303 Concepts and Tools for Software Development
Video Notes.
Lab 2: Terminal Basics.
DIBBs Brown Dog Tutorial Setup
Presentation transcript:

Yung-Hsiang Lu Purdue University Quick Start of Linux Yung-Hsiang Lu Purdue University

Topics Why Linux? Where to get Linux? Linux through Purdue's thin linc Terminal and command line Frequently used commands Pipe

Why Linux? Linux is "UNIX-like" iOS, Anroid are also "UNIX-like" 2017/11 all top 500 (fastest 500 computers in the world) Linux is widely used in embedded systems (real-time improvements) Used in autonomous vehicles "At least" 67% web servers run Linux (wired.com, 2016/08/25) Many computer courses use Linux (because grading is easier)

Get Linux Download Linux and install on your computer Brand new computer Dual boot if it already has an operating system Virtual machine (such as Virtualbox), Linux coexists with another operating system (such as Windows) Cloud (Amazon EC2, Microsoft Azure, Google Cloud ...) Purdue Engineering students: thin linc

Thin Linc Connect to the servers managed by ECN (Engineering Computer Networks) ECN is the IT department of Purdue Engineering Advantages: ECN updates software Security is managed by experts These are very fast computers Many courses use these computers for grading

Linux at Purdue ECN Go to EE 206 or 207. Many ways to connect: Install thinlinc client (recommended) Install secureCRT (not recommended) Install putty (not recommended) https://ecegrid.ecn.purdue.edu/main/ (not recommended) Strongly discouraged: Cygwin and MinGW (not real Linux) Do not use telnet (not secure)

connect to ecegrid.ecn.purdue.edu your account

Terminal and Command Line Combine multiple commands Automate tools, without human clicking or dragging

This is a "command prompt". You enter commands after the prompt. "bash" is the default working environment (called "shell") 4.1 means the version

Frequently Used Commands

ls (list) ls: list the files and directories (also called "folders") ls -l: list with long (more information); beginning 'd': directory

ls (list) ls: list the files and directories (also called "folders") ls -l: list with long (more information); beginning 'd': directory

mkdir: make new directory (i. e. , folder) cd: change (i. e mkdir: make new directory (i.e., folder) cd: change (i.e. enter) directory

vim: text editor

cp src dest: copy file src to dest diff file1 file2: compare prog2.c is identical to prog.c diff shows nothing

echo "message" >> file: add a line cat -n file: show file with line number

diff shows the difference, with line numbers

grep word file: print the lines with this word in the file

rm: remove a file (irreversible) prog2.c has been deleted

mv (move): rename a file

redirect output using >>

pipe (|): take output from one program as input of another program