SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
1
MCA 3rd SEMESTER ( Lateral Entry )
LINUX
INPUT OUTPUT REDIRECTION
SUBMITTED TO : -
Mr. Adithya V.
SUBMITTED BY : -
Tanishq Soni
2
Introduction
Input – Output Redirection
 Redirection is a feature in Linux such that when executing a command, you can change the
standard input/output devices.
 The basic workflow of any Linux command is that it takes an input and give an output.
 The standard input (stdin) device is the keyboard. The standard output (stdout) device is the screen.
3
Linux treats the keyboard as the standard input (value 0) and terminal screen standard output
(value 1) as well as standard error(value2).
 Redirection inputs:
The < symbol is used to redirect inputs. Example
$cat < file.txt
File.txt takes input command cat. Redirecting
 Redirection outptuts:
The > symbol is used to redirect outputs.
$ ls >list.doc
4
Redirecting errormessages:
The ‘2>’ symbol is used to redirect error messages.
Example :
$cat 2> list1.doc
If there is no file named list1.doc in the current directory then the error messages is
sent to the standard error device.
THANK YOU
5

More Related Content

PPTX
System calls
ODP
Python Modules
PPTX
Basic commands of linux
PPTX
Access specifiers(modifiers) in java
PDF
Linux systems - Linux Commands and Shell Scripting
PPTX
Windowforms controls c#
PPTX
Constructor in java
PPTX
Shell scripting
System calls
Python Modules
Basic commands of linux
Access specifiers(modifiers) in java
Linux systems - Linux Commands and Shell Scripting
Windowforms controls c#
Constructor in java
Shell scripting

What's hot (20)

PPTX
Critical section problem in operating system.
PPTX
This pointer
PPT
Input output streams
PDF
Monitors
PDF
Shell scripting
PPT
Introduction and history of linux
PPTX
Unit I - Evaluation of expression
PPTX
VI editor in unix
PPTX
Introduction to Unix
PDF
Variables & Data Types In Python | Edureka
PPTX
PPSX
Modules and packages in python
PPTX
Type casting in java
PPTX
Iterarators and generators in python
PPTX
GUI programming
PPTX
PPTX
Thread scheduling in Operating Systems
PPTX
Bfs and Dfs
PPTX
Inter Process Communication
PPTX
Notification android
Critical section problem in operating system.
This pointer
Input output streams
Monitors
Shell scripting
Introduction and history of linux
Unit I - Evaluation of expression
VI editor in unix
Introduction to Unix
Variables & Data Types In Python | Edureka
Modules and packages in python
Type casting in java
Iterarators and generators in python
GUI programming
Thread scheduling in Operating Systems
Bfs and Dfs
Inter Process Communication
Notification android
Ad

Similar to Input output redirection linux (20)

PPTX
II BCA OS pipes and filters.pptx
PPS
03 t1 s2_linux_lesson3
PDF
Lecture2 general structure of a compiler
PPT
Stuxnet dc9723
PPT
14814 lec 4
PDF
How to create your own redirection in LinuxUnix.SolutionThere.pdf
PDF
PPTX
Packet Framework - Cristian Dumitrescu
PPTX
Unit2_1.pptx Introduction to C# Language features
PPTX
Unit 1:DOT NET Framework CLR(Common Language Runtime )
PDF
Ap7181 cli guide
PDF
3 Unix Basics. Part 3
PPT
101 3.4 use streams, pipes and redirects v2
PPTX
lanaguage proc by a student of engineering college
PDF
PDF
BKK16-211 Internet of Tiny Linux (io tl)- Status and Progress
PPTX
Linux Operating System. Unix_Lec-6.pptx
PPTX
Lecture 1
DOCX
lec4.docx
PPT
Object Oriented Technologies
II BCA OS pipes and filters.pptx
03 t1 s2_linux_lesson3
Lecture2 general structure of a compiler
Stuxnet dc9723
14814 lec 4
How to create your own redirection in LinuxUnix.SolutionThere.pdf
Packet Framework - Cristian Dumitrescu
Unit2_1.pptx Introduction to C# Language features
Unit 1:DOT NET Framework CLR(Common Language Runtime )
Ap7181 cli guide
3 Unix Basics. Part 3
101 3.4 use streams, pipes and redirects v2
lanaguage proc by a student of engineering college
BKK16-211 Internet of Tiny Linux (io tl)- Status and Progress
Linux Operating System. Unix_Lec-6.pptx
Lecture 1
lec4.docx
Object Oriented Technologies
Ad

More from Tanishq Soni (12)

PPTX
D.M time series analysis
PPTX
C.N blue eyes technology
PPTX
A.I Introduction (Introduction, Producion Rues, Intelligence, Knowledge)
PPTX
Ethical hacking-computer science
PPTX
Correlation and regresion-Mathematics
PPT
Principles of accounting- adjustments in final accounts
PPTX
Principles of accounting
PPTX
Operators and it’s types, Operator Precedence,Break and Continue statement
PPTX
WAYS TO GET SUCCESS
PPTX
THE MUTE COMPANIONS From (UNDER THE BANYAN TREE) (By R. K. Narayan)
PPTX
R.K Narayan - UNDER THE BANYAN TREE( Chapter- At the portal )
PPTX
Literals, primitive datatypes, variables, expressions, identifiers
D.M time series analysis
C.N blue eyes technology
A.I Introduction (Introduction, Producion Rues, Intelligence, Knowledge)
Ethical hacking-computer science
Correlation and regresion-Mathematics
Principles of accounting- adjustments in final accounts
Principles of accounting
Operators and it’s types, Operator Precedence,Break and Continue statement
WAYS TO GET SUCCESS
THE MUTE COMPANIONS From (UNDER THE BANYAN TREE) (By R. K. Narayan)
R.K Narayan - UNDER THE BANYAN TREE( Chapter- At the portal )
Literals, primitive datatypes, variables, expressions, identifiers

Recently uploaded (20)

DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPT
Teaching material agriculture food technology
PPTX
Machine Learning_overview_presentation.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
cuic standard and advanced reporting.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
A Presentation on Artificial Intelligence
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
The AUB Centre for AI in Media Proposal.docx
Chapter 3 Spatial Domain Image Processing.pdf
Review of recent advances in non-invasive hemoglobin estimation
“AI and Expert System Decision Support & Business Intelligence Systems”
sap open course for s4hana steps from ECC to s4
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Teaching material agriculture food technology
Machine Learning_overview_presentation.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Network Security Unit 5.pdf for BCA BBA.
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
cuic standard and advanced reporting.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Diabetes mellitus diagnosis method based random forest with bat algorithm
A Presentation on Artificial Intelligence
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx

Input output redirection linux

  • 1. 1 MCA 3rd SEMESTER ( Lateral Entry ) LINUX INPUT OUTPUT REDIRECTION SUBMITTED TO : - Mr. Adithya V. SUBMITTED BY : - Tanishq Soni
  • 2. 2 Introduction Input – Output Redirection  Redirection is a feature in Linux such that when executing a command, you can change the standard input/output devices.  The basic workflow of any Linux command is that it takes an input and give an output.  The standard input (stdin) device is the keyboard. The standard output (stdout) device is the screen.
  • 3. 3 Linux treats the keyboard as the standard input (value 0) and terminal screen standard output (value 1) as well as standard error(value2).  Redirection inputs: The < symbol is used to redirect inputs. Example $cat < file.txt File.txt takes input command cat. Redirecting  Redirection outptuts: The > symbol is used to redirect outputs. $ ls >list.doc
  • 4. 4 Redirecting errormessages: The ‘2>’ symbol is used to redirect error messages. Example : $cat 2> list1.doc If there is no file named list1.doc in the current directory then the error messages is sent to the standard error device.