Linux Permissions (chmod)

Changing permissions for files and directories How to read granted permissions: The first character (-)Shows the type of item: The next nine characters (rwxrwxrwx) show permissions: Each letter means: Table of Octal Permission Modes Octal Binary File Mode 0 000 — 1 001 –x 2 010 -w- 3 011 -wx 4 100 r– 5 101

Shellog – Recording Full Linux Shell Sessions (Input + Output)

A few years ago I asked on a Polish Linux forum on LinkedIn how to see both input and output history from a shell session. I needed this because, when I started using Linux, I often crashed my system due to limited knowledge of commands and how the Linux kernel works. Nobody answered that it

Linux Symbolic-Link & Hard-Link – Real Use Case

HARD-LINK A hard link creates an additional name for the exact same data on your disk. The system does not copy the file but simply adds a new entry to the directory table pointing to the same file ID or inode. Both names are equally valid and share the same physical storage space. The actual

Automated Image Optimizer for Linux – Save Cloud Storage

To save space on expensive server storage, I need to downsize my pictures to the smallest size possible. To do this, I created a script which is automatically started by systemd in Ubuntu Linux. To do this, we need to install some new software. Install inotifywait to detect new pictures in the folder. This will

How to autostart apps on Ubuntu using systemctl

Syncthing does not run automatically after Linux starts. Use this method to enable the user level service for desktop environments. This ensures Syncthing starts whenever you log into your session. First enable the service for your current user by running this command in the terminal:  The terminal should return a message confirming the creation of

Best Note-Taking Setup: Syncthing + Obsidian + Linux Backups

Build a powerful note-taking setup on all your devices. Avoid external clouds for syncing and use them only for encrypted backups to ensure maximum privacy. Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers in real time, safely protected from prying eyes. Your data is your data alone and