/
 The Linux Command Line Chapter 7  The Linux Command Line Chapter 7

The Linux Command Line Chapter 7 - PowerPoint Presentation

alexa-scheidler
alexa-scheidler . @alexa-scheidler
Follow
346 views
Uploaded On 2020-04-06

The Linux Command Line Chapter 7 - PPT Presentation

Seeing The World As The Shell Sees It Prepared by Dr Reyes New York City College of Technology Expansion echo command that displays a line of text echo can be combined with wildcards ID: 776187

expansion quotes characters special expansion quotes characters special escape double single examples shell backslash meaning line command

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document " The Linux Command Line Chapter 7" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

The Linux Command Line Chapter 7

Seeing The World As The Shell Sees It

Prepared by Dr. Reyes, New York City College of Technology

Slide2

Expansion

echo – command that displays a line of textecho can be combined with wildcards

Slide3

Pathname Expansions

Slide4

Tilde Expansion

Slide5

Arithmetic Expansion

Uses the form $((expression))Operators supported:

Slide6

Examples

Slide7

Brace Expansion

Used to create multiple text strings from a pattern containing braces.Examples:

Slide8

Parameter Expansion

Given a variable, place a $ to retrieve its valueExample:

Slide9

Double Quotes

Double quotes – when used all the special characters used by the shell lose their special meaning and are treated as ordinary characters with the exception of “$”, “\” (backslash), and “`” (backquote).Examples:

Slide10

Single Quotes

Single quotes – used to suppress all expansionsExample double vs. single quotes

Slide11

Escape Characters

Escape character – use the backslash “\” before “$”, “!”, “&”, “ ”, and other characters with special meaning.Other escape sequences