Working Environment - - Linux - -.

Slides:



Advertisements
Similar presentations
Learning Unix/Linux Bioinformatics Orientation 2008 Eric Bishop.
Advertisements

Jump to first page Unix Commands Monica Stoica Jump to first page Introduction to Unix n Unix was born in 1969 at Bell Laboratories, a research subdivision.
Chapter One The Essence of UNIX.
1 Introduction to UNIX Ke Liu
Cosc 4750 Getting Started in UNIX Don’t be afraid of the prompt, in linux it can be your best friend. In some cases, the only way to do certain things.
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.
1 Computer Files Stored on disks, CDs, tapes, in memory. Types of files: plain text, formatted (.doc.xls etc…), binary (executable). A disk has a directory.
Introducing the Command Line CMSC 121 Introduction to UNIX Much of the material in these slides was taken from Dan Hood’s CMSC 121 Lecture Notes.
UnixUnix Basic. Convention Italic text indicates text displayed by the computer system. For example, login: indicates a login prompt displayed by the.
CS 202 Computer Science II Lab Fall 2009 September 3.
Guide To UNIX Using Linux Third Edition
SoftwareTools CGS 3460, Lecture 7 Jan 25, 2006 Zhen Yang.
Chapter 10 – UNIX. History In late 1960s, two employees of Bell Labs (Ken Thompson & Dennis Ritchie) designed a new operating system to overcome the constraints.
Operating systems CHAPTER 7.
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
Help session: Unix basics Keith 9/9/2011. Login in Unix lab  User name: ug0xx Password: ece321 (initial)  The password will not be displayed on the.
Linux environment ● Graphical interface – X-window + window manager ● Text interface – terminal + shell.
Introduction to Unix/Linux Chapter One The Essence of UNIX.
Cmsc 312 Operating Systems. UNIX? DOS – PC? VAX/VMS - mainframe Unix – PC, workstation, mainframe 1970 bell Lab For computer scientist? Why popular? Free.
CENT 305 Information Systems Security Linux Introduction.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
The UNIX development environment CS 400/600 – Data Structures.
1 Editing a C Program 01/16/15. 2 Objective Use Linux to edit, compile and execute a C program.
Intro. To Unix commands For those who’ve never used Unix before Quick tutorial to let you move around your Unix Accounts No discussion of inner workings.
Natawut NupairojAssembly Language1 Unix Survival Guide.
INTRODUCTION TO LINUX Jacob Chan. GNU/Linux Consists of Linux kernel, GNU utilities, and open source and commercial applications Works like Unix –Multi-user.
1 Lab 2 “Hello world” in Unix/Linux #include "std_lib_facilities_4.h" int main(){ cout
Getting started: Basics Outline: I.Connecting to cluster: ssh II.Connecting outside UCF firewall: VPN client III.Introduction to Linux IV.Intoduction to.
UNIX Intro vi  vi is the standard UNIX text editor v Contents 1.Why use vi ? 2. vi Basics 3.Moving Around 4.Inserting Text.
L&T Infotech1 UNIX – Getting Started - Aneesh Ramani.
BIF713 Basic Unix/Linux Commands Getting Help with Commands.
Welcome to CS323 Operating System lab 1 TA: Nouf Al-Harbi NoufNaief.net.
Tony Kombol.  Why text edit?  Many programs and features require configuration ▪ Configuration is kept in files ▪ Usually in the /etc directory  Changes.
Unix and Samba By: IC Labs (Raj Kidambi). What is Unix?  Unix stands for UNiplexed Information and Computing System. (It was originally spelled "Unics.")
1 Remote Access Telnet Telnet FTP FTP. 2 Applications and Communications Telnet Telnet  Program for accessing systems remotely.  Available on Windows.
Text Editing February 2 nd, 2004 Class Meeting 3.
1May 16, 2005 Week 2 Lab Agenda Command Line FTP Commands Review More UNIX commands to learn File name expansion - * Introduction of vi.
Introduction to Unix (CA263) File Editing By Tariq Ibn Aziz.
Introduction to Programming Using C An Introduction to Operating Systems.
Introduction to UNIX CS 2204 Class meeting 1 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
More on Using onyx 8/28/13. Program 1 Due a week from today. See website for details.
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.
Linux A practical introduction. 1)Background and Getting Started Linux is an operating system with multiple providers Red Hat/CentOS (our version) Ubuntu.
1 Introduction to Unix. 2 What is UNIX?  UNIX is an Operating System (OS).  An operating system is a control program that helps the user communicate.
Learning basic Unix command It 325 operating system.
Introduction to UNIX and Linux.  Written by Dennis Ritchie and Ken Thomsom at Bell Labs in 1969  Initially written in assembly language and a high-level.
Dr. Sajib Datta Jan 16,  The website is up.  Course lectures will be uploaded there ◦ Check regularly for assignments and update.
BIF703 FTP (File Transfer Protocol) Utility vi editor Utility.
Operating System. What is Operating System OS is system software, which may be viewed as collection of software consisting of procedures for operating.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
Assignprelim.1 Assignment Preliminaries © 2012 B. Wilkinson/Clayton Ferner. Modification date: Jan 16a, 2014.
Operating System.
Overview of Linux Fall 2016 Dr. Donghyun Kim
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.
CS1010: Intro Workshop.
Getting started with CentOS Linux
Andy Wang Object Oriented Programming in C++ COP 3330
FTP Lecture supp.
Vi Introduction Tony Kombol.
Assignment Preliminaries
Unix : Introduction and Commands
Web Programming Essentials:
Run Java file with Window cmd
Getting started with CentOS Linux
Andy Wang Object Oriented Programming in C++ COP 3330
Chapter 2 Basic vi Editor.
CSCI The UNIX System Editing files
Presentation transcript:

Working Environment - - Linux - -

UNIX History (1/2) UNIX was originally developed in 1969 by Thomson and Ritchie of the Computer Science Research Group at Bell Laboratories. UNIX has gone through many versions since then. It has been a popular operating system among computer programmers and computer scientists.

UNIX History (2/2) UNIX is a multiuser, multiprocessing, portable operating system. It is designed to facilitate programming, text processing and communication.

Linux History In 1991, Linux Torvalds, a Finish student at the University of Helsinki at the time, developed a new operating system that is known today as Linux. The initial kernel, which was similar to a small subset of UNIX, has grown into a full-scale operating system today. The Linux 2.0 kernel, released in 1997, was accepted as a commercial operating system: it has all features traditionally attributed to UNIX.

Linux Account Server IP: 140.138.178.21 account: s970501 password: the same as your account

TErminaL NETwork (TELNET) Allow a user to run an application program on a remote computer Remote login Ex: 學生在宿舍要從遠端連到實驗室的 server, 修改程式, compiler program, 執行程式. Telnet 可讓使用者在遠端 remote login, 如同在server當地 local login. user 送出指令, 到 server 端執行, 執行結果再傳回給 remote user. Remote user

Telnet Tools putty pietty cmd NetTerm 附屬應用程式 – 通訊 – 超級終端機

File Transfer Protocol (FTP) Handle: different coding system, file format Two connections: one for data transfer, one for control information FTP 是一個架構在 TCP/IP 之上的應用層協定 提供目前登錄的電腦與遠端主機間下載、上傳檔案的服務 處理兩端不同的 File format (coding system: ASCII, EBCDIC vs. Unicode, image file), Data structure (File structure, record structure, page structure), Transmission mode (stream mode, block mode, compressed mode) Control connection 是永遠存在的. 只有當真正要傳資料時, data connection 才會建立, 傳完就 cancel. Two connections: one for data, one for control (commands and responses) Port Number=21 Ex: cuteFTP, WSftp

FTP Tools WSFtp winSCP MSDOS command: >ftp 140.138.178.21 CuteFtp

Shell Shell is a program to setup your working environment. Shell Kernel Hardware

Commands (1/2) passwd ----change password exit ---- exit man command -- list the menu of the command “command” keyin q to quit ls --- list the files in the directory ls -a ls –l cat filename

Commands (2/3) cd directory -- change directory cd .. ( to parent) cd . ( to itself) cd subdirectory mkdir directory – rmdir directory rm file1 -- remove a file with name “file1” rm –i (will ask again) cp file1 file2 -- copy the content of file1 to file2

vi -- On-line Editor vi is an on-line editor. Two modes are used: Command mode Edit mode Shell Command mode a / i ESC Edit mode

vi command mode x: delete the character on the cursor. dd: delete the line on the cursor. i : insert, a: append Then you are in editor mode. :q to leave the vi :w to leave with saving the file :q! to leave without saving the file :1 go to the line 1

vi editor mode You can insert any word and Enter at the position of the cursor. Use “Esc” to return to command mode. You can use the paste tools of NetTerm to paste a block in editor mode.

Simple Test Please change your password as soon as possible. Try to use cd and ls. Use vi to create a simple file. Your introduction. I will test some people’s password and their introduction.