The Linux Command Line Chapter 28

Slides:



Advertisements
Similar presentations
Test practice Multiplication. Multiplication 9x2.
Advertisements

1 © 2001 John Urrutia. All rights reserved. Chapter 5 The Shell Overview.
Chapter 13 Processes. What is a process? A process is a program in execution A process is created whenever an external command is executed Whenever the.
Chapter 9: Advanced SQL and PL/SQL Topics Guide to Oracle 10g.
Linux+ Guide to Linux Certification, Second Edition
CS Lecture 04 Outline Change your shell Sed and awk Tricks with Bash scripts Assignment 1 discussion 1CS 311 Operating SystemsLecture 04.
Guide To UNIX Using Linux Third Edition
Guide To UNIX Using Linux Third Edition
Testing a program Remove syntax and link errors: Look at compiler comments where errors occurred and check program around these lines Run time errors:
EMT 2390L Lecture 2 Dr. Reyes. Outline What is the Shell Basic commands Linux Filesystem System commands.
 Experiment 11 Structured and Unions Dr. rer.nat. Jing LU
Week 7 Working with the BASH Shell. Objectives  Redirect the input and output of a command  Identify and manipulate common shell environment variables.
EMT 2390L Lecture 8 Dr. Reyes Reference: The Linux Command Line, W.E. Shotts.
Linux+ Guide to Linux Certification, Third Edition
Linux+ Guide to Linux Certification Chapter Eight Working with the BASH Shell.
CHAPTER 4: CONTROL STRUCTURES - SEQUENCING 10/14/2014 PROBLEM SOLVING & ALGORITHM (DCT 1123)
Sed Dr. Tran, Van Hoai Faculty of Computer Science and Engineering HCMC Uni. of Technology
EMT 2390L Lecture 9 Dr. Reyes Reference: The Linux Command Line, W.E. Shotts.
Chapter 4 concerns various SAS procedures (PROCs). Every PROC operates on: –the most recently created dataset –all the observations –all the appropriate.
Linux+ Guide to Linux Certification, Second Edition
© Prepared By: Razif Razali 1 TMK 265: UNIX SYSTEM CHAPTER 8: USER INPUT.
Linux Administration Working with the BASH Shell.
 Prepared by: Eng. Maryam Adel Abdel-Hady
Lab 7 Shell Script Reference: Linux Shell Scripting Tutorial v1.05r3 A Beginner's handbook
Shell scripts – part 1 Cs 302. Shell scripts  What is Shell Script? “Shell Script is series of command written in plain text file. “  Why to Write Shell.
LINUX FOR BEGINNERS Because everyone needs Fundamentals
1-1 Logic and Syntax A computer program is a solution to a problem.
Shell Script Assignment 1.
PROGRAMMING THE BASH SHELL PART IV by İlker Korkmaz and Kaya Oğuz
LINUX FOR BEGINNERS Because everyone needs Fundamentals
The Linux Command Line Chapter 14
ASSIGNMENT NO.-2.
Chapters 1–4 Mark G. Sobell
Chapter 8–Part V Mark G. Sobell
A Practical Guide to Linux® Commands, Editors, and Shell Programming
A Practical Guide to Linux® Commands, Editors, and Shell Programming
The Linux Command Line Chapter 16
The Linux Command Line Chapter 12
The Linux Command Line Chapter 2
The Linux Command Line Chapter 29
The Linux Command Line Chapter 1
The Linux Command Line Chapter 6
The Linux Command Line Chapter 10
The Linux Command Line Chapter 7
The Linux Command Line Chapter 18
The Linux Command Line Chapter 27
The Linux Command Line Chapter 24
The Linux Command Line Chapter 11
The Linux Command Line Chapter 3
The Linux Command Line Chapter 26
Hello World! Syntax.
The Linux Command Line Chapter 9
The Linux Command Line Chapter 17
The Linux Command Line Chapter 4
The Linux Command Line Chapter 25
Python 19 Mr. Husch.
Programming Control Structures with JavaScript Part 2
STORE MANAGER RESPONSIBILITIES.
The Linux Command Line Chapter 14
Python 19 Mr. Husch.
Basic 9 Mr. Husch.

The Linux Command Line Chapter 5
The Linux Command Line Chapter 3
The Linux Command Line Chapter 4
The Linux Command Line Chapter 12
The Linux Command Line Chapter 11
The Linux Command Line Chapter 24
The Linux Command Line Chapter 26
The Linux Command Line Chapter 27
Presentation transcript:

The Linux Command Line Chapter 28 Reading Keyboard Input Prepared by Dr. Reyes, New York City College of Technology

The read command read - Command used to read a single line of standard input Syntax:

Example of the read command

Reading Multiple Values The read command can assign input to multiple variables, separated by spaces

Be Careful Reading Multiple Variables

The REPLY shell variable If no variable is given after a read command, the input will be stored in the REPLY shell variable

Read Options