One-liner Commands
1. 建立多個目錄
mkdir -p -v /home/josevnz/tmp/{dir1,anotherdir,similardir}
2. 搜尋取代關鍵字
# With sed
sed -i 's#ORIGINAL_VALLUE#NEW_VALUE#g' myfile1 myfile2
# With perl
perl -p -i -e 's#ORIGINAL#NEW_VALUE#' myfile1 myfile2
3. 臨時以網頁方式分享指定目錄
# Python is required
cd $mydir && python3 -m http.server 8888