Skip to content
Linux
  • Home
  • About
  • Contact Us
  • Privacy Policy

All About Linux.

Bash for Loop in Shell Scripts: Syntax and Split Filenames

A for loop that renames files can act on half a filename, because bash splits the word list on whitespace before the body runs. A file holding the names report final.txt and notes.txt reaches the loop as three words, so the command in the body runs against a path that does not exist. Quoting inside

Bash for Loop in Shell Scripts: Syntax and Split Filenames Read More »

How to Uninstall Ubuntu Dual Boot and Keep Windows Booting

A dual boot keeps Ubuntu in three places, and the partition is only one of them. The root filesystem sits on its own partition, the bootloader sits on the EFI system partition, and the firmware keeps a pointer to that bootloader in its own boot list. Delete the partition on its own and the machine

How to Uninstall Ubuntu Dual Boot and Keep Windows Booting Read More »

How to Change the DNS Server on Linux So It Survives a Reboot

Changing the DNS server on Linux sticks only when the command lands where the component that owns the setting reads it. On Ubuntu, Fedora, Debian, and Arch that component is systemd-resolved, and /etc/resolv.conf is a symlink it rebuilds. NetworkManager and netplan hold the same value on the machines where they own the connection, which is

How to Change the DNS Server on Linux So It Survives a Reboot Read More »

How to Create Symbolic Links in Linux With the ln Command

A link name can point at one release today and another tomorrow. A deploy usually calls that link www/current, and ln -s writes it with one flag deciding what happens when the name is already taken. Leave out -n and ln treats a directory name as a directory, so the link you meant to replace

How to Create Symbolic Links in Linux With the ln Command Read More »

How to Install RPM Packages on Ubuntu and Check They Will Run

Installing an RPM package on Ubuntu can still leave a program that will not start, because the conversion never touches the binary inside it. I compared three Fedora 44 packages against an Ubuntu 24.04 host to find where a conversion stops paying off, and the answer turned out to be a version number the program

How to Install RPM Packages on Ubuntu and Check They Will Run Read More »

4 Best Terminal Based Text Editors for Linux

A server you SSH into has its own idea about which editor you should use, and it rarely matches yours. Terminal based text editors come in two families, and the family decides how long your first edit takes. Modal editors such as Vim give you a keystroke grammar that pays off across a long session

4 Best Terminal Based Text Editors for Linux Read More »

Install Slack on Linux: Deb, RPM, Snap and Flatpak

Slack’s Linux download page never prints a version number, so the choice between four package formats is made blind. All of them carry the same build today, and it is 4.52.155. I compared the checksum of the .deb from Slack’s download host against the one in Slack’s own apt repository index, and I read the

Install Slack on Linux: Deb, RPM, Snap and Flatpak Read More »

How to Use the chown Command in Linux

chown changes the owner and the group of a file or a directory on Linux, and nothing else. The command writes the two fields that sit beside the permission string in a long listing, and the permission string belongs to a different program. What sends readers searching is the reporting. The change line names the

How to Use the chown Command in Linux Read More »

How to Install a GUI on Ubuntu Server and Reach It from Your Laptop

Ubuntu Server boots to a text prompt, and one apt command puts a desktop environment on the disk. Seeing that desktop is the step that catches people out. A server has no monitor and SSH carries no pixels, so the greeter starts, runs, and draws to nothing you can look at. I ran the sequence

How to Install a GUI on Ubuntu Server and Reach It from Your Laptop Read More »

How to Set a Static IP Address on Ubuntu (Desktop and Server)

Ubuntu keeps a static IPv4 address in a YAML file under /etc/netplan, and a generator turns it into the configuration the system applies at boot. So editing /etc/network/interfaces does nothing on a current release, and a netplan file with the wrong interface name applies cleanly and changes nothing. The file owns the address, and the

How to Set a Static IP Address on Ubuntu (Desktop and Server) Read More »

← Previous 1 2 3 … 129 Next →

Recent Posts

  • How to Open a bin File in Linux and Run, Mount, or Read It
  • How to Install Steam on Linux and Run Windows Games
  • How to Clear Bash History in Linux and Mac So It Stays Cleared
  • Execute Linux Commands in Python and Capture the Output
  • 5 Disk Partitioning Tools for Linux and When to Use Each One

Favorite Sites

  • Python Tutorials
  • GoLang Tutorials
  • CodeForGeek
  • VM-Help
  • MySQL Tutorials
  • Excel Tutorials
Linuxlogo

Learn everything about Linux, under a single roof. LinuxForDevices covers Linux tutorials, Open Source news, and courses to help you grow.

Copyright © 2026 · LinuxForDevices · LinuxForDevices is part of Diyansh IT Services Private Limited
Linux® is a registered trademark of Linus Torvalds.