# Write my first bash on linux ## Target : Auto excute the command line in file > I also need the delay feature 1. Learn how to create bash file and execute. First, the most common is to write a file, make sure the first line is ```=sh #!/bin/bash ``` We need to use follow command line to add permission ```=ubuntu $chmod +x file ``` When we want to execute ```=ubuntu $ ./file ``` 2. Learn how to execute the command line from file with loop 3. Add the delay feature or learn how to use multithread. ## Reference >[chmod +x](https://askubuntu.com/questions/223691/how-do-i-create-a-script-file-for-terminal-commands) >[Download moltiple file via youtube-dl](https://askubuntu.com/questions/334081/downloading-multiple-files-with-youtube-dl/334097#334097) >[Looping through the content of a file in Bash](https://stackoverflow.com/questions/1521462/looping-through-the-content-of-a-file-in-bash)