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

All About Linux.

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 »

Nano vs VIM editor – What’s the difference between nano and vim editors?

Nano and Vim solve the same terminal task with different editing models. Nano lets you type immediately and keeps its shortcuts visible. Vim separates typing from commands and rewards faster navigation once you learn its modes. The commands below match GNU nano 7.2 and Vim 9.1 on Ubuntu. What changes when you press a key?

Nano vs VIM editor – What’s the difference between nano and vim editors? Read More »

How to Find Your IP Address in Linux

Find your private IP with ip -br addr and your public IP with curl, wget, or dig. Commands run on Ubuntu 24.04, with ifconfig mapping and a script.

How to Find Your IP Address in Linux Read More »

← Previous 1 2 3 4 … 129 Next →

Recent Posts

  • How to upgrade Raspberry Pi OS to a newer version?
  • How to Restart Networking on Ubuntu Without Guessing the Service
  • How to easily list all directories and sort them by size on Linux
  • How to Find Out all the Open Ports in Linux?
  • Rename a Directory in Linux: 3 Methods

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.