Skip to content

Commit 7aff4dc

Browse files
authored
more on echo
1 parent 975d9f7 commit 7aff4dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

learningbash.md

+3
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,6 @@
132132
d=$(echo "1.2 + 1.3" | bc)
133133
echo "d equal to $d"
134134
```
135+
- to interpret special characters: `echo -e "This is \n a new line"`
136+
- to disable new line trailing special characters: `echo -n "This line will not be followed by a new line"`
137+

0 commit comments

Comments
 (0)