Big clock in a terminallinuxshellterminal2020.10.14This note explains how to show a big clock on Linux without using an application or having a browser opened on time.Read moreForce #wifi interface name on #Ubuntu 18.04consolehowtolinuxnetworkshellubuntuudevwifi2018.09.07Using Udev, you can change the wifi interface name.
First, you need to get the mac address.
$ ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: **wlp1s0**: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000 link/ether **9c:b6:d0:8a:71:11** brd ff:ff:ff:ff:ff:ff My wifi interface is name wlp1s0 and its mac address is just after the keyword “link/ether” : 9c:b6:d0:8a:71:11.Read moreSamba public shareconsolehowtolinuxsambashell2018.01.10How to configure a Debian based Linux distribution to share a folder with anyone on the network, with read and write access ?Read moreConvert PDF to PNG with enough resolutionconsolehowtoImageMagicklinuxshell2017.03.28As ‘man convert’ states :
The convert program is a member of the ImageMagick suite of tools. Use it to convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more.Read moreHorizontal rule in zsh promptlinuxpromptshellzsh2014.12.26Put in your ~/.zshrc :
PS1=$'%U${(r:$COLUMNS:: :)}%u'$PS1 _src = superuser.com _Read moreSubstitute a text only in files where it appearslinuxshell2014.12.03For example, to substitute foo with bar
for f in `grep -lR foo`; do echo -n ">> $f"; sed 's/foo/bar/g' $f > $f.Read moreConvert multiple files to utf8 using vimlinuxshellvim2014.12.03The fastest and more efficient way to batch multiple files encoding conversion :
vim +"argdo se fileencoding=utf-8 | w | bnext" +"q" ` find .Read more