Skip to content

Benjr.tw

  • Linux
    • Stress & Performance
    • Hardware Info
    • System Monitor
    • Security
    • Desktop
    • PXE
    • Filesystem Hierarchy Standard
    • Linux 開機選項
    • Linux Package Manager
    • 備份 Backup
  • Virtualization
    • Docker & Podman
    • CoreOS
  • NAS/SAN
  • Programming Language
    • Python
    • Bash shell script
    • Perl
    • PHP
    • Node.JS
    • VBA
    • javascript
    • Power Query
    • PowerShell
  • WordPress
  • DataBase
    • 資料庫安裝
    • 資料庫語法
    • SQLite
    • MariaDB JSON

Bash Shell Script – read

2017-05-082019-04-30 adminBash shell script, Linux

Loading

下面是 read 可以加的參數,他們代表什麼意思! 測試環境為 Ubuntu 16.04 x64 read [-ers] [-a aname] [-d delim] [-i text] [-n nchars] [-N nchars] [-p prompt] [-t timeout] [-ufd] [ […]

Read more

Bash Shell Script – echo

2017-05-052017-08-14 adminBash shell script, Linux

Loading

通常 echo 會接參數 -e ,這是代表什麼意思 測試環境為 Ubuntu 16.04 x64 使用參數 -e 之後就可以 啟用下面幾種 反斜線 (\) 轉義的功能 echo – display a line of text -e enable interpretation of ba […]

Read more

Bash Shell Script – $() , ${} , $(())

2017-05-052017-07-12 adminBash shell script, Linux

Loading

測試環境為 Ubuntu 16.04 x64 $() , ${} , $(()) 這幾個的用法差別是?? $() ( ) 代表 子 shell 的起始與結束. $ 表示變數字元. $(指令) 代表運行命令並將其輸出 (process substitution) ,與 `指令` 是相同的用法. 直接執 […]

Read more

IPMI IOL (IPMI Over Lan)

2017-05-042017-07-05 adminBMC / IPMI, Linux

Loading

IPMI 有分成為 Inband 與 Outband,主要的區分為: Inband (In-Band) Console Redirection (就是透過 serial port 也就是一般所說的 comport,還可以透過另外一種 outband – serial over LAN 來 […]

Read more

IPMI SOL (Serial Over Lan)

2017-05-032018-06-29 adminBMC / IPMI, Linux

Loading

關於 IPMI 的基礎概念請參考 https://benjr.tw/11240 IPMI 有分成為 Inband 與 Outband,主要的區分為: Inband (In-Band) Console Redirection (就是透過 serial port 也就是一般所說的 comport,還可以 […]

Read more

Bash Shell Script – 變數 測試 , 替換

2017-04-282017-07-12 adminBash shell script, Linux

Loading

測試環境為 Ubuntu 16.04 x64 – 用來判斷變數是否存在,不存在則由後面字串來取代. 變數 Name 已經設定過為 Ben,所以不會被取代. 變數 Name 已經設定過為空字串,所以不會被取代. 變數 Names 沒有設定過,所以會被取代. :- 用來判斷變數是否存在,不存 […]

Read more

CentOS7 編譯核心

2017-04-272017-07-07 adminLinux, RedHat / CentOS

Loading

CentOS7 編譯核心所需套件,因為套件很多建議直接使用 groupinstall 或是 group install. 還需要 ncurses (new curses)這個程式函式庫. 用用 make xconfig 會使用到 x-window ,所以需要安裝 qt ,如果是 make gconf […]

Read more

Linux command – journalctl

2017-04-262025-08-05 adminLinux, RedHat / CentOS, Ubuntu

Loading

傳統的 Linux 日誌檔 可分成兩類 核心日誌 (klogd) & 系統日誌 (syslogd) , 請參考 https://benjr.tw/22756 核心日誌 (klogd) 主要是儲存系統開機,以及一些核心與硬體溝通時的訊息,核心日誌存放在 /var/log/dmesg 或可使用 […]

Read more

Bash Shell Script – 變數 刪除/取代 字串

2017-04-252017-07-12 adminBash shell script, Linux

Loading

測試環境為 Ubuntu 16.04 x64 在 Shell Script Bash $開頭的是變數 (可為 number 數字, character 字元, string of characters 字串) # 由左至右,刪除符合字串中 最短的 那一個 $(variable#string) 刪除變 […]

Read more

ARM UEFI PXE Boot

2017-04-252018-06-22 adminLinux, RedHat / CentOS

Loading

測試環境如下 PXE Server : CentOS6.8 x64 PXE Client (UEFI PXE Boot) : CentOS 7 ARM64 同樣適用於 RedHat RHEL 什麼是 uEFI!! 什麼是 PXE!! 可以參考下列聯結~ uEFI Extensible Firmwar […]

Read more

文章導覽

較舊的文章
較新的文章

近期文章

  • Windows – Network Sharing + Port forwarding to VM
  • Ansible – gather facts
  • Ansible – host_vars 定義特定的變量
  • Ansible 範例 – Chrony daemon
  • Ubuntu NTP Client 校時設定

近期留言

  • 「Jackson2734」於〈Ubuntu NTP Client 校時設定〉發佈留言
  • 「w」於〈Ubuntu 16.04 Server PXE 安裝〉發佈留言
  • 「admin」於〈TCP/IP 常見封包〉發佈留言
  • 「stu」於〈TCP/IP 常見封包〉發佈留言
  • 「student」於〈Linux command – tcpdump〉發佈留言

分類

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文
  • Privacy Policy
  • 隱私權政策
Powered by WordPress | Theme: Astrid by aThemes.