Computer Services & Repairs
Chicago and Suburbs
 

Table of Contents

 

7.06 Escape Sequence

Symbol

Description

\a

bell

\b

backspace

\c

prints the line without a new line

\f

form feed

\n

newline

\

return

 

Example:

[bash]$ student=”Chris\t\tand\t\Darek\n”

[bash]$ echo $students

[bash]$ echo -e $students # when -e option added, statement was correctly interpreted and Chris and Frank tabs and new line were included in your output.


 
 
   

Copyright 2006 © Burnnet Computers LLC.