Articles by Deepak Prasad
Does Ubuntu Need Antivirus?
Ubuntu does not ship with real-time antivirus like Windows Defender. Learn when ClamAV is enough, what commercial Linux endpoint tools offer, how ClamTK and rootkit scanners fit in, and what AppArmor and updates already …
How to Set Up a NAS Server on Ubuntu
Turn Ubuntu into a NAS server with Samba for SMB/CIFS shares and NFS for Linux clients: install packages, create /srv/nas storage, add smb.conf shares, export NFS to your LAN, open the firewall, and verify with smbclient …
Must-Have Apps for Ubuntu
A practical must-have Ubuntu apps list for desktop users: what ships by default, a one-shot apt starter bundle, and curated picks for media, security, dev tools, and gaming on Ubuntu 25.04—with apt, Snap, and Flatpak …
How to Mount a Network Drive on Ubuntu
Mount a network drive on Ubuntu over SMB/CIFS or NFS: install cifs-utils, create a mount point, use credentials safely, add fstab entries with _netdev, browse shares in the Files app, and unmount cleanly.
How to Install Velociraptor on Ubuntu
Install Velociraptor on Ubuntu 25.04: download the linux-amd64 binary, generate server.config.yaml, build the Debian server package, enable velociraptor_server, add a GUI admin user, open port 8000 for clients, and …
How to Remove LibreOffice from Ubuntu
Remove LibreOffice from Ubuntu with apt purge or the libreoffice* wildcard, autoremove UNO and URE dependencies, delete ~/.config/libreoffice, uninstall from App Center, and confirm no dpkg or desktop leftovers remain.
How to Clean Disk Space on Ubuntu
Free disk space on Ubuntu with apt clean and autoremove, journalctl vacuum, BleachBit previews, and the Ubuntu Cleaner PPA; find large caches with du and Baobab before you delete anything.
How to Remove Software on Ubuntu
Remove software on Ubuntu the right way: find the real package name, use apt remove or purge, uninstall Snap and Flatpak apps, clean rc config leftovers, avoid autoremove surprises, and delete manual installs from …
How to Install xoscope on Ubuntu
Install xoscope on Ubuntu from the universe apt package or build 2.3 from source; enable universe, pull GTK and ALSA dev libraries, work around SourceForge 404 and COMEDI API changes, launch the sound-card oscilloscope, …
How to Install Modoboa Mail Server on Ubuntu
Install Modoboa on Ubuntu with the official installer: DNS (MX, SPF, DKIM, DMARC, PTR), Let's Encrypt SSL, domains and mailboxes, webmail and Thunderbird setup, port 25 checks, and common troubleshooting.
How to Install OnlyOffice on Ubuntu
Install OnlyOffice Desktop Editors on Ubuntu from the official download.onlyoffice.com APT repo, a direct .deb, Snap, or Flatpak: import the GPG key, install onlyoffice-desktopeditors 9.4, launch desktopeditors, and …
Bash case Statement (Switch Case)
Learn bash case statement (switch case) syntax with examples: match patterns, parse script arguments, default clause, case-insensitive matching, glob patterns, getopts integration, and ;;& fall-through in Bash 4+.
Shell Scripting & Bash Tutorial (Free Course)
Free Bash and shell scripting course for Linux — arguments, variables, loops, functions, arrays, real scripts, and automation patterns. 30+ hands-on lessons organized into chapters; examples tested on Bash on RHEL, …
Java Tutorial for Beginners (with examples)
Free, complete Java tutorial for beginners - install JDK, variables, operators, control flow, OOP, collections, streams, lambda, multithreading, file I/O, regex, and exception handling. 80+ tested lessons on Java 17/21 …
Python subprocess: Run Shell Commands
Learn how to run shell commands in Python with subprocess.run(). Capture output, check return codes, handle errors, set timeouts, run multiple commands sequentially, and compare subprocess with os.system and os.popen.
Python range()
Learn how Python range() works with examples. Use range() in for loops, understand start, stop, and step, create reverse ranges, convert range to list, use negative steps, and avoid common range mistakes.
Pylint
Learn what Pylint is and how to use it in Python. Install Pylint with pip, run it on files or projects, understand common messages, fix snake_case naming warnings, disable rules, and configure Pylint with pyproject.toml …
Python Progress Bar
Learn how to create a progress bar in Python using print(), carriage return, sys.stdout.flush(), tqdm, progressbar2, and alive-progress. See examples for terminal loops, file processing, downloads, asyncio, and common …
Print Variable in Python
Learn how to print a variable in Python using print(), f-strings, commas, str.format(), and % formatting. See examples for printing strings, numbers, multiple variables, text with variables, and avoiding common TypeError …
Python sorted() Function
Learn how Python sorted() works with examples. Understand the difference between sort() and sorted(), sort lists, tuples, strings, dictionaries, use key functions, reverse=True, lambda, and custom sorting.
Seaborn Scatter Plot
Learn how to create a Seaborn scatter plot using sns.scatterplot(). See examples with hue, style, size, palette, marker size, transparency, labels, legends, and regression lines.
Remove Key from Dictionary in Python
Learn how to remove a key from a Python dictionary using pop(), del, dictionary comprehension, and safe methods to avoid KeyError when the key may not exist.
Python zipfile Module
Learn the Python zipfile module with examples. Create and append ZIP archives, list and read members, extract files safely, handle passwords on read, choose compression, use BytesIO, and rebuild archives without a …
Sort Dictionary by Key in Python
Learn how to sort a dictionary by key in Python using sorted(), dict(), lambda, itemgetter(), reverse=True, case-insensitive sorting, and nested dictionary examples.
Kubernetes DNS Troubleshooting: Fix CoreDNS, NXDOMAIN, SERVFAIL, ndots, and DNS Timeouts
We walk you through Kubernetes DNS failures with the CoreDNS and kube-dns checks we use in real incidents—NXDOMAIN, SERVFAIL, ndots, NetworkPolicy port 53, and external DNS—so you can copy the same commands on your …
Python Tree Data Structure
Learn tree data structure in Python with simple examples. Understand nodes, root, children, binary trees, binary search trees, DFS, BFS, inorder, preorder, and postorder traversal.
Sort Dictionary by Value in Python
Learn how to sort a dictionary by value in Python using sorted(), lambda, itemgetter(), reverse=True, and custom sorting. See examples for ascending order, descending order, duplicate values, and nested dictionaries.
Python Split String
Learn how to split a string in Python using str.split(). See examples for splitting by whitespace, comma, newline, multiple spaces, maxsplit, rsplit(), splitlines(), and regex delimiters.
Python Set
Learn Python sets with simple examples. See how to create a set, add and remove items, check membership, remove duplicates, and use union, intersection, difference, symmetric difference, issubset, issuperset, and …
Append String in Python
Learn how to append to a string in Python using +, +=, f-strings, format(), and join(). Understand why Python strings have no append() method and when to use each approach.

