Advanced Bash Scripting: Practical Building Blocks
Practical building blocks for safer and more maintainable Bash scripts.
Practical building blocks for safer and more maintainable Bash scripts.
A beginner-friendly Bash overview with basic commands, variables and a simple script.
unix2dos converts a Unix/Linux text file to Windows-style line endings. It is mainly useful when a file needs to be opened by older Windows tools that expect CRLF line endings. Convert a file This updates the file in place. Make a copy first if you need to keep the original Unix-format file. For shell scripts … Read more
mii-tool is an older Linux command used to check the link status and speed of some Ethernet interfaces. On modern systems, ethtool is usually preferred, but mii-tool may still appear on older servers. Check an interface The output can show whether the link is up and what speed or duplex mode is detected. Modern alternative … Read more
A modern overview of Linux VNC server setup, including TigerVNC, SSH tunnelling, firewall restrictions, and safer remote-desktop practices.
If you need a long-running shell session to survive an SSH disconnect, use a terminal multiplexer such as screen or tmux. Both let you detach from a session and reconnect later. Using screen screen -S work Detach with Ctrl-A then D. Reattach later with: screen -r work Using tmux tmux new -s work Detach with … Read more
Part two of the Linux filesystem structure overview, covering boot files, device files and local software directories.
How to open and search Linux man pages from the command line.
Practical notes for installing two Linux distributions on one machine.
Legacy notes on the LILO bootloader and the modern GRUB, systemd-boot, and UEFI tools that replaced it on most Linux systems.