dt.iki.fi

  • android10
  • apt1
  • archlinux13
  • bash6
  • book1
  • conky2
  • debian5
  • dotfiles2
  • download1
  • dreams1
  • email3
  • eyecandy16
  • ffmpeg2
  • film4
  • finland2
  • firefox7
  • fonts7
  • forum4
  • gallery4
  • git4
  • gui2
  • kali1
  • kde2
  • lineageos2
  • linux86
  • lua1
  • maemo5
  • media9
  • music4
  • n92
  • n9003
  • network2
  • nginx1
  • nokia6
  • openbox2
  • picocms4
  • pinebook3
  • quotes1
  • research1
  • review12
  • sailfish os20
  • scrapbook5
  • security13
  • server20
  • shell10
  • ssh1
  • systemd8
  • thinkpad1
  • udev1
  • ungoogle12
  • useragent1
  • wayland1
  • weather2
  • windowmanager4
  • wireless1
  • xterm1

  • Photo Galleries
  • RSS Feed
  • Archive
  • About

Articles tagged bash

  • 10.1.2021bash, 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.202027.5.2018shell, 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.2019archlinux, 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.2019linux, 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.2018linux, 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.2018bash

    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 …

Powered by Pelican