Skip to content
blog.chrisyuan.me
Go back

登入 Ubuntu 後自動執行 fastfetch

Edit page

Table of contents

Open Table of contents

/etc/profile.d/ 下建立 fastfetch.sh ,填入以下內容:

#!/bin/bash

fastfetch
printf "\n\n"

/etc/profile.d/fastfetch.sh 檔案權限設定為可被執行:

chmod +x /etc/profile.d/fastfetch.sh

下次登入 Ubuntu 就會出現如下畫面:

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1739242902228/a2ea6571-fb47-4b26-8a8b-be0f303f37e3.png align=“center”)


Edit page
Share this post on:

Previous Post
在 Terminal 下查詢 macOS 的 CPU 資訊的指令
Next Post
常識(Common Sense)