Linux
All posts under tag "Linux"

Forced Command in SSH: Running Only One Command Without Shell Access
In this note, we will look at the "Forced command" mechanism in SSH, which allows SSH keys to be limited to executing a single command.

Basic Nftables configuration in Linux with a Bash script
Automating nftables configuration in Linux with a universal Bash script using a basic rule set for filtering network traffic.

Bash one-liner collection
A regularly updated collection of complex and long shell commands 💻

Bash snippet collection
A regularly updated collection of useful shell snippets 💻.

Setting Up Your Own Hugo Site with Content Publishing via Obsidian
In this guide, I will explain how to set up your own website using the Hugo static site generator. I will also show how to create content with Obsidian and publish it automatically via CI/CD👨💻.

Bash: Writing a Script to Simulate Mouse Activity
In this short note, we will write a Bash script that moves the mouse pointer one pixel and back at a specified interval. This is useful if your desktop is regularly locked because there is no user activity😉.

How to Learn to Write Bash Scripts: Recommended Materials
In this note, I have put together a small roadmap for those who want to learn programming in the Bash shell language.

A Little About Shebang in Linux
Shebang is the #! sequence at the beginning of an executable file that tells the system which program should interpret this script📝.

Linux command line, archiving and compression: tar, gzip, bzip2, xz, zstd, zip, 7z, and rar commands
In this article, we will study ways to archive and compress files in Linux systems. I will explain how to use the utilities from the article title.

