Showing posts with label shell. Show all posts
Showing posts with label shell. Show all posts

Mar 9, 2014

Ubuntu Lesson 11 - Run .sh 到底是在那個shell內?

假設要執行一個shell script "run.sh",以下指令有何不同?
  1. ./run.sh
  2. . run.sh
  3. source run.sh

Feb 16, 2014

Ubuntu Shell Script 00 - Introduction

Shell script的 "shell" 指的就是「文字界面命令列工具」,如同DOS或Windows的CMD.exe,在Ubuntu使用的shell是BASH,可以由terminal下ps指令得知。
ps - check running processes in the current shell terminal