全部 新建

user:thomas 由使用者建立的 Gists

title:mygist Gists 的標題

description:sync gists with given description

filename:myfile.txt Gists 的檔案名稱

extension:yml Gists 的副檔名

language:go Gists 的程式語言

topic:homelab gists with given topic

all:systemctl search all fields

登錄

全部 新建 登錄

All gists matching topic Terminal

倒序排序 創建
順序排序 創建
倒序排序 更新
順序排序 更新
Erreur32's Avatar

Erreur32 / colors-in-terminal.sh

0 喜歡
0 分支
1 檔案
最後活躍 1 month ago
Bash Color Terminal
1 for code in {30..37}; do \
2 echo -en "\e[${code}m"'\\e['"$code"'m'"\e[0m"; \
3 echo -en " \e[$code;1m"'\\e['"$code"';1m'"\e[0m"; \
4 echo -en " \e[$code;3m"'\\e['"$code"';3m'"\e[0m"; \
5 echo -en " \e[$code;4m"'\\e['"$code"';4m'"\e[0m"; \
6 echo -e " \e[$((code+60))m"'\\e['"$((code+60))"'m'"\e[0m"; \
7 done
8
9 ## http://jafrog.com/2013/11/23/colors-in-terminal.html
上一頁 下一頁

由 Opengist 提供支持 ⋅ Load: 14ms⋅

繁體中文
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文