Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diws1/dfetch
dfetch (dabble fetch) a simple system information tool write on shell
https://github.com/diws1/dfetch
command-line dfetch fetch terminal
Last synced: 10 days ago
JSON representation
dfetch (dabble fetch) a simple system information tool write on shell
- Host: GitHub
- URL: https://github.com/diws1/dfetch
- Owner: diws1
- License: mit
- Created: 2023-08-13T07:15:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-30T16:21:23.000Z (5 months ago)
- Last Synced: 2024-07-03T17:13:27.102Z (5 months ago)
- Topics: command-line, dfetch, fetch, terminal
- Language: Shell
- Homepage:
- Size: 438 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dfetch
dfetch (dabble fetch) is simple system information tool write on shell.
This is a simple project that focuses on simplicity, making it easy to learn and modify.
dfetch has several ascii art created from scratch. If your distro ascii is not yet available in this repository, the default dfetch logo will be used instead.## Installation
The first clone this repository:
```
cd ~/
git clone https://github.com/diws1/dfetch
```
then go to dfetch directory:
```
cd dfetch/
````
Run installation with:
```
make
sudo make install
```
Now you can use dfetch on your system by typing command below on your terminal:
```
dfetch
```## Preview
![My Image](https://github.com/diws1/dfetch/blob/main/screenshot/dfetch1.png)## Tips
To display available ascii, you can run this command in the terminal:
```
run-parts /usr/bin/dfetch_logo/
```## Command List
These are some of command lines i use in dfetch. I think there are still many command lines that can display various information on a linux system.| Command | Description |
| --- | :---: |
| `whoami` | Username |
| `source /etc/os-release && echo $PRETTY_NAME` | Distro name |
| `uname -sr` | Kernel type |
| `basename $SHELL` | Shell type |
| `uptime -p \| sed 's/up //'` | Uptime |
| `echo $DESKTOP_SESSION` | Desktop/wm name |
| `free -h \| awk 'NR==2{print $3}' \| sed s/i//` | Memory used |
| `free -h \| awk 'NR==2{print $4}' \| sed s/i//` | Memory free |