This is a tutorial on the echo command in linux with many examples.
It is useful beyond creating text files.

The Linux Command Line Ultimate Tutorial Series:

################################################

Support on Patreon:

Donate through PayPal:

################################################

More cool Linux stuff at other social media:

Google+ – Best Linux Stuff:
Facebook – Top Linux Tips:
Twitter – Daily Linux News:

Website:

Nguồn: https://codeigniterbrasil.com

Xem thêm bài viết khác: https://codeigniterbrasil.com/lap-trinh-linux/

15 Comments

Fin

May 5, 2020

Love your Tutorials very educational and easy to comprehend good teacher. Can you make a tutorial on bash scripting? Thanks

Reply

Genghis Kong

May 5, 2020

So simple yet so full of possibilities. Great vid! Seriously, I know there is 'man echo', but the layout is not intuitive to learning–and that's with all the 'man xxx' commands. Until you see it in action as you demonstrated its usage escapes me.

Reply

Alex Nevi

May 5, 2020

Без садов?(

Reply

Hunar Omar

May 5, 2020

Hi, Can you please make a tutorial on how to use hybrid GPUs on Arch Linux, i have intel and nvidia and i want to be able to switch between them, intel is very good for battery but terrible at games, Nvidia is good but i can't unplug the laptop charger without it shutting down in 5min. i priviously could switch on Ubuntu, i tried installing nvidia-390xx-lts but it doesn't let me (breaks dependecies), internet said that it was due to kernel, i installed linux-lts (using your tutorial) but now i cant uninstall (linux) because it breaks dependency 😕

Reply

H.I.

May 5, 2020

Was really surprised to see a 10 min video about "echo" as it's a very simple command.
Pretty much 90% of the features demonstrated are bash features and not "echo" specific. Bash handles arithmetic expansion, brace expansion, special characters, etc. Therefore all of this is true for "printf" as well.

Reply

Chandrashakhar Kachawa

May 5, 2020

https://www.facebook.com/groups/ubuntudevelopers/

Reply

Chandrashakhar Kachawa

May 5, 2020

Group name is ubuntu

Reply

Chandrashakhar Kachawa

May 5, 2020

Hey, The champ of linux why not join our group of 73000 member

Reply

Victor Yañez

May 5, 2020

what kind of language programm is it?

Reply

Serge

May 5, 2020

Hello ALU! Oops, {} are not brackets but curly braces! There are a few typos in your file echo.txt There is Arithmentic instead of Arithmetic Expansion Under #Quotes second line there is manu instead of many and under #Escaping characters it should be costs instead of cost
Cheers

Reply

Modelmat

May 5, 2020

Can you do a tutorial on i3?

Reply

HPP

May 5, 2020

Nice examples! 'echo' is a very cool command but, to some extent it is very unintuitive. At 9:27, I did not understand the command 'echo line 1$'n'line 2' at all?! Why all of a sudden single quotes, and not double quotes? With regard to the arithmetic operations, we want an expression like $((2 + 2)) to be interpreted within double quotes but, not within single quotes! So why is it that $'n' is interpreted as a newline but $"n" as n? Also, how shall the user know that 'echo line1$'n'line 2' yields the same as 'echo -e 'line 1nline2' '? In my opinion these kind of peculiarities should be documented in the manual page. But, unfortunately, 'man echo' does not provide more information than 'help echo'.

Reply

Irfan Sheikh

May 5, 2020

Hello ALU. Your videos are very helpful, crisp, and to the point. Thank you for these videos!

Reply

Alexander Voronov

May 5, 2020

Thank you.

Reply

T4P4N

May 5, 2020

🙂

Reply

Leave a Reply