Jolth (@jolthgs) header
Jolth (@jolthgs) profile picture

Software Engineer, Security and Linux

Colombia
Joined June 2011
Photo by Jolth (@jolthgs)Photo by Jolth (@jolthgs)Photo by Jolth (@jolthgs)Photo by Jolth (@jolthgs)Photo by Jolth (@jolthgs)Photo by Jolth (@jolthgs)Photo by Jolth (@jolthgs)Photo by Jolth (@jolthgs)Photo by Jolth (@jolthgs)Photo by Jolth (@jolthgs)
Jolth retweeted
For the next 24 hours you can STEAL my n8n swipe file containing 12+ automation's. All of these can be setup within 60 MINS and SAVE you 10+ HOURS per week. Easily worth $997+ Today It's yours for FREE πŸ‘‰RT + Like & Comment β€œn8n” and I’ll DM you the file (Must be following)
What if you could create your own AI character, give them a personality, and actually have a conversation with them? With Cuddler AI, you can turn your imagination into interactive stories, explore conversations, and bring your characters to life through cinematic moments. Create your character. Start your story. See where it takes you. Try Cuddler AI and comment β€œCuddler” if you want to explore more. #CuddlerAI #AI #AICreator #AIVideo
23
30
47
707
Git Commands Ranked by Danger ⚠️ 🟒 git status - Safe 🟒 git log - Safe 🟒 git diff - Safe 🟒 git branch - Safe 🟒 git stash list - Safe 🟑 git commit --amend - Be Careful 🟑 git stash drop - Be Careful 🟑 git checkout . - Be Careful 🟑 git merge - Be Careful 🟑 git cherry-pick - Be Careful πŸ”₯ git rebase -i - Risky πŸ”₯ git reset --hard - Risky πŸ”₯ git clean -fd - Risky πŸ”₯ git branch -D - Risky πŸ”₯ git pull --force - Risky πŸ’€ git push --force to main - Production Killer πŸ’€ git filter-branch - Production Killer πŸ’€ git reflog expire --expire=now --all - Production Killer πŸ’€ git rebase on shared branch - Production Killer πŸ’€ git push --mirror - Production Killer Which one has burned you the most? πŸ‘€
4
9
102
4,985
Jolth retweeted
ostep is 714 pages two wisconsin professors wrote after nearly 25 years of teaching operating systems, and it does not open with a syllabus chapter 1 is literally titled "a dialogue on the book," a professor and a student just talking through why any of this is worth learning before a single term gets defined then it moves through cpu virtualization, memory, concurrency, and persistence in that same register, intuition first, mechanism second
5
14
215
5,525
Jolth retweeted
a professor at Illinois got frustrated with existing systems programming textbooks so he started a Wikibook with students helping write it it covers C, processes, threads, memory, networking, filesystems, scheduling, and security all in one free book
14
200
2
1,613
50,865
How does Git work? To begin with, it's essential to identify where our code is stored. Credit to @bytebytego #cybersecurity #cybersecurityawareness #infosec #SOC #Networks #cheatsheet
6
22
1,692
Deleting files on Linux can be simpleβ€”or dangerously powerful; here are the commands worth knowing before you hit Enter by @xmodulo #cybersecurity #cybersecurityawareness #infosec #SOC #Networks #cheatsheet
2
10
50
2,167
Jolth retweeted
Bash Scripting Basics
8
210
5
1,887
70,918
Replying to @GithubProjects
@GithubProjects I wrote a full article with a video tutorial on my blog. Have a look at it: antigravity.codes/blog/free-…
2
7
4,425
Linux Firewall Configuration 1. Introduction β†’ A firewall is a security system that controls incoming and outgoing network traffic. β†’ It acts as a barrier between trusted internal systems and untrusted external networks. β†’ In Linux, firewalls help protect servers, applications, and data from unauthorized access. 2. Why Firewall Configuration Matters β†’ Prevent unauthorized access to your system. β†’ Protect against network-based attacks. β†’ Control which services are exposed to the internet. β†’ Monitor and filter traffic based on rules. β†’ Strengthen overall system security. 3. Types of Linux Firewall Tools β†’ iptables β†’ Traditional and powerful firewall tool. β†’ Uses rule chains to filter traffic. β†’ Operates at a low level in the kernel. β†’ nftables β†’ Modern replacement for iptables. β†’ Simplified syntax and better performance. β†’ Supports advanced rule management. β†’ UFW (Uncomplicated Firewall) β†’ Beginner-friendly firewall interface. β†’ Built on top of iptables. β†’ Easy to configure and manage. 4. Firewall Concepts β†’ Rules β†’ Define what traffic is allowed or blocked. β†’ Example: β†’ Allow SSH (port 22) β†’ Block all other incoming traffic β†’ Chains β†’ Rules are organized into chains: β†’ INPUT β†’ Incoming traffic β†’ OUTPUT β†’ Outgoing traffic β†’ FORWARD β†’ Traffic passing through system β†’ Policies β†’ Default action for traffic: β†’ ACCEPT β†’ Allow traffic β†’ DROP β†’ Block traffic silently β†’ REJECT β†’ Block traffic with response 5. Using UFW (Simple Approach) β†’ Enable Firewall β†’ sudo ufw enable β†’ Allow a Service β†’ sudo ufw allow ssh β†’ Allow a Port β†’ sudo ufw allow 80 β†’ Deny a Port β†’ sudo ufw deny 21 β†’ Check Status β†’ sudo ufw status 6. Using iptables (Advanced Control) β†’ Allow SSH β†’ iptables -A INPUT -p tcp --dport 22 -j ACCEPT β†’ Allow HTTP β†’ iptables -A INPUT -p tcp --dport 80 -j ACCEPT β†’ Drop All Other Traffic β†’ iptables -A INPUT -j DROP β†’ Save Rules β†’ iptables-save 7. Using nftables (Modern Approach) β†’ Create Basic Rule β†’ nft add rule inet filter input tcp dport 22 accept β†’ List Rules β†’ nft list ruleset β†’ Flush Rules β†’ nft flush ruleset 8. Common Firewall Configuration Strategy β†’ Allow essential services (SSH, HTTP, HTTPS). β†’ Deny all unnecessary ports. β†’ Restrict access to trusted IP addresses. β†’ Enable logging for suspicious traffic. β†’ Apply least privilege principle. 9. Firewall Logging β†’ Monitor blocked and allowed traffic. β†’ Helps detect attacks or misconfigurations. β†’ Example (UFW logging): β†’ sudo ufw logging on 10. Best Practices β†’ Always allow SSH before enabling firewall (avoid lockout). β†’ Use default deny policy. β†’ Regularly review firewall rules. β†’ Keep firewall tools updated. β†’ Combine firewall with intrusion detection tools. 11. Tip β†’ Linux firewalls are essential for network security. β†’ UFW is simple and beginner-friendly. β†’ iptables provides deep control. β†’ nftables offers modern and efficient rule management. β†’ Proper configuration protects systems from unauthorized access. πŸ“˜ Linux Mastery Ebook β†’ Master Linux internals, security, firewall configuration, system monitoring, and architecture step-by-step. πŸ”— Grab the Linux Mastery Ebook: codewithdhanian.gumroad.com/…
10
92
3
427
10,772
🐧 Master Linux ACL in one infographic! πŸ” Access Control Lists give you fine-grained permission control beyond traditional Linux permissions. βœ… 8 essential commands βœ… Clear explanations βœ… Perfect for beginners Follow @tecmint for daily #Linux tips! πŸ’š Learn more: tecmint.com
2
35
199
7,312
Linux Backup Strategies 1. Introduction β†’ Backup strategies protect Linux systems from data loss due to hardware failure, human error, cyberattacks, or corruption. β†’ A proper backup plan ensures business continuity and disaster recovery. β†’ Backups must be reliable, automated, and tested regularly. 2. Why Backups Are Critical β†’ Prevent permanent data loss. β†’ Recover from ransomware attacks. β†’ Restore systems after hardware crashes. β†’ Maintain regulatory compliance. β†’ Ensure minimal downtime in production systems. 3. Types of Backups β†’ Full Backup β†’ Copies all selected data. β†’ Simplest recovery process. β†’ Requires more storage and time. β†’ Incremental Backup β†’ Copies only data changed since the last backup. β†’ Faster and storage-efficient. β†’ Restoration requires full backup + all incremental backups. β†’ Differential Backup β†’ Copies data changed since the last full backup. β†’ Faster restore than incremental. β†’ Uses more storage than incremental. 4. Backup Methods in Linux β†’ 1. File-Level Backup β†’ Backs up individual files and directories. β†’ Common tools:  → rsync  → cp  → tar β†’ Example: β†’ rsync -av /home /backup β†’ 2. Image-Based Backup β†’ Creates a complete system image. β†’ Useful for full system restoration. β†’ Tools include:  → dd  → Clonezilla β†’ 3. Snapshot-Based Backup β†’ Uses filesystem snapshots to capture system state. β†’ Efficient and fast. β†’ Common with:  → LVM snapshots  → Btrfs  → ZFS β†’ 4. Database Backups β†’ Required for MySQL, PostgreSQL, etc. β†’ Tools include:  → mysqldump  → pg_dump 5. Backup Storage Strategies β†’ Local Backups β†’ Stored on the same machine or local network. β†’ Fast recovery. β†’ Risky if hardware fails completely. β†’ Remote Backups β†’ Stored on another server via SSH. β†’ Protects against hardware failure. β†’ Cloud Backups β†’ Stored in cloud storage providers. β†’ Scalable and geographically distributed. β†’ Ideal for disaster recovery. 6. The 3-2-1 Backup Rule β†’ 3 Copies of data. β†’ 2 Different storage types. β†’ 1 Offsite backup. β†’ This strategy reduces risk of total data loss. 7. Automation of Backups β†’ Use cron jobs for scheduled backups. β†’ Example: β†’ crontab -e β†’ Automate rsync or tar scripts. β†’ Ensures consistent backup without manual intervention. 8. Backup Security β†’ Encrypt backup files. β†’ Restrict access permissions. β†’ Regularly verify backup integrity. β†’ Test restoration process frequently. 9. Disaster Recovery Planning β†’ Define Recovery Time Objective (RTO). β†’ Define Recovery Point Objective (RPO). β†’ Document recovery procedures. β†’ Regularly simulate recovery scenarios. 10. Best Practices β†’ Automate backups. β†’ Monitor backup logs. β†’ Store backups in multiple locations. β†’ Test restore process regularly. β†’ Keep backup strategy simple and documented. 11. Tip β†’ Linux provides powerful tools for reliable backups. β†’ Choose full, incremental, or differential based on needs. β†’ Follow the 3-2-1 rule for safety. β†’ Automation and testing are critical for success. β†’ Backup strategy is essential for system reliability and business continuity. πŸ“˜ Linux Mastery Ebook β†’ Master Linux internals, backup strategies, system monitoring, logging, process scheduling, and IPC in depth. πŸ”—Grab the Linux Mastery Ebook codewithdhanian.gumroad.com/…
18
142
3
644
18,253
90% of your Linux problems can be solved with just these 10 commands.
9
83
2
539
17,839
Linux sed command for sysadmins
1
46
288
10,713
Layers of AI
30
768
15
3,833
122,660
Jolth retweeted
As a backend engineer. Please learn: - DB - System Design - Algorithms - API design - API Security - CI/CD - DS - Docker/ Kubernetes - Caching - Messaging Stop jumping from one language to the other
27
134
6
1,333
105,169
Jolth retweeted
certgrep.sh - A Certificate Transparency log search tool for pattern-based queries that helps security teams find public certificates & subdomains, works well alongside crt.sh for threat hunting. #CyberSecurity #ThreatIntelligence
1
7
422
Jolth retweeted
Information Gathering Tools πŸ•΅οΈβ€β™‚οΈ A concise guide to popular tools for collecting public data on domains, networks, systems, and digital footprints during reconnaissance in cybersecurity and OSINT workflows. Checking Out Below‡️
88
37
1
133
9,098
🚨Most common ways to reduce Docker image size: βœ…Save it before reading coz this is very common interview question. - Use a minimal base image : Prefer alpine, distroless, or slim variants instead of full OS images. - Multi stage builds : Build dependencies in one stage and copy only the final artifacts to the runtime image. - Reduce layers : Combine related commands into a single RUN instruction where practical. - Remove build time dependencies : Install compilers, package managers, and tools only in build stages. - Clean package manager cache Delete apt, yum, or apk cache in the same layer after install. - Use .dockerignore : Exclude unnecessary files like .git, tests, docs, and local configs. - Avoid copying everything : Copy only required files instead of COPY . . - Use smaller runtime binaries : Prefer static binaries or minimal runtimes where possible. - Strip binaries and assets : Remove debug symbols and unused assets. - Set correct file permissions early : Avoid extra layers caused by repeated chmod or chown.
7
46
242
11,565
🚨 AWS EC2 explained in one post An EC2 instance is a virtual server in AWS. It runs applications. You manage the OS and what runs on it. One of the most crucial services in Cloud ▫️What EC2 gives you : - A virtual machine with CPU, memory, storage, networking - Full control over OS like Linux or Windows - You choose size, OS, network, and storage ▫️Instance basics : - Instance = virtual server - Launched inside a VPC and subnet - Has a private IP, optional public IP - Identified by an instance ID ▫️Instance types : - General purpose for most workloads - Compute optimized for CPU heavy tasks - Memory optimized for databases and caches - Storage optimized for high IOPS - Size can be changed by stopping the instance ▫️Storage : - EBS volumes act like virtual hard disks - Root volume holds the OS - Data persists if EBS is attached - Instance store is temporary and lost on stop ▫️Access : - SSH key pair for Linux login - RDP for Windows - Security Groups act as virtual firewalls - NACLs control subnet level traffic ▫️Security : - IAM role gives EC2 access to AWS services - No need to store access keys on server - Security Groups allow only required ports - Regular patching is your responsibility ▫️Scaling : - One EC2 = one server - Auto Scaling Group manages multiple instances - Load Balancer distributes traffic - Scale up, down, or out based on demand ▫️Pricing : - On Demand for flexibility - Reserved for long term workloads - Spot for cheap, interruptible workloads - You pay for uptime and resources used ▫️Common use cases : - Web and application servers - Backend APIs - Legacy applications - Custom workloads not suited for serverless If you understand this, you already know 80 percent of EC2.
8
42
253
11,855
50 Linux commands for Cloud Engineers Thread🧡 Comment β€œPdf” if you want it.
328
162
3
1,108
78,410