Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Learn Bash Scripts - Tutorial

Loading...

Sign in or sign up now!
60,877
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 9, 2009

The basic steps to create a BASH script
http://www.bashscripts.info/
http://FilmsByKris.com

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 4 dislikes

Link to this comment:

Share to:

Uploader Comments (metalx1000)

  • Interesting how you got the 2 echo lines to output as one line! How?

  • @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.

  • where you download that program

  • @SuperRifet: try "linuxmint(dot)com"

Top Comments

  • @s200784b: Everyone has to start somewhere.

  • Did anyone else feel like changing welcome... to: wake up neo... cause I did lol

see all

All Comments (107)

Sign In or Sign Up now to post a comment!
  • 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.

View all Comments »
Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more