harmful | cat-v | acme | uriel | 9front | sl | sigrid | qwx | cinap_lenrek

Command Line Software

html | troff | pdf | txt | gmi

Kumpulan beberapa Command line yang biasa saya pakai

Run xclock & place in top right

xclock -geometry 135x32-14+10

Menseting repeat keyboard

xset r rate 180 20

Mencari file dengan isi

grep -rn ’<regex>’

Mencari executable current dir

find . -executable

Menghitung jumlah line

wc -l

Check ukuran RAM

free -h --si

Check ukuran directory

du -sh .

Convert Picture

magick convert <file>.png <target>.jpg

Auto startx

if [ $(tty) = "/dev/tty1" ]

then

    startx > /dev/null 2>&1

fi

Burning ISO

dd if=<file>.iso of=/dev/<target> status=progress

Screenshot

import -window root png:$HOME/x_$(date "+%Y-%m-%d-%H:%M:%S").png

scrot -p

scrot -ps

Archive

tar xf <file>.tar.gz

tar xvf <file>.tar.gz

tar tf <file>.tar.gz

tar cf <file>.tar.gz <file>

Mensetting Volume

wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-

pactl set-sink-volume @DEFAULT_SINK@ -5%

Memulai WindowManager dengan Dbus

dbus-run-session -- <WindowManager>

Mengganti Wallpaper (X11)

xsetroot -solid "<color>"

hsetroot -fill <image>

feh --bg-fill <image>

Mengganti Kecerahan layar

xbacklight -set 50

brightnessctl s 50%

light -S 50



Powered by troff(1)