Urgent.News

What's breaking now, across thousands of outlets.

Tech

Terminal basics for vibe coders: read before you approve

The short version Coding agents like Claude Code and Codex do their work by running commands in your terminal, so learn enough Bash to read a command before you approve it. rm -rf deletes a file or a whole folder for good. The terminal has no recycle bin, so check the exact path before you approve it. Slow down when an agent's command uses sudo or pipes curl into bash. Ask why when it reads or…

When you give a coding agent a task, it communicates with your machine through the terminal. Therefore, it's essential to understand the basics of terminal commands before approving any command your agent wants to execute. Deleting files or entire folders with rm -rf is permanent and irreversible, as there is no recycle bin in the terminal. Always double-check the exact path of the file or folder you intend to delete and ask why the command is reading or changing files outside your project folder.

When working with a coding agent, it's crucial to start from your project folder, as the agent treats the folder you launch it in as its workspace. Avoid running an agent with the --dangerously-skip-permissions option on your real machine, as it lacks the ability to differentiate between private and public files and won't ask before reading them.

To effectively work with the terminal, you should be proficient in basic Bash commands. Understanding these commands will enable you to read and review the commands your agent wants to run before approving them. This section will cover the most important commands, red flags indicating potential issues, and how to inspect unfamiliar commands safely.

The terminal is the interface where coding agents like Claude Code and Codex operate. It's essential to learn enough Bash to read and comprehend the commands your agent intends to execute, ensuring your machine remains secure and functions as expected.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

A web game in a native shell: shipping to Google Play and the App Store with Capacitor in five days

Cannon King: Wind Tank Battle started as a browser game — TypeScript, a canvas, a physics loop I could reload in 300 ms. The problem was distribution: nobody finds a URL, and the stores are where the…

  • Cannon King's web game, Wind Tank Battle, launched as browser-based artillery battle.
  • Native shell created using Capacitor, shipped to Google Play and App Store within five days.

How to put a video on a landing page without hurting page speed

A product video is usually the heaviest thing on a landing page, and the easiest to get wrong. Here is the setup I use so the video helps conversion without costing page speed.

  • Host video externally on YouTube or Vimeo to avoid page speed impact.
  • Display thumbnail, load player on click to reduce initial load time.
  • Use iframe with autoplay, encrypted-media, and picture-in-picture settings.

Azure Functions com TypeScript: da criação ao deploy

Quando pensamos em desenvolver uma funcionalidade para uma aplicação, normalmente imaginamos uma API, um servidor e toda a infraestrutura necessária para manter esse serviço funcionando.

  • Azure Functions is a serverless compute service by Microsoft Azure.
  • TypeScript can be used with Azure Functions for development.
  • Function receives HTTP request, validates data, and stores content in Azure Blob Storage.

More from Saturday 14 November →