🌅 เหมือนแสงสว่างส่องมาที่ Dev สาย Windows อีกครั้ง !! กับการปล่อย "Windows Terminal" เครื่องมือสุดเจ๋งของ Microsoft เอาใน Developer สาย Command Line !!
.
ต้องบอกก่อนว่าตลอดหลายปี (และ หลายยยยสิบปี) ที่ผ่านมา เราจะได้ยินว่าคนชอบใช้ Command Line ต้องไปใช้พวก macOS หรือ Linux เพราะมันสนุก และ สบายกว่า Windows มากกก ๆ
.
🔥 ซึ่งแอดเองก็เห็นด้วย แต่ ๆ ๆ วันนี้ Microsoft ได้งัดไม้เด็ด ปล่อย Windows Terminal ออกมาแล้วจ้าาา โดยมีฟีเจอร์ที่ทำให้การใช้งาน Command Line บน Windows เป็นเรื่องสนุก และ ง่ายขึ้นน
.
✅ ฟีเจอร์ที่มาด้วยนี่จัดเต็มมากกก ๆ (แม้ว่าบางตัวมันควรมีตั้งนานแล้วก็เถอะ) ไม่ว่าจะเป็นการใช้งานแบบ Multi-tabs ได้แล้ว !, รองรับการใช้ Unicode UTF-8 ไปจนถึงอีโมจิสุดน่ารัก, การใช้ GPU ช่วยประมวลผลข้อความ รวมไปถึง ธีม คีย์ลัด รองรับพื้นหลังเจ๋ง ๆ ไปจนถึง Extension ส่วนเสริมอีกเพียบ
.
และ พิเศษไปกว่านั้น เขามาพร้อม Shell ให้เราเลือก Profile ได้แล้ว ไม่ว่าจะเป็นสาย Ubuntu, Debian หรือ Command Prompt แบบเดิม ๆ ก็ใช้ได้เช่นกัน ไม่ต้องไปไล่ลง OS อื่น ๆ ให้วุ่นวาย
.
⭐️ ใครสนใจใช้งานสามารถดาวน์โหลดฟรีได้แล้วที่นี่
.
https://www.microsoft.com/th-th/p/windows-terminal/9n0dx20hk701?rtc=1&activetab=pivot:overviewtab
.
⭐️ หรือใครอยากอ่านราละเอียดเต็ม ๆ ก็มาที่นี่พร้อมแอดได้เลย
.
https://devblogs.microsoft.com/commandline/windows-terminal-1-0/
.
เราก็คงจะเห็นแล้วว่า ช่วงหลัง ๆ มานี้ Microsoft จะรักสาย Open Source รวมถึง ให้ความสำคัญกับประสบการณ์ของฝั่ง Dev เป็นพิเศษ .. ยังไงแอดก็ขออยู่ #ทีมผู้บริโภค เพื่อให้ได้รับประโยชน์สูงสุดกันต่อไปนะฮะ 5555 <3
.
#BorntoDev - 🦖 Digital Academy ให้การพัฒนาทักษะเทคโนโลยีเป็นเรื่องสนุกไปพร้อมกับเรา
同時也有4部Youtube影片,追蹤數超過43萬的網紅Carl Ho卡爾 頻道,也在其Youtube影片中提到,--- DayCare House 飼育屋 (4) --- 1. Route 5, Kanto Cleffa Happiny Igglybuff Abra 2. Four Island, Sevii Island Bidoof Kricketot Cherubi Shinx 3. Route ...
shell linux 在 โปรแกรมเมอร์ไทย Thai programmer Facebook 八卦
ข่าวลือที่เป็นจริง ...เมื่อ Ubuntu จะมาอยู่บนวินโดวส์ ข่าวดีสำหรับนักพัฒนาซอฟต์แวร์บนวินโดวส์ โดยเฉพาะ (น้ำตาจะไหลดีเปล่าเนี่ย)
ที่ประชุมงาน BUILD 2016 ไมโครซอฟต์ประกาศ Windows 10 ตัวอัพเดตใหม่ (เรียกว่า Anniversary Update) จะสามารถรัน Bash (Shell script) ของ Linux เป็นแบบ Native ใน cmd.exe ของวินโดวส์ได้แล้วจ้า!!!!
+++++ต่อไปเราก็จะทำได้ดังนี้+++++
1) มียูสเซอร์บน Windows 10
2) เปิด Start menu ขึ้นมา
3) พิมพ์คำว่า bash แล้วกด Enter
4) เมื่อนั้นคอนโซลในตำนานที่เรารู้จักกันดีอย่าง cmd.exe ก็จะโผล่ขึ้นมา
5) สามารถรันคำสั่ง /bin/bash
6) เมื่อนั้น User space ของ Ubuntu ก็จะได้สิทธิเต็มที่
7) ต่อไปเราก็สามารถใช้คำสั่งพวกนี้้ได้ apt, ssh, rsync, find, grep, awk, sed, sort, xargs, md5sum, gpg, curl, wget, apache, mysql, python, perl, ruby, php, gcc, tar, vim, emacs, diff, patch…
8) นั้นหมายความว่า หลายหมื่นกว่าแพคเก็จไบนารี่ของ Ubuntu สามารถเอามาติดตั้งได้ ...โอ้พระเจ้าทอดกล้วยปิ้ง
++++ต้องเข้าใจอย่างนี้ว่า++++
- มันไม่ใช่ virtual machine
-ไม่ใช่ Container
-ไม่ใช่ Cygwin
-ไม่เหมือนตัว Linux emulator
*มันเป็นเพียง Ubuntu user space
*มันเป็นเพียงไบนารี่แบบ Native ของ Ubuntu ที่รันได้โดยตรงในวินโดวส์
*และไมโครซอฟต์ก็เรียกว่าเป็น Windows Subsystem สำหรับ Linux
+++++ในข่าวมันยังบอกอีกว่า++++
- เราสามารถ mount เห็นระบบไฟล์ของ Ubuntu ได้ด้วยนะ จาก Windows Explorer
- จะพิมพ์คำสั่ง ssh ต่อเน็ตเวิร์คออกไปข้างนอกก็ได้ โดยไม่ต้องพึ่งโปรแกรม Putty
- สามารถใช้ apt ติดตั้ง และอัพเกรตอะไรก็ได้ ตามที่อยากได้
ถ้าสนใจจะอ่านรายละเอียดอ่านเพิ่มได้ที่ (แปลและเรียบเรียงใส่สีตีเข่ามาอีกที)
https://insights.ubuntu.com/…/ubuntu-on-windows-the-ubuntu…/
shell linux 在 โปรแกรมเมอร์ไทย Thai programmer Facebook 八卦
สรุปคำสั่ง docker ฉบับสายย่อ เด็กแนว
เอาที่สำคัญๆ หากินได้ยาวๆ
.
1) คำสั่งดูเลขเวอร์ชั่น docker engine ในเครื่อง
docker -v
.
2) คำสั่งล็อกอินเข้าไปใน docker hub (ที่เก็บไฟล์ image ของ docker)
docker login [OPTIONS] [SERVER]
.
3) คำสั่ง logout ออกจาก docker hub ...บาย บาย
docker logout
.
4) คำสั่งค้นหาไฟล์ image จาก docker hub
docker search
.
5) คำสั่งดาวน์โหลดไฟล์ image จาก docker hub มาที่เครื่องเรา
docker pull
.
6) คำสั่งรันไฟล์ image -> เพื่อสร้าง container (สร้างกี่ตัวก็ได้)
docker run [options]
.
7) คำสั่งดูรายชื่อไฟล์ images ที่อยู่ในเครื่องเรา
docker images
docker images --no-trunc // แสดง Images ID แบบเต็มๆ
.
😎 คำสั่งลบไฟล์ images
docker rmi
docker rmi -f
docker rmi -f $(docker images -a -q) // ลบทั้งหมด
.
9) คำสั่งดูรายชื่อ container
docker ps // แสดง container ที่ทำงานอยู่
docker ps -a // แสดงรายการ container ทั้งหมดที่ทำงานอยู่และหยุดทำงานไปแล้ว
.
10) คำสั่งลบ container
docker rm
docker rm -f
docker rm $(docker ps -a -q) // ลบทั้งหมด
docker rm $( docker ps -q -f status=exited) // ลบ continer ทั้งหมดที่ไม่ทำงาน
.
11) คำสั่งสั่งให้ container ทำงาน (สตาร์ท)
docker start
.
12) คำสั่งหยุด container (กลับมาสตาร์ทใหม่ภายหลังได้)
docker stop
docker stop $(docker ps -a -q) // หยุดการทำงาน container ทั้งหมด
.
13) คำสั่งแช่แข็ง container
docker pause
docker unpause
.
14) คำสั่งรีโมทเข้าไปใน container แล้วรันคำสั่ง เช่น รัน bash shell ของ linux เป็นต้น
docker exec -it
.
14) คำสั่งดูข้อมูลของ container
docker inspect
.
15) คำสั่งดูการใช้ทรัพยกรเครื่องของ container
docker stats // ทั้งหมด
docker stats
.
16) คำสั่งดู logs ของ container
docker logs
.
16) คำสั่งคำสั่งสร้างไฟล์ image
docker build [OPTIONS] PATH | URL | -
.
17) คำสั่ง commit ไฟล์ image ที่เราสร้าง
docker commit
.
18) คำสั่งส่่งไฟล์ image ขึ้น docker hub
docker image push [OPTIONS] NAME[:TAG]
.
++++++++++++++++++++
อธิบายเพิ่ม docker
++++++++++++++++++++
docker มันคือ container
ถ้าจะเรียกให้ถูกต้องเป๊ะๆ ก็คือ software container
.
จะคล้ายๆ Virtual Machine (VM)
แต่เบากว่า
Overhead น้อยกว่า
รันได้เร็วกว่า
.
container มันเป็นคอนเซปต์การสร้างสภาพแวดล้อมเฉพาะให้กับซอฟต์แวร์ เพื่อให้สามารถทำงานได้โดยไม่กวนกับซอฟต์แวร์ตัวอื่นบนระบบปฏิบัติการเดียวกัน
.
เช่น เครื่องลง PHP กับ Apache HTTP ไว้
คราวนี้พอจะรัน Tomcat แล้ว port มันชนกัน
เกิดอุบัติเหตุแบบนี้ ทำไงดีหว้า?
ต้องร้องเรียนตำรวจเลยไหม?
...ก็ไม่ต้อง
สามารถใช้ container เป็นอีกหนึ่งวิธีแก้ปัญหา
.
สำหรับคอนเซปต์ container
ให้นึกถึงว่าเรามีตู้ container ใส่ของ จำนวน 2 ตู้
ทั้งสองตู้ข้างในมีสภาพแวดล้อมเป็น Linux
.
- โดย container ตู้แรก จะติดตั้ง PHP กับ Apache HTTP ลงไป
- container ตู้ตัวที่สอง จะติดตั้ง Tomcat ลงไป
.
โดยทั้งสองตู้สามารถวางไว้ภายในระบบปฏิบัติการเดียวกัน
สามารถรันทำงานแยกสภาพแวดล้อมจากกันไปเลย
ไม่ชน ไม่ทะเลาะตบตีแย่งแฟนกัน
.....เฮยๆ ไม่ใช่ายแหละ ไม่แย่ง resource กัน
.
และเราก็สามารถย้ายตู้ container ที่มีซอฟต์แวร์ที่เราได้ติดตั้งลงไปนั้น
ก็สามารถย้ายตู้ไปไว้ที่เครื่องไหนก็ได้
ขอให้เครื่องนั้นๆ ติดตั้ง docker engine ก็พอ
(นำไฟล์ image ของ docker ไปรันบนเครื่องไหนก็ได้ขอให้มี docker engine)
.
.
.
อ้างอิง
- https://sites.google.com/.../chanwit/blogs/what-is-container
-http://www.siamhtml.com/getting-started-with-docker/
-https://medium.com/quintuples/รวม-docker-command-line-พื้นฐาน-74b61101effa
-https://memo8.com/docker-command/
.
.
.
✍ เรียบเรียงโดย โปรแกรมเมอร์ไทย thai programmer
.
.
.
มีปัญหาด้านไอทีให้ไปที่ลิงก์นี้
https://github.com/adminho/Thai-IT-community
จะมีกลุ่มเฟสบุ๊คต่างๆ รอคุณอยู่
สนใจกลุ่มไหนก็เข้าไปแจม
สามารถโพสต์ถามปัญหาที่สงสัยได้
จะมีเพื่อนๆ น่ารักคอยตอบเสมอ
shell linux 在 Carl Ho卡爾 頻道 Youtube 的評價
--- DayCare House 飼育屋 (4) ---
1. Route 5, Kanto
Cleffa
Happiny
Igglybuff
Abra
2. Four Island, Sevii Island
Bidoof
Kricketot
Cherubi
Shinx
3. Route 34, Johto
Remoraid
Snubbull
Azurill
Pichu
4.Route 117, Hoenn
Whismur
Carvanha
Seedot
Corphish
--- Medicine Location 藥物地點 ---
Kanto(5):
Bone Moss @ Pokemon Tower : 3F http://i.imgur.com/LrChJtf.png
Cape Coral @ Route 25 : http://goo.gl/EUmeqy
Deep Clay @ Digletts Cave : https://goo.gl/5mofNc
Heart Peach @ Viridian Forest : http://i.imgur.com/Gv9Nbxf.jpg
Sparky Blossom @ Power Plant : http://goo.gl/WNhMkO
Four Island (2):
Lake Knot @ Two Island : http://goo.gl/ErxhZ1
Rooster Lily: (Need Information)
Johto Daycare (2):
Golden Olphistle @ Lake of Rage : http://goo.gl/hEtwCo
Elder Log Coal @ Burned Tower : https://goo.gl/mph5hy
Hoenn Daycare(2):
Moon Bloom @ Petalburg Maze : http://goo.gl/HLdHuL
Deepblue Shell: (Need Information)
▷ Game guide list 遊戲攻略 ◁
https://goo.gl/Hmuazl
▷ Official Site 官方網站 ◁
http://pokemon-revolution-online.net/
▷ PRO Pokémon List (EV, items, Headbutt, Cool down) 精靈, 努力值, 物品, 頭槌, 冷卻時間列表 ◁
https://goo.gl/QGUphx
▷ Hoenn Map (Sea) 豐緣地圖(海洋部份) ◁
https://goo.gl/r9SBKq
▷ PRO 中/港/臺 神奇寶貝 討論區(臉書)◁
https://goo.gl/sS4Xp0
Windows 64bit: → http://tiny.cc/PROx64
Backup download (93.3): https://goo.gl/oDvqT7
Windows 32bit → http://tiny.cc/PROx86
Backup download (93.3) : https://goo.gl/rXQO4D
Mac → http://tiny.cc/PROMAC
Android → http://tiny.cc/PRODroid
Linux → http://tiny.cc/PROLinux

shell linux 在 prasertcbs Youtube 的評價
ในที่สุด Microsoft ก็ได้ปล่อยตัว Windows Terminal (preview) ออกมาให้ทดลองใช้ โดยมีความสามารถหลัก ๆ คือรองรับการทำงานกับ UTF-8 Unicode รวมถึการทำงานแบบ Tab เพื่อเปิด shell แบบต่าง ๆ ไม่ว่าจะเป็น Command Prompt, PowerShell รวมถึง WSL เพื่อเรียกใช้ bash shell ของ Linux เป็นต้น
00:15 แนะนำ Windows Terminal
00:55 การติดตั้งผ่าน Microsoft Store
03:15 การใช้งานภาษาไทย UTF-8
04:50 การปรับแต่ง Windows Terminal (profiles.json)
05:45 การปรับแต่งขนาดตัวอักษร
07:07 การปรับแต่งสี (color scheme) และ cursor color
เชิญสมัครเป็นสมาชิกของช่องนี้ได้ที่ ► https://www.youtube.com/subscription_center?add_user=prasertcbs
สอน Windows 10 ► https://www.youtube.com/playlist?list=PLoTScYm9O0GGpQRdTu3Y8sGA8MsBuojhV
สอน Excel ► https://www.youtube.com/playlist?list=PLoTScYm9O0GEMj5LpqxaxWWnanc55Epnt
สอนเทคนิคการใช้งาน PowerPoint ► https://www.youtube.com/playlist?list=PLoTScYm9O0GEG5JELOjSGqigFN669d5IK
สอนเทคนิคการใช้งาน Word ► https://www.youtube.com/playlist?list=PLoTScYm9O0GG5QrQtl8hmVbg0o8fCCaJT
#prasertcbs #prasertcbs_windows

shell linux 在 MakeLearningFun Youtube 的評價
Programming become more and more important nowadays. Some people may think it is different to learn, but actually it is not! With the right tools and resources, we believe every one can learn programming!
Linux is a popular operating system which is widely used in the world. It is free and open source, we develop our first c++ hello world program on top of it. Linux become user friendly in recent years, but here is a lot of people asking how to learn, hence we address some linux fundamental here as well.
In this video, we briefly talk about the fundamental of linux, terminal, shell commands and process id's concept, it is for beginner level, hope you will enjoy it.
If you want to watch more video from us, please
-do subscribe us!
-like the video and share to you friend who have kid on the facebook, tweeter, google+....etc
how to learn math
https://www.youtube.com/playlist?list...
stem projects
https://www.youtube.com/playlist?list...
Anpanman Educational Toys
https://www.youtube.com/playlist?list...
Learn Shapes for kids
https://www.youtube.com/playlist?list...
Learn letter A to Z
https://www.youtube.com/playlist?list...
Learn names of fruits and vegetables
https://www.youtube.com/playlist?list...
Learning street vehicles names and vehicle sounds
https://www.youtube.com/playlist?list...
Learn names of animal with animal sound
https://www.youtube.com/playlist?list...

shell linux 在 Linux-shell-完全詳解 的相關結果
Shell 本身是一個用C語言編寫的程序,它是用戶使用Unix/Linux的橋梁,用戶的大部分工作都是通過Shell完成的。Shell既是一種命令語言,又是一種程序設計語言 ... ... <看更多>
shell linux 在 認識SHELL 的相關結果
◎簡單來說﹐shell script 裡面就是一連串命令行﹐再加上條件判斷﹑流程控制﹑迴圈﹑和參數等。和我們在shell 裡面輸入命令一樣﹐shell script 也有這樣的特性﹕. 當讀到 ... ... <看更多>
shell linux 在 第十二章、學習Shell Scripts - 鳥哥的Linux 私房菜 的相關結果
什麼東西啊?其實, shell script 是利用shell 的功能所寫的一個『程式 (program)』,這個程式是使用純文字檔,將 ... ... <看更多>