SEEM3460 Tutorial Tips on Using UNIX. Keyboard shortcuts General Copy: Ctrl+Insert (not Ctrl+c) Cut: Shift+Del (not Ctrl+x) Paste: Shift+Insert (not Ctrl+v)

Slides:



Advertisements
Similar presentations
ITR3 lecture 7: more introduction to UNIX Thomas Krichel
Advertisements

Shell Script Assignment 1.
UNIT 12 UNIX I/O Redirection.
UNIX Chapter 12 Redirection and Piping Mr. Mohammad Smirat.
CIS 118 – Intro to UNIX Shells 1. 2 What is a shell? Bourne shell – Developed by Steve Bourne at AT&T Korn shell – Developed by David Korn at AT&T C-shell.
A Practical Guide to Fedora and Red Hat Enterprise Linux Unit 4: More Command Line Interface (CLI) Chapter 7: The Linux Shell By Fred R. McClurg Linux.
Introduction to UNIX CSE 2031 Fall May 2015.
Introduction to Unix – CS 21 Lecture 10. Lecture Overview Midterm questions Jobs and processes description The foreground and background Controlling jobs.
Information Networking Security and Assurance Lab National Chung Cheng University 1 What Linux is? Free Unix Like Open Source Network operating system.
The Unix Shell. Operating System shell The shell is a command interpreter It forms the interface between a user and the operating system When you log.
CSE 303 Lecture 2 Introduction to bash shell
Guide To UNIX Using Linux Third Edition
Introduction to UNIX A User’s Perspective: Day 2 – Command Basics.
UNIX Command-line Introduction Terence Parr. Navigating  cd  pwd  ls  pushd/pod  cd  pwd  ls  pushd/pod.
Using Macs and Unix Nancy Griffeth January 6, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis of Complex.
Shell - Introduction & Commands Chapter III / Part II.
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”
Linux environment ● Graphical interface – X-window + window manager ● Text interface – terminal + shell.
Chapter Four UNIX File Processing. 2 Lesson A Extracting Information from Files.
Agenda Basic Shell Operations Standard Input / Output / Error Redirection of Standard Input / Output / Error ( >, >>,
Guide To UNIX Using Linux Fourth Edition
BIF703 stdin, stdout, stderr Redirection. stdin, stdout, stderr Recall the Unix philosophy “do one thing well”. Unix has over one thousand commands (utilities)
The “File System” Under UNIX, (almost) everything is a “file”: –Normal files –Directories –Hardware –Sockets –Pipes Things that are not files: –Users –Groups.
RjpSystem Level Programming Operating Systems 1 Having fun withy the Unix Operating System Praxis Week 7 Rob Pooley.
Advanced UNIX Shell Dr. Tran, Van Hoai Faculty of Computer Science and Engineering HCMC Uni. of Technology
– Introduction to the Shell 10/1/2015 Introduction to the Shell – Session Introduction to the Shell – Session 2 · Permissions · Users.
Grades Please hand in your homework Quizzes coming back today Current grade on back with missing assignments Anything missing can be turned in late There.
The UNIX development environment CS 400/600 – Data Structures.
System Administration Introduction to Unix Session 2 – Fri 02 Nov 2007 Reference:  chapter 1, The Unix Programming Environment, Kernighan & Pike, ISBN.
I/O and Redirection. Standard I/O u Standard Output (stdout) –default place to which programs write u Standard Input (stdin) –default place from which.
Unix Environment Input Output 2  List Content (ls) ◦ ls (list current directory) ◦ ls –all (include hidden files/folders)  Make directory (mkdir) ◦
Week 9 - Nov 7, Week 9 Agenda I/O redirection I/O redirection pipe pipe tee tee.
CSE 374 Programming Concepts & Tools Hal Perkins Fall 2015 Lecture 2a – A Unix Command Sampler (Courtesy of David Notkin, CSE 303)
Linux Commands C151 Multi-User Operating Systems.
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop III - Part A Shell Commands Professional Training.
 Last lesson, the Windows Operating System was discussed along with the Windows command shell  Unix is a computer operating system, that similarly manages.
1 CSE 390a Lecture 2 Exploring Shell Commands, Streams, and Redirection slides created by Marty Stepp, modified by Jessica Miller & Ruth Anderson
File Processing. Introduction More UNIX commands for handling files Regular Expressions and Searching files Redirection and pipes Bash facilities.
Center of Gravity This tutorial will show you how to determine the location of the centroid of a triangle using Working Model.
Exploring Shell Commands, Streams, and Redirection
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.
How to: Move documents on SharePoint
Andy Wang Object Oriented Programming in C++ COP 3330
C151 Multi-User Operating Systems
The Command Prompt Commands are the way to “do things” in Unix
The Linux Operating System
Shell Script Assignment 1.
stdin, stdout, stderr Redirection
Exploring Shell Commands, Streams, and Redirection
CSE 374 Programming Concepts & Tools
Exploring Shell Commands, Streams, and Redirection
Basic UNIX OLC Training.
CSE 390a Lecture 2 Exploring Shell Commands, Streams, and Redirection
Introduction to Linux Week 0 - Thursday.
Lesson 1: Cut, Copy, and Paste Tools
Exploring Shell Commands, Streams, and Redirection
Chapter Four UNIX File Processing.
Exploring Shell Commands, Streams, and Redirection
Exploring Shell Commands, Streams, and Redirection
Introduction Paul Flynn
Andy Wang Object Oriented Programming in C++ COP 3330
CSE 390a Lecture 2 Exploring Shell Commands, Streams, and Redirection
Lesson 6: Copy, Cut, and Paste Content
Lecture 4 Redirecting standard I/O & Pipes
Chapter 3 The UNIX Shells
Exploring Shell Commands, Streams, and Redirection
Unit 1: Introduction Lesson 6: Copy, Cut, and Paste Content.
Exploring Shell Commands, Streams, and Redirection
Exploring Shell Commands, Streams, and Redirection
Exploring Shell Commands, Streams, and Redirection
Presentation transcript:

SEEM3460 Tutorial Tips on Using UNIX

Keyboard shortcuts General Copy: Ctrl+Insert (not Ctrl+c) Cut: Shift+Del (not Ctrl+x) Paste: Shift+Insert (not Ctrl+v) In shell Done: Ctrl+d (usually to finish input) Cancel: Ctrl+c (use this when it hangs)

Directory “~” represents home directory. When used alone, it means your own one; when followed by a username, it means the home directory of that user cd ~/ cd ~oychung/./ means the current directory../ means the parent directory of the current directory / means the root directory usually you need not type “/” except when you are using the root directory

Execution To run a process simultaneously, use “&”. Without doing so, the terminal will be locked until the process finish gedit helloworld.c & To use stdout from exe1 as stdin of exe2, use “|” ls –l /bin | more Use “ ” to redirect stdout. Use “>>” to redirect stdout and write in append mode suppose 1.txt has content “123”, [cat 1.txt] will get “123” only in 1.txt; [cat > 1.txt] will get “123123” in 1.txt