Bash Tutorial 1: Hello World

preview_player
Показать описание
Starting with the basics of Linux Bash Script Programming.
In this tutorial I show how to:
*Create a Bash Script
*Writing Hello World on the Screen
*Running script from Terminal
*Making the script executable (so it can be run from either GUI or Terminal)

Рекомендации по теме
Комментарии
Автор

Absolutely love the idea of this series; have always wanted to get a proper grip of the Terminal and hopefully this will help me loads. Thanks, Quids, and excellent work :) Happy Easter too!

InglisNSquizz
Автор

Finally I can learn something more about linux. Thanks, I'll need this certailny in the future!

modus_ponens
Автор

awesome, u should do a playlist for this and the incoming lessons .

Svuru
Автор

Nice video. I suck at scripting and have a great admiration to anyone that can do it.

worldsails
Автор

Amazing video! Can't wait to see more from this series!

pfindan
Автор

great video! thank you. I was so lost with bash

shin-texr
Автор

Nice intro, Quids. Small correction (for posterity): permission 5 is read and execute, not read and write. You can tell from the binary, because 5 = 4+1 = (101)_2 in binary. The first 1 (meaning 4) gives read access. The 0 denies write access (a 1 here would mean +2, granting write access). he last 1 grants the execute privilige. That's why 7 = 4+2+1 = (111)_2 means read+write+execute.

kevinof
Автор

Thanks Quids! Yeah, one has to start somewhere... I'll be waiting for the next ones! Cheers!

hpottstock
Автор

I think they call #! by the name "crunchbang".Looking forward to more bash lessons!

draoi
Автор

This looks interesting... I will be looking for the next video. Thanx

johnmarkzimm
Автор

Hey quids, nice tutorial! Quick question, will you have any sort of timetable when you are going to release these tutorials, like 2 videos per week, etc? Happy Easter!

Icekronik
Автор

What's the difference between Python and Bash? Aren't both installed by default on Ubuntu?

growingneeds
Автор

Can you help define some words... What does bash mean, what is a bash shell, what is a script... Can you run a gedit bash script from anywhere other than the terminal?

johnmarkzimm
Автор

 I can't seem to RUN the file by clicking on it, after I used  :(  Help,  :3

blackneos
Автор

Ives always wanted to learn this. Thanks

Novalax
Автор

Nice video hope this is first of many :-)

JamesNitrox
Автор

Wow O_O I have used linux for about 7 years now. When he said intro he meant intro!

Figgbot
Автор

Quid, some questions, pls.
U rite #!/bin/bash but Ive been riting #! /bin/bash, that is, with a space between the ! and the path. Is that important? At least my first scripts have worked.

Second. U use to rite bash yourscript.sh to run them, I use sh myscript or . myscript or ./myscript or even bash myscript, however, I have a book called Linux the complete reference, 3rd edition and there the author says that when we give the file executable permission, we just need to rite only the script file name, example: $ myscript
But what I receive is: bash: myscript: command not found
What is bad?

Thank you for your videos. And great accent! Pure Brit ;)

sr.oskar_alhos
Автор

I'm sure you'd get "there is no such command" (speaking metaphorically), I think people should respect other people's choices in life.

ADIMM