Learn Bash Scripts - Tutorial
Uploader Comments (metalx1000)
Top Comments
-
@s200784b: Everyone has to start somewhere.
-
Did anyone else feel like changing welcome... to: wake up neo... cause I did lol
Video Responses
All Comments (107)
-
About two lines echo into one, after I thought I saw that I made a fast comment. The output makes more sense more readable I thought with the first two echos to one line. Then I tried to delete the comment but too late and after that I saw just two line echos. Weary eyes??! -thank you further for the -n : no new line tip.
-
Thanks much. You made the learning faster, terrific!
-
@Charsept well, bash is a -Scripting- language, meaning that it does not needs to generate binaries, so no need to compile and run. it just interprets the script as is, sometimes with the help of other programs (echo, as example). Maybe metalx1000 can explain better.
-
@SuperRifet You should get Linux or Mac OS and then just use the terminal and a simple texteditor of choice(i recommend xemacs).
-
The Purpose of bash scripting is making up a list of commands so you don't have to type them at the terminal all the time
-
@Charsept: Oh, well I have over 300 video tutorial on BASH, feel free to check them out.
Interesting how you got the 2 echo lines to output as one line! How?
rskret 1 month ago
@rskret: At what point in the video did I make too echo lines output as one line?
I don't think I did it in this video, but this is one way of doing it:
echo -n "this is a test "
echo "this is a nother test"
The -n in the first line prevents echo from creating a new line. Just make sure you have an extra space in your first string to the to lines don't run together.
Hope this helps.
metalx1000 1 month ago
where you download that program
SuperRifet 4 months ago
@SuperRifet: try "linuxmint(dot)com"
metalx1000 4 months ago