Articles by Dejan Panovski
unlink Command in Linux: Remove a Single File
The unlink command removes a single file by deleting its directory entry. This guide explains how to use unlink, how it differs from rm, and what to expect when removing files and symbolic links.

How to Change the SFTP Port
SFTP runs on SSH port 22 by default. This guide explains how to change the SFTP port on Linux, configure your firewall for the new port, and connect using the updated port number.

uniq Command in Linux: Remove and Count Duplicate Lines
The uniq command removes or counts duplicate adjacent lines in a file. This guide explains how to filter duplicates, count occurrences, and use uniq with sort in pipelines.

umask Command in Linux: Set Default File Permissions
The umask command sets the default permission mask for newly created files and directories. This guide explains how umask works, how to calculate its value, and how to make it permanent.

head Command in Linux: Display the First Lines of a File
The head command prints the first lines or bytes of one or more files. Learn how to use head to preview files, limit pipeline output, and inspect logs.

How to Install Git on Raspberry Pi
Install and configure Git on Raspberry Pi OS using apt or build the latest version from source. Includes configuration steps, troubleshooting, and FAQ.

Using curl to Make REST API Requests
Use curl to test and interact with REST APIs from the command line. Covers GET, POST, PUT, PATCH, DELETE, authentication, and response inspection with examples.

How to Start, Stop, and Restart Apache on Linux
Manage the Apache web server with systemctl on Ubuntu, Debian, Fedora, and RHEL. Covers start, stop, restart, reload, status, enable on boot, and config testing.

ssh Command in Linux: Connect to Remote Servers
Connect to remote servers securely using the ssh command. Covers basic connections, key-based authentication, SSH config files, running remote commands, port forwarding, and troubleshooting.

pwd Command in Linux: Print the Current Working Directory
The pwd command prints the current working directory in Linux. This guide covers pwd syntax, the -L and -P options, the $PWD variable, and how symlinks affect the output.

How to Install TeamViewer on Ubuntu 24.04
Step-by-step instructions for installing TeamViewer on Ubuntu 24.04. Covers downloading the .deb package, launching the application, keeping it up to date, and removing it.

Check Open Ports in Linux: nmap, netcat, and Bash
Three ways to check which ports are open on a Linux system from the command line: nmap, netcat, and the Bash /dev/tcp pseudo-device.

ifconfig Command in Linux: Configure Network Interfaces
Configure and view network interfaces in Linux using ifconfig. Covers IP assignment, enabling and disabling interfaces, MTU, MAC address changes, and modern ip command equivalents.

Bash For Loop: Syntax and Examples
A complete guide to the Bash for loop: standard syntax, C-style loops, arrays, ranges, break and continue, and real-world scripting examples.

groupdel Command in Linux: Delete a Group
Learn how to delete a Linux group using the groupdel command. Covers syntax, verification, handling primary group errors, and what happens to files owned by the deleted group.

wc Command in Linux: Count Lines, Words, and Bytes
The wc command counts lines, words, characters, and bytes in files or standard input. This guide covers all options with practical pipeline examples.

Bash String Concatenation: Combine Variables and Strings
Learn how to concatenate strings in Bash using variable juxtaposition, the += operator, and printf. Practical examples for combining variables, literals, and command output.

Bash Exit Command and Exit Codes
The Bash exit command terminates a shell or script and returns an exit code. This guide covers exit status, the $? variable, exit code conventions, set -e, and practical script examples.

top Command in Linux: Monitor Processes in Real Time
The top command displays running processes and system resource usage in real time. This guide covers sorting, filtering, load metrics, and key interactive controls.

usermod Command in Linux: Modify User Accounts and Groups
The usermod command modifies user account attributes such as groups, shell, home directory, username, and expiry date. This guide covers all common options with examples.

