Linux echo command summary with examples

preview_player
Показать описание
This Linux echo command tutorial teaches you how to display text and variables and turn on and off backslash escape sequences with examples and syntax. FactorPad Linux Essentials playlist covers your first 100 commands with examples.

Find the code here:

Linux Essentials web page:

Don't lose this valuable resource, subscribe today. Happy Learning!

Let's connect!
Рекомендации по теме
Комментарии
Автор

In the first example at 2:15, Linux took "echo - - help" literally and echoed what came after the echo command.  Why is this happening?  Well it won't happen on all systems, and the short answer is that it has to do with built-ins that don't pull the appropriate help, so the workaround is to call the program and option using "/path/echo - - help".  I hope that helps.  -Paul

Factorpad
Автор

From 2:32 to 2:49 I showed an example of using double-quotes and single-quotes.  You need to know more though.  Within double quotes variables will be interpreted; however, with single quotes they won't.  So the text within single quotes will be echoed literally.  Play with it on your end so this nuance sinks in and let me know here if you have questions.  -Paul

Factorpad
Автор

New in July 2017! Find all of the code examples on our website. See link in Description.

Factorpad
Автор

Why do you add a "$" before echo after initializing x to echo?

almoder
Автор

I just want you to know I made it a point to sign in a make a comment that your echo joke made me laugh

RedSquareLanguage