惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Help Net Security
Scott Helme
Scott Helme
爱范儿
爱范儿
WordPress大学
WordPress大学
博客园 - 三生石上(FineUI控件)
阮一峰的网络日志
阮一峰的网络日志
博客园 - Franky
V
V2EX
腾讯CDC
博客园_首页
博客园 - 司徒正美
酷 壳 – CoolShell
酷 壳 – CoolShell
T
Tailwind CSS Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
小众软件
小众软件
J
Java Code Geeks
大猫的无限游戏
大猫的无限游戏
月光博客
月光博客
Microsoft Azure Blog
Microsoft Azure Blog
B
Blog
雷峰网
雷峰网
Stack Overflow Blog
Stack Overflow Blog
IT之家
IT之家
罗磊的独立博客
Recorded Future
Recorded Future
博客园 - 聂微东
O
OpenAI News
S
Secure Thoughts
Hacker News: Ask HN
Hacker News: Ask HN
S
Schneier on Security
Hacker News - Newest:
Hacker News - Newest: "LLM"
Y
Y Combinator Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Project Zero
Project Zero
宝玉的分享
宝玉的分享
K
Kaspersky official blog
N
Netflix TechBlog - Medium
T
The Exploit Database - CXSecurity.com
Google Online Security Blog
Google Online Security Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Webroot Blog
Webroot Blog
云风的 BLOG
云风的 BLOG
Simon Willison's Weblog
Simon Willison's Weblog
C
Check Point Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
L
LINUX DO - 热门话题
美团技术团队
L
Lohrmann on Cybersecurity

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Linux Essentials
Aka · 2026-05-12 · via DEV Community

What is Linux?

Linux is an Operation System (just like Mac OS or Windows). It is free and open-source which means you can contribute to it. (Yaaay ^^)


Linux has distributions. But what is a Linux Distribution?

A Linux distribution is an operating system built on the Linux kernel. Think of them as different flavors in an ice cream truck. You can choose the one that suits your taste.


A Truck, full of linux distros

Now that we mentioned it, what is the Kernel?

The kernel is the core part of the operating system. It acts as a bridge between hardware and software, managing communication between them.

software-kernel-hardware

In Linux, we can interact with the operating system in two ways:

  1. GUI is where we use the mouse to click on buttons, icons (and etc.) to complete tasks.
  2. CLI is where we type commands in the terminal to perform tasks.

Now, hopefully, assuming most of us already know how to use the GUI, we can move on to learning…

…Linux commands.

Let`s start with the things we already learned, such as the kernel.


Command: Uname

For getting information about our system, we have the command uname. It prints kernel name, version, architecture, and hostname.

uname

There are a bunch of useful commands related to the system.

  • uptime shows how long the system has been running.
  • whoami shows our current user.
  • top showsrunning processes and system usage.
  • htop is improved version of top.
  • free -h shows memory usage.
  • df -h shows disk space usage.

Command: hostname

hostname

If it is not already obvious from the command itself, this is for checking our hostname (which is ubuntu). But how can we change the hostname? We can do it with sudo hostnamectl set-hostname new-hostname command. Make sure to use sudo if you are not already root.

Now, what is sudo and why do we need it?

sudo means we are running a command with root access. In Linux (unlike win admin), root is the main user with full control over the system and can do literally anything. So when we put sudo in front of a command, we are running that command with root privileges for that moment.


Command: pwd

Now let`s see our path by pwd command.

pwd

Since we talk about paths. It is good to know about two types of paths:

Absolute Path and Relative Path

An absolute path is the full location of a file or directory, starting from the root directory /. It never changes because this path works from anywhere on the system.

A relative path shows the location of a file or directory based on the current directory, not from the root /. If you change your location, the path will change.

Alice-in-Wonderland

We can think of it as an address on a piece of paper. Let’s say we want to find the way from our home to the rabbit hole. The full (absolute) path is /home/farm/garden/tree/rabbit-hole. No matter where we are this won’t change.

But now imagine we are already somewhere inside the farm. We ask a caterpillar if he knows the way. He says “garden/tree/rabbit-hole”. This is a relative path.

We walk some more and reach the garden. Then we ask the Cheshire Cat again, and he says “tree/rabbit-hole”. Now the path has changed because we are in the garden. This is how relative path works. It depends on our current location (where we are now).


Command: mkdir

We can create a folder there. Type mkdir directory_name.

mkdir

To delete the folder: rmdir example_folder or rm -rf example_folder.

rmdir


Command: ls

How to see what we created? ls command lists files in a directory.

ls

You can add some flags (options) to the command ls. Such as:

  • ls -a (show all files including hidden ones)
  • ls -l (long format listing)

ls -a


Command: alias

How about we try to command ll? Normally, it is alias for ls -l, but since our Linux is Ubuntu default, it is ls -alf (which includes all hidden files, long detailed formats and symbols like / for directories).

alias

So, what is alias? It is a shortcut for a longer command. Such as ll. The structure is simple. alias shortcut='full_command'

example-alias


Command: cd

In Linux we have cd command for navigation.

cd

We used cd to move to the example_directory. In order to return, we type cd .. command.


Command: touch

Let's say we want to create a file in this directory. There are several ways to do this basic task, however we will start with the easiest: The command touch.

touch

To delete the file: rm file_name.txt or rm -rf file_name.txt

rm1
rm2

Warning: rm -rf /* deletes your entire system.


Text editors

The other way to create a file is using one of the text editors in Linux. Nano, Vim (Vi Improved) or Vi (old).

text-editor1
text-editor2
text-editor3
text-editor4


Command: Cat ฅ^>⩊<^ ฅ

We can also check out what is inside our files by cat command.

cat

With cat command we can more than that. What if we check a system file that contains details about our Linux distro?

info-distro

We can also create a file with cat command and > symbol.

create-file


Command: grep

If we want to search for a specific word inside a file, we can use the grep command.

grep

Another way to use grep is by combining it with the cat command.

grep-cat

The | (pipe) operator allows us to pass the output of one command (cat) as input to another command (grep).


Command: echo

Another way of creating a file is using echo command.

echo

Normally, echo will print text to the terminal.

print-echo

We can also print variables but do not forget the symbol $.

symbol


Lastly, we have cp and mv commands.

  1. cp command copies a file or directory to another location.

cp1
cp2

  1. mv changes the location of a file or directory.

mv


A question for you!!! (〃 ̄ω ̄〃ゞ
What is the difference between mv and cp that you have encountered?