Khuyến cáo các bạn sài nano cho tiện. http://linuxcommand.org/lc3_wss0010.php
1. Nhập đoạn code trong nano

#!/bin/bash
# My first script
echo "Hello World!"
Lưu ctr+x

2. Cấp quyền để đọc được file hello_world
chmod 755 hello_world

3. Xem thành quả
./hello_world

4. Các câu lệnh trong ubuntu
https://help.ubuntu.com/community/Beginners/BashScripting
Không có nhận xét nào:
Đăng nhận xét