Category: Linux
-
how to know whether Wayland or X11 is being used?
I have never used Wayland so far, I only heard of it. With my new job it is sort of the enforced work environment together with ubuntu 22.x. It means quite a challenge.
-
gnome desktop: how to split desktop into four parts (like PowerToys FancyZones)
“extensions” and “tweaks” are searchable on the desktop after the suggested installations.
-
Linux equivalent of Windows ctrl to show mouse pointer
I am on Ubuntu 22.04, and this works for me: $ gsettings set org.gnome.desktop.interface locate-pointer true
-
ubuntu: gnome-terminal or terminator?
My new ThinkPad “broke” – neither internal nor external video worked any longer. I got my SSD moved from the broken ThinkPad to another ThinkPad. (Yes, we considered the downsides.) gnome-terminal wouldn’t want to start any more. Error message: Possibly the SSD or the file system on it is damaged. For the time being I…
-
how to test ports – Telnet, Expect, Bash, Netcat, Nmap
For “security reasons” telnet and nmap are not included in the basic set of utilities present on a production server. And why would you install software, that you usually don’t need there? But occasionally these tools are needed and should be available for installation. I certainly like telnet and nmap for the described purposes.
-
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? https://en.wikipedia.org/wiki/ssh-agent https://linuxhandbook.com/transfer-files-ssh/ https://www.tecmint.com/ssh-passwordless-login-using-ssh-keygen-in-5-easy-steps/ my buzzword web search: ssh file transfer best practice I do my ordinary SSH handling with an…
-
Linux: extending the capacity of a filesystem
https://learning.oreilly.com/library/view/centos-7-linux/9781785887284/ch05s06.html#ch05lvl2sec149 – context: XFS, LVM https://learning.oreilly.com/library/view/linux-powerful-server/9781788293778/ch19s06.html#ch05lvl2sec0151 (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. https://linuxconfig.org/how-to-resize-ext4-root-partition-live-without-umount…
-
how to check (scan) for open ports from outside in Linux
https://linuxize.com/post/check-open-ports-linux/
-
Alpine Linux is a Linux distribution based on BusyBox – it is perfect for containers providing quick boot-up times
https://en.wikipedia.org/wiki/Alpine_Linux