Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/denisde4ev/yetanother-5line-fetch
Simple 5 lines fetch. (2 versions written in bash and POSIX sh)
https://github.com/denisde4ev/yetanother-5line-fetch
bash neofetch posix-sh sh system-information termux windows-shell-script
Last synced: 13 days ago
JSON representation
Simple 5 lines fetch. (2 versions written in bash and POSIX sh)
- Host: GitHub
- URL: https://github.com/denisde4ev/yetanother-5line-fetch
- Owner: denisde4ev
- Created: 2021-11-29T17:43:19.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-26T10:52:56.000Z (almost 2 years ago)
- Last Synced: 2023-03-09T01:16:40.770Z (over 1 year ago)
- Topics: bash, neofetch, posix-sh, sh, system-information, termux, windows-shell-script
- Language: Shell
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Yet Another 5 Lines **Fetch** script (ya5lfetch)
## Example:
```
[arco, KDE] $ ya5lfetch
. arcowo@kpc /~
/ \ OS: ArcoLinux
/ . \ KERNEL: 5.18.15-arch1-1
/ / _ \ SHELL: bash
/` `\ DE: KDE[artix, no DE] $ ya5lfetch
. u@artix /home/u
/ \ OS: Artix Linux
/. \ KERNEL: 5.18.12-artix1-1
/ * \ SHELL: bash
/ ' \ TTY: pts/1, ssh[Termux, Android (RR ROM)]
$ [ -e "$PREFIX"/etc/os-release ] || echo 'NAME="Android"' >> "$PREFIX"/etc/os-release
$ ya5lfetch
u0_a300@dumpling /data/data/com.termux/files/home
╲_____╱ OS: Android
╱ . . ╲ KERNEL: 4.4.254-lineage+
▕ ▏SHELL: bash
▔▔▔▔▔▔▔ TTY: pts/3, ssh[KISS, in chroot] $ ya5lfetch
root@kpc /tmp/_9754
+----+ OS: KISS Linux
| |/ | KERNEL: 5.18.15-arch1-1
| |\ | SHELL: ya5lfetch.sh
+----+ TTY: not a tty[Alpine, in termux chroot] $ ya5lfetch
u99-_-@dumpling /root
. OS: Alpine Linux v3.11
/ \ KERNEL: 4.4.254-lineage+
/ \ /\ SHELL: bash
/◁ \ \ TTY: /dev/pts/1
```TODO install and get linux kernel version and distros exact name:
- Arch
- Artix ✅
- Arco ✅
- Manjaro
- Alpine✅-
- KISS ✅-
- Debian
- Windows (wine)
- Termux/Android ✅
- for Space Invaders ASCII: LFS (hell no) / Bedrock linux / busybox based chroot ?