Category: Linux

  • getent is a Unix command that helps a user get entries in a number of important text files called databases

    The databases it searches in are: ahosts, ahostsv4, ahostsv6, aliases, ethers (Ethernet addresses), group, gshadow, hosts, netgroup, networks, passwd, protocols, rpc, services, and shadow.

  • Unix, Linux: how to do a proper and secure file transfer in a cronjob

    I got advised to do sftp with an empty passphrase. I got that working. Was pretty straight forward. But is there a better way? With a non-empty passphrase? But how to deal with that passphrase? my buzzword web search: ssh file transfer best practice I do my ordinary SSH handling with an…

  • Linux: extending the capacity of a filesystem – context: XFS, LVM (by the same authors) In 2022 it looks a little unreasonable to not use LVM but only partitions. Resizing a filesystem on a partition (as opposed to on an LVM volume) should only be done, if / as long as the filesystem is not mounted on that partition.…

  • how to check (scan) for open ports from outside in Linux

  • Alpine Linux is a Linux distribution based on BusyBox – it is perfect for containers providing quick boot-up times

  • how to set default user for manually installed WSL distro? My preferred approach: /etc/wsl.conf inside the distro.

  • how to access a Linux desktop from Windows via RDP

  • : packages search for Linux and Unix very useful website!

  • deprecated Linux networking commands and their replacements – net-tools vs iproute2 – Mastering Linux Network Administration (PacktPub) !!!!! !!!!! – O’Reilly – O’Reilly – great article showing how to do modern Linux networking on the command line – includes a rather compact but useful (mapping) table – how to check for listening ports…

  • WSL commands and launch configurations