The Echo Command in Linux!

Veröffentlicht am: 18 Juli 2020
auf dem Kanal: 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!'


Auf dieser Seite können Sie das Online-Video The Echo Command in Linux! mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Generaliized 18 Juli 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 50 Mal angesehen und es wurde von 5 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!