The Unix Shell · The Unix Shell Introduction. A shell is just a program that runs other programs...
Transcript of The Unix Shell · The Unix Shell Introduction. A shell is just a program that runs other programs...
Introduction
The Unix Shell
Introduction
Copyright © Software Carpentry 2010
This work is licensed under the Creative Commons Attribution License
See http://software-carpentry.org/license.html for more information.
The Unix Shell Introduction
Run
Programs
The Unix Shell Introduction
Run
Programs
Store
Data
The Unix Shell Introduction
Run
Programs
Store
Data
The Unix Shell Introduction
Communicate
with each other
Run
Programs
Store
Data
The Unix Shell Introduction
Communicate
with each other
Interact
with us
Interact
with us
The Unix Shell Introduction
Interact
with us
Telepathy
The Unix Shell Introduction
Interact
with us
Telepathy
The Unix Shell Introduction
Speech
Interact
with us
Telepathy
The Unix Shell Introduction
Speech
WIMP
(windows, icons, mice, pointers)
Interact
with us
TelepathyRewiring
The Unix Shell Introduction
Speech
WIMP
Interact
with us
TelepathyRewiring
The Unix Shell Introduction
SpeechTypewriter
WIMP
Typewriter
The Unix Shell Introduction
Typewriter
Line printer + keyboard
The Unix Shell Introduction
Typewriter
Line printer + keyboard
Text onlyText only
The Unix Shell Introduction
Typewriter
Line printer + keyboard
Text onlyText only
The Unix Shell Introduction
Typewriter
Line printer + keyboard
Text onlyText only
The Unix Shell Introduction
CLUI: command-line user interface
user logs in
The Unix Shell Introduction
user logs in
user types command
The Unix Shell Introduction
user logs in
user types command
computer executes command
and prints outputand prints output
The Unix Shell Introduction
user logs in
user types command
computer executes command
and prints outputand prints output
user types another command
The Unix Shell Introduction
user logs in
user types command
computer executes command
and prints outputand prints output
user types another command
computer executes command
and prints output
The Unix Shell Introduction
user logs in
user types command
computer executes command
and prints outputand prints output
user types another command
computer executes command
and prints output
⋮
user logs off
The Unix Shell Introduction
user logs in
user types command
computer executes command
and prints outputand prints output
user types another command
computer executes command
and prints output
⋮
user logs off
The Unix Shell Introduction
user logs in
user types command
computer executes command
and prints outputand prints output
user types another command
computer executes command
and prints output
⋮
user logs off
shell
The Unix Shell Introduction
user logs in
user types command
computer executes command
and prints outputand prints output
user types another command
computer executes command
and prints output
⋮
user logs off
shell
The Unix Shell Introduction
A shell is just a program that runs other programs
The Unix Shell Introduction
A shell is just a program that runs other programs
Most popular is bash (the Bourne again shell)
The Unix Shell Introduction
A shell is just a program that runs other programs
Most popular is bash (the Bourne again shell)
The Unix Shell Introduction
A shell is just a program that runs other programs
Most popular is bash (the Bourne again shell)
Using it feels a lot more like programmingUsing it feels a lot more like programming
than using windows, a mouse, etc.
The Unix Shell Introduction
A shell is just a program that runs other programs
Most popular is bash (the Bourne again shell)
Using it feels a lot more like programmingUsing it feels a lot more like programming
than using windows, a mouse, etc.
Commands are terse and often cryptic
The Unix Shell Introduction
A shell is just a program that runs other programs
Most popular is bash (the Bourne again shell)
Using it feels a lot more like programmingUsing it feels a lot more like programming
than using windows, a mouse, etc.
Commands are terse and often cryptic
Use it because:
The Unix Shell Introduction
A shell is just a program that runs other programs
Most popular is bash (the Bourne again shell)
Using it feels a lot more like programmingUsing it feels a lot more like programming
than using windows, a mouse, etc.
Commands are terse and often cryptic
Use it because:
– many tools only have command-line interfaces
The Unix Shell Introduction
– many tools only have command-line interfaces
A shell is just a program that runs other programs
Most popular is bash (the Bourne again shell)
Using it feels a lot more like programmingUsing it feels a lot more like programming
than using windows, a mouse, etc.
Commands are terse and often cryptic
Use it because:
– many tools only have command-line interfaces
The Unix Shell Introduction
– many tools only have command-line interfaces
– allows you to combine tools in powerful new ways
August 2010
created by
Greg Wilson
August 2010
Copyright © Software Carpentry 2010
This work is licensed under the Creative Commons Attribution License
See http://software-carpentry.org/license.html for more information.