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

All About Linux.

How To Find The User Group Of A User In Linux

It takes just a few commands to find the user group of a user in Linux. If you already know the basics about user groups, you can jump right to the headings that refer to the commands. Which Command Answers Which Question Four tools report group membership, and they disagree because they read different parts

How To Find The User Group Of A User In Linux Read More »

How to Uninstall Packages With apt: remove vs purge

On Ubuntu, apt remove, apt purge, and apt autoremove all uninstall a package, but they stop at different layers of it. The difference decides what survives: the package files, the configuration, or the leftover dependencies. I installed a small text-drawing filter called boxes and removed it three separate ways to record what each command clears,

How to Uninstall Packages With apt: remove vs purge Read More »

How to Install DEB Files on Ubuntu

Installing a DEB file on Ubuntu is usually one command, but it works only when apt gets the file’s path, not its name. The ./ prefix makes the same file install, and the GUI method handles the rest. The command ends with E: Unable to locate package. Add the ./ prefix and the same file

How to Install DEB Files on Ubuntu Read More »

How to Use the apt Command to List Installed Packages on Ubuntu

Listing installed packages on Ubuntu is one command: apt list –installed. The extra line it prints is not a package, and the quiet flag removes it from the count. I ran every command on this page on Ubuntu 24.04 LTS with apt 2.8.3 and dpkg 1.22.6, and the terminal output below is copied from those

How to Use the apt Command to List Installed Packages on Ubuntu Read More »

How to Install Kali Linux on VirtualBox With the Pre-Built Image

Installing Kali Linux on VirtualBox is fastest with the pre-built image from Kali’s own site, which skips the ISO installer entirely. Download the image, check its checksum, and set the VirtualBox options that make the machine boot. What You Need Before the Download The image is the same on Windows, macOS, and Linux hosts, but

How to Install Kali Linux on VirtualBox With the Pre-Built Image Read More »

Linux Zip and Unzip Commands: Stop Getting an Empty Archive

The zip and unzip commands are separate programs, and the one that packs your files returns exit code 0 whether or not it stored anything. That is how you can run zip plain.zip project, read the single line adding: project/ (stored 0%), and finish with an archive that holds no files. I ran the whole

Linux Zip and Unzip Commands: Stop Getting an Empty Archive Read More »

Netcat Command in Linux: Commands That Work on Your System

nc is three programs sharing one name, and the option table you find usually belongs to the wrong one. On Ubuntu and Debian the nc in your PATH is netcat-openbsd, which dropped the flags that netcat-traditional and Nmap’s ncat kept, so a line copied from a guide about either of those fails the moment you

Netcat Command in Linux: Commands That Work on Your System Read More »

How to Add a User to Sudoers on Ubuntu and Debian

I tested the group-based and file-based ways to add a user to sudoers on a current Debian-family system, including syntax validation with visudo and permission checks with sudo -l. Use the sudo group for a normal administrator, and use a sudoers.d rule when you need narrower or separately managed access. Choose the method that matches

How to Add a User to Sudoers on Ubuntu and Debian Read More »

How to Create a File in Linux: 5 Practical Methods

I ran touch empty.txt and stat reported empty.txt as 0 bytes, then checked writes, appends, standard input, and editor-based creation. Choose the method by the result you need: a blank file, controlled text, typed input, or an interactive editing session. Choose the method that matches the job Linux creates a file when a command opens

How to Create a File in Linux: 5 Practical Methods Read More »

How to Check Your Ubuntu Version in the Terminal

I checked four version commands on Ubuntu 24.04.4 LTS and matched each one to the job it serves. Use lsb_release for a quick report, /etc/os-release when a script needs stable fields, and hostnamectl when the kernel belongs in the same check. These commands need no administrator access. Start with the shortest answer, then choose a

How to Check Your Ubuntu Version in the Terminal Read More »

← Previous 1 … 7 8 9 … 129 Next →

Recent Posts

  • Install R in Ubuntu: How to Set up R Development Environment
  • How to Search for a Package in Ubuntu with apt
  • How to Uninstall Packages from Ubuntu with APT, Snap, and App Center
  • Pacman Command on Arch Linux – Getting Started
  • Install Discord on Linux: Ubuntu, Fedora, Arch, and Flatpak

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.