The Echo Command in Linux!

Publicado em: 18 Julho 2020
no canal de: Generaliized
50
5

Today, we learn about the Echo Command on Linux! This is one of the most simplest commands in all of Linux itself.



You basically type 'nano' to access the text editor. When you are done, you click enter to run what you have just told it to. In this case, it would lead us to the nano text editor where we can write our programs. Right now, we want to write the 'Echo' program. The command itself is 'echo' so you just type it and then you type the phrase that you want it to print out! But be sure to put quotations around it otherwise it will give you an error! Now we click Ctrl+X to try to exit the file. Before we do, it asks us if we want to save it. Click 'Y' for 'Yes' and 'N' for No. I clicked Y because I wanted to save it. Now I go back to the command prompt and I give myself permissions using 'chmod +x [file name]' which in this case would be, "chmod+x Echo5.sh." It then ran the text file and said to itself, "OK! Human wants me to print out 'Hello, World!' into the command prompt!" And boom, it printed out 'Hello, World!'


Nesta página do site você pode assistir ao vídeo on-line The Echo Command in Linux! duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Generaliized 18 Julho 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 50 vezes e gostou 5 espectadores. Boa visualização!