User:Kreyren/Bash scripting

From Gentoo Wiki
Jump to: navigation, search

This wiki entry is a script for a video tutorial about bash scripting.

PLAN

Video tutorials will be released under `Creative Common use` licence. Each video will be as effective as possible (provide the most informations at the shortest time for the end-user to assymilate and store in it's storage unit for use).

- INTRO
-- What is Bash scripting
-- syntax
--

- ShaBang!
-- What is it ShaBang
-- Why is it used this way
-- Setting the chmod on executable

- Comments
-- What are comments
-- Why are used
-- Correct usage (Code beautify)

- If statement
-- what is if statement
-- practical usage of if
-- if syntax
-- if file/folder is present do *something*
-- elif
-- else

- While loop
-

SCRIPT

-