android
10
apt
1
archlinux
13
bash
6
book
1
conky
2
debian
5
dotfiles
2
download
1
dreams
1
email
3
eyecandy
16
ffmpeg
2
film
4
finland
2
firefox
7
fonts
7
forum
4
gallery
4
git
4
gui
2
kali
1
kde
2
lineageos
2
linux
86
lua
1
maemo
5
media
9
music
4
n9
2
n900
3
network
2
nginx
1
nokia
6
openbox
2
picocms
4
pinebook
3
quotes
1
research
1
review
12
sailfish os
20
scrapbook
5
security
13
server
20
shell
10
ssh
1
systemd
8
thinkpad
1
udev
1
ungoogle
12
useragent
1
wayland
1
weather
2
windowmanager
4
wireless
1
xterm
1
Photo Galleries
RSS Feed
Archive
About
Site specific search with
DDG
Articles tagged bash
10.1.2021
bash,
linux
OpenNIC DNS updater script
This script will fetch a current list of DNS servers from api.opennicproject.org, filter them by countries if desired, sort by percentage, and write the result to files readable by various resolvers.
12.9.2020
27.5.2018
shell,
bash
Shell Scripting For Speed
Inspired by a forum thread Choose which shell your scripts use, that’s the “#/bin/*sh” at the top: Once you made that choice, it should influence your coding quite …
1.9.2019
archlinux,
bash
Pacman and Optional Dependencies
Archlinux packages list optional dependencies: “An array of packages that are not needed for the software to function, but provide additional features.” But there’s no special treatment built in …
25.2.2019
linux,
bash
Using GNU bash? Forget date!
Since Version 4.2.0 GNU bash can print times in strftime format with printf . OK, the external date command can do a lot that bash ’s builtin cannot do …
27.2.2018
linux,
bash
Load bash builtin from file
A few years ago I noticed that sleep is not built into bash and instead calls an external command each time. I like to make my scripts responsive and unobtrusive …
18.2.2018
bash
Bash: Test if a string is a web link
I sometimes need this in my scripts: if a string starts with either http:// or https:// , it must be a web link. How can I test for that in a …