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
To display available ascii, you can run this command in the terminal:
run-parts /usr/bin/dfetch_logo/
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// |