July 2018
Beginner
264 pages
8h 9m
English
Let's begin our activity as follows:
#!/bin/bash# What about echo?echo -n "Currently we have seen the command \"echo\" used before"echo " in the previous script"echoecho -n "Can we also have \t tabs? \r\n\r\n?"echo " NO, not yet!"echoecho -en "Can we also have \t tabs? \r\n\r\n?"echo " YES, we can now! enable interpretation of backslash escapes"echo "We can also have:"echo -en '\xF0\x9F\x92\x80\n' # We can also use \0NNN for octal instead of \xFF for hexidecimalecho "Check the man pages for more info ;)"
Read now
Unlock full access