• Modern UX

    Edit and navigate faster in the terminal with Warp's IDE-like input editor.

  • Warp AI

    AI suggests what commands to run and learns from your documentation.

  • Agent Mode

    Delegate tasks to AI and use natural language on the command line.

  • Warp Drive

    Save and share interactive notebooks, workflows, and environment variables.

  • All Features

Thumbnail for Your coding questions, answered.Thumbnail for Your coding questions, answered.Thumbnail for Your coding questions, answered.Thumbnail for Your coding questions, answered.
Your coding questions, answered.

Your coding questions, answered.

Terminus provides developers with solutions and methods to fix common coding issues. Terminus is your resource for precise, actionable insights tailored for professional development environments.

Featured

Featured Topic
Vi

Vim

0View all in Vim
View all in Vim

More Articles

171

New

A→Z

Learning Docker (The Easy Way) Using LazyDocker & Warp

A concise guide to learning Docker using Lazydocker. Highlights Docker’s benefits and takes advantage of Warp's AI features for a quick setup.

Docker
Thumbnail for Jessica WangThumbnail for Jessica WangThumbnail for Jessica WangThumbnail for Jessica Wang
Jessica Wang

Copy & Paste in Vim / Vi

Copy (Yank), Paste (Put) and Cut (Delete) in Vim

VimVi
Thumbnail for Jessica WangThumbnail for Jessica WangThumbnail for Jessica WangThumbnail for Jessica Wang
Jessica Wang

Bash Concatenate Strings

Join two strings together in Bash

BashLinuxUnix
Thumbnail for Prianka SubrahmanyamThumbnail for Prianka SubrahmanyamThumbnail for Prianka SubrahmanyamThumbnail for Prianka Subrahmanyam
Prianka Subrahmanyam

Bash Comments

Comments will help make your scripts more readable

BashLinuxUnix
Thumbnail for Prianka SubrahmanyamThumbnail for Prianka SubrahmanyamThumbnail for Prianka SubrahmanyamThumbnail for Prianka Subrahmanyam
Prianka Subrahmanyam

Bash printf

How to use string formatting with bash printf

BashUnixLinux
Thumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory Kim
Glory Kim

How to Add a User to Sudoers

Grant elevated privileges to users

LinuxUnix
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Bash Case Statement

A popular alternative to the if-then-else statement

BashLinuxUnix
Thumbnail for Amit JotwaniThumbnail for Amit JotwaniThumbnail for Amit JotwaniThumbnail for Amit Jotwani
Amit Jotwani

Bash Aliases

Create an alias for common commands

BashLinuxUnix
Thumbnail for Brett TerpstraThumbnail for Brett TerpstraThumbnail for Brett TerpstraThumbnail for Brett Terpstra
Brett Terpstra

Chmod 755

General meaning, examples, and flags for chmod 755

LinuxUnix
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

List Installed Packages With Brew

List the installed packages with Homebrew

Homebrew
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Reading User Input

Via command line arguments and prompting users for input

BashLinuxUnix
Thumbnail for Amit JotwaniThumbnail for Amit JotwaniThumbnail for Amit JotwaniThumbnail for Amit Jotwani
Amit Jotwani

Brew Uninstall Package

Remove installed packages with Homebrew

Homebrew
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Chmod +X

An overview of chmod +x and how to use it

UnixLinux
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Chown Recursively

How to recursively change the ownership of files

LinuxUnix
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Copy File To Docker Container

How to copy files and directories from a local machine to a Docker container

Docker
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Curl Follow Redirect(s)

Learn how to make curl automatically follow a redirect along with the most common pitfalls to avoid when doing so.

LinuxUnix
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Curl Post Request

Use cURL to send data to a server

BashUnixLinux
Thumbnail for Zev StravitzThumbnail for Zev StravitzThumbnail for Zev StravitzThumbnail for Zev Stravitz
Zev Stravitz

Curl With Headers

Send request headers with cURL

LinuxUnix
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Curl With Basic Auth

Perform a basic access authentication with cURL

LinuxUnix
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Show Curl Headers

Curl request and response headers

LinuxUnix
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Copy File From Container To Host

Copy files and directories from a Docker container to my local machine

Docker
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Remove All Docker Images

Learn how to remove all used, unused, and dangling Docker images using the `docker rmi` and `docker image prune` commands.

Docker
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

How to delete lines in Vim / Vi

The best answer depends on which mode you use

VimVi
Thumbnail for Andrew CarlsonThumbnail for Andrew CarlsonThumbnail for Andrew CarlsonThumbnail for Andrew Carlson
Andrew Carlson

Docker Remove Stopped Containers

Remove all stopped Docker containers at once

Docker
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Run Bash Shell In Docker

Start an interactive shell in Docker container

DockerBash
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Run a Shell Script in a Dockerfile

When and how to run a shell script in a Dockerfile

Docker
Thumbnail for Preston Tunnell WilsonThumbnail for Preston Tunnell WilsonThumbnail for Preston Tunnell WilsonThumbnail for Preston Tunnell Wilson
Preston Tunnell Wilson

Change Git Origin Remote URL

Learn how to change the remote url of a local git-enabled directory using the git-remote command and Warp's workflow feature.

Git
Thumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip Wilkinson
Philip Wilkinson

Amend a Git Commit

Making changes to a previous commit

Git
Thumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip Wilkinson
Philip Wilkinson

Git Clone, Push, And Pull Over SSH

Learn how to set up an SSH key to clone, push, and pull a Git repository over the SSH protocol.

Git
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

How To Create a Git Repository

Creating repos in various scenarios with git

Git
Thumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip Wilkinson
Philip Wilkinson

Git Commit History

Different ways to use Git to understand how to navigate the commit history of a repository or branch

Git
Thumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory Kim
Glory Kim

Delete Local Git Branch

Learn how to delete local branches from your git repository, including ones with unmerged changes, as well as local remote-tracking branches.

Git
Thumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip Wilkinson
Philip Wilkinson

Undoing Git Commits

Explore ways to undo a commit, including git reset, git checkout, and git revert with git while preserving commit history.

Git
Thumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip Wilkinson
Philip Wilkinson

Grep Count

Efficiently count lines or occurrences in a file.

Grep
Thumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip Wilkinson
Philip Wilkinson

Exclude With Grep

Excluding unwanted key terms or directories when using grep

Grep
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Go To End of File in Vim / Vi

Select and delete to the end of a file in Vim

VimVi
Thumbnail for Preston Tunnell WilsonThumbnail for Preston Tunnell WilsonThumbnail for Preston Tunnell WilsonThumbnail for Preston Tunnell Wilson
Preston Tunnell Wilson

Grep In a Directory

Learn how to use grep to search for words and phrases within a directory and all its subdirectories, a specific directory, all files, and other variations.

Grep
Thumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip Wilkinson
Philip Wilkinson

Grep Show Lines Before and After

Learn how to show N lines or all lines before and after the result returned by the `grep` command.

LinuxUnix
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Git Push Tags

This post will show you how to push a single tag, multiple tags, all tags, and tags with commits.

Git
Thumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip Wilkinson
Philip Wilkinson

How to run chmod recursively

Using -R is probably not what you want

LinuxBashUnix
Thumbnail for Brett TerpstraThumbnail for Brett TerpstraThumbnail for Brett TerpstraThumbnail for Brett Terpstra
Brett Terpstra

How to run cron every hour

Along with variations and examples

LinuxUnix
Thumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip Wilkinson
Philip Wilkinson

How to use sudo rm -rf safely

We'll help you understand its components

BashLinuxUnix
Thumbnail for Neeran GulThumbnail for Neeran GulThumbnail for Neeran GulThumbnail for Neeran Gul
Neeran Gul

Grep Across Multiple Lines

Guide on several cases of using grep across multiple lines

Grep
Thumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip Wilkinson
Philip Wilkinson

Kill a Process in Linux

Strategies for finding and killing processes

LinuxUnix
Thumbnail for Shawn TabaiThumbnail for Shawn TabaiThumbnail for Shawn TabaiThumbnail for Shawn Tabai
Shawn Tabai

Import CSV Into Postgres

Learn your options for how to import a CSV file into a PostgreSQL database and how to resolve the most common errors that may occur when doing so.

Psql
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Kill Command

Basic syntax and usage of the kill command

LinuxUnix
Thumbnail for Tom WagnerThumbnail for Tom WagnerThumbnail for Tom WagnerThumbnail for Tom Wagner
Tom Wagner

Create Folder In GitHub Repository

Learn how to create and push one or more empty directories in a Git repository using `.placeholder` and `README.md` files using both the CLI and the GitHub interface.

Git
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

mkdir if not exists

Create directories when they don’t already exist

LinuxUnix
Thumbnail for Amanda KhooThumbnail for Amanda KhooThumbnail for Amanda KhooThumbnail for Amanda Khoo
Amanda Khoo

List Installed Npm Packages

Learn how to list globally and locally installed packages with npm, including their dependencies.

Npm
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

How to Make Grep Case Insensitive

By default, grep is case sensitive

Grep
Thumbnail for Jessica WangThumbnail for Jessica WangThumbnail for Jessica WangThumbnail for Jessica Wang
Jessica Wang

How To Use Unix Wildcards

How to use wildcard characters in Linux/Unix commands

LinuxUnix
Thumbnail for Brett TerpstraThumbnail for Brett TerpstraThumbnail for Brett TerpstraThumbnail for Brett Terpstra
Brett Terpstra

Linux File Permissions Explained [Needs Table]

Understand what common expressions like “drwxr xr x” actually mean for a file or directory’s read, write, and execute permissions.

LinuxUnix
Thumbnail for Brett TerpstraThumbnail for Brett TerpstraThumbnail for Brett TerpstraThumbnail for Brett Terpstra
Brett Terpstra

Install NPM Packages From GitHub

Check an npm package version within your project

Npm
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Import a SQL File in MYSQL

MySQL command line to run an SQL file

SQL
Thumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip Wilkinson
Philip Wilkinson

Check Npm Package Version

Check an npm package version within your project

Npm
Thumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory Kim
Glory Kim

How To Reinstall Packages With Npm

Brief guide to reinstalling npm packages using npm

Npm
Thumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory Kim
Glory Kim

Generate, Sign, and View a CSR With OpenSSL

Learn how to generate, self-sign, and verify certificate signing requests with `openssl`.

BashLinuxUnix
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

How To Run a SQL File With psql

Importing a SQL file into a PostgreSQL database with psql

SQLPsql
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Delete a File in Python

There are two approaches to deleting a file in Python

Python
Thumbnail for Rachel HongThumbnail for Rachel HongThumbnail for Rachel HongThumbnail for Rachel Hong
Rachel Hong

Searching in Vim

Search forward, backward, case insensitive, and more

VimVi
Thumbnail for Neeran GulThumbnail for Neeran GulThumbnail for Neeran GulThumbnail for Neeran Gul
Neeran Gul

Re-Installing Npm

Learn how to reinstall Node.js and npm on macOS, Linux, and Windows using `curl`, `brew`, `apt`, `nvm`, and Node installer.

Npm
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Copy File From Remote To Local Using Scp

Copy files and directories from a remote to local

LinuxUnix
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Save Docker Container As Image

Create Docker image from existing container

Docker
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Removing Directories in Linux

How to remove directories and their content

LinuxUnix
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

What Does sudo chown Do?

Why sudo chown is sudo and some common pitfalls

LinuxUnix
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Select all in Vim / Vi

Select all and copy, paste, or delete the contents

VimVi
Thumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory Kim
Glory Kim

Git Push Origin

A breakdown of git push origin

Git
Thumbnail for Amanda KhooThumbnail for Amanda KhooThumbnail for Amanda KhooThumbnail for Amanda Khoo
Amanda Khoo

Show & Hide Line Numbers in Vim / Vi

Toggle absolute and relative line numbers

VimVi
Thumbnail for Amber ChenThumbnail for Amber ChenThumbnail for Amber ChenThumbnail for Amber Chen
Amber Chen

Undo & Redo in Vim / Vi

Keyboard shortcuts and summary of how Vim tracks changes

VimVi
Thumbnail for Jessica WangThumbnail for Jessica WangThumbnail for Jessica WangThumbnail for Jessica Wang
Jessica Wang

How To Use sudo su

A quick overview of using sudo su

LinuxUnixBash
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Undo a Git Rebase

This post will show you how to undo a rebase using git reset, git rebase and git revert

Git
Thumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip Wilkinson
Philip Wilkinson

How To Update Yarn

How to update yarn and related troubleshooting

Yarn
Thumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory Kim
Glory Kim

How To Update NPM

Learn how to update npm to a specific version using the npm, nvm, or npx commands.

Npm
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Vim Go To End/Start of Line

Go to the end or beginning of a line in Vim

Vim
Thumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory Kim
Glory Kim

Vim / Vi Page Up and Down Controls

Quick reference for Vim's page up and down controls

VimVi
Thumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory Kim
Glory Kim

Go To Line In Vim

Variety of approaches to go to lines

Vim
Thumbnail for Preston Tunnell WilsonThumbnail for Preston Tunnell WilsonThumbnail for Preston Tunnell WilsonThumbnail for Preston Tunnell Wilson
Preston Tunnell Wilson

Go To Top of File in Vim

Learn how to jump the top of the file in Vim, then navigate, search, highlight, and delete.

Vim
Thumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory Kim
Glory Kim

Vim Modes

Learn about seven of Vim’s modes

VimVi
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Upgrade Yarn Package(s)

Learn how to update one or more packages to a specific or latest version using the `yarn upgrade` command.

Yarn
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Verify Certificate With OpenSSL

Learn how to verify local and remote certificates with openssl

LinuxUnix
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Docker Bind Mounts (docker run --volume)

Learn how to mount files and directories into a Docker container using the `docker run --volume` command.

Docker
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Undo Git Add

Learn how to effectively use 'git add' to stage files in Git for committing, and discover two powerful methods to undo accidental stagings.

Git
Thumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory Kim
Glory Kim

Loop Through Files in Directory in Bash

Learn how to iterate over files in a directory linearly and recursively using Bash and Python.

BashPython
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Clear npm Cache

Learn how to clear the npm cache on Linux, macOS, and Windows.

NpmLinux
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Ignoring SSL Certificate Issues with cURL

Discover how to bypass SSL certificate verification in cURL for HTTPS endpoints, addressing both direct requests and those via proxies. We will also see how this could be handled both in the terminal and system-wide via the `.curlrc` file

LinuxUnix
Thumbnail for Gabriel ManricksThumbnail for Gabriel ManricksThumbnail for Gabriel ManricksThumbnail for Gabriel Manricks
Gabriel Manricks

Undo a git push

This post will show you had to simply undo a git push three different ways.

Git
Thumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip Wilkinson
Philip Wilkinson

Adding a Submodule in Git

This post will show you how to simply add a submodule to a local repository, clone a repository with a submodule, and work within a repository that has a submodule.

Git
Thumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip Wilkinson
Philip Wilkinson

Docker Compose Volume: Bind Mounts

Learn how to mount files and directories into a Docker container with Compose using the `compose.yaml` file.

Docker
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Launch PostgreSQL Using Docker Compose

Learn how to launch and connect a PostgreSQL instance to an application using Docker Compose.

Docker
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Create Kubernetes Secrets with `kubectl`

Learn how to securely manage sensitive data in your cluster using Kubernetes secrets: from standard key-value pairs, file-based secrets, Docker secrets, TLS certificates, env files, and pod connections.

Kubernetes
Thumbnail for Gabriel ManricksThumbnail for Gabriel ManricksThumbnail for Gabriel ManricksThumbnail for Gabriel Manricks
Gabriel Manricks

Remove a Docker Image

Learn how to remove a Docker image locally, on a Docker registry, and on Artifactory.

Docker
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Install Dev Dependencies With npm

Learn how to install and update dev dependencies using the npm install command.

Npm
Thumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi Manhas
Mansi Manhas

Execute Packages With npx And npm

Discover the power of npm's npx tool, a developer's best friend for running packages without global installs.

Npm
Thumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory Kim
Glory Kim

Deleting a Pod with `kubectl`

Learn how to delete a pod in Kubernetes using graceful shutdowns, labels, field selectors, and namespaces.

Kubernetes
Thumbnail for Gabriel ManricksThumbnail for Gabriel ManricksThumbnail for Gabriel ManricksThumbnail for Gabriel Manricks
Gabriel Manricks

Create Kubernetes Namespace With `kubectl`

Learn how to create one or more Kubernetes namespaces with `kubectl`.

Kubernetes
Thumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi Manhas
Mansi Manhas

Restart Kubernetes Pods with kubectl

Learn how to restart Kubernetes pods with kubectl: policies, best practices, rolling restarts, and manual methods.

Kubernetes

Removing npm Packages

Learn how to remove packages locally, globally, and from the registry using the npm uninstall command.

Npm
Thumbnail for Utsav PoudelThumbnail for Utsav PoudelThumbnail for Utsav PoudelThumbnail for Utsav Poudel
Utsav Poudel

Describe Kubernetes Pods With kubectl

Learn how to describe one or more Kubernetes Pods with kubectl.

Kubernetes
Thumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi Manhas
Mansi Manhas

Upload Files With curl

Learn how to upload a file to FTP, SFTP servers, Artifactory, and AWS S3 using the curl command.

LinuxUnix
Thumbnail for Utsav PoudelThumbnail for Utsav PoudelThumbnail for Utsav PoudelThumbnail for Utsav Poudel
Utsav Poudel

Understand depends_on in Docker Compose

Learn how to express dependencies between services and how to control services startup and shutdown in Docker Compose using the depends_on field.

Docker
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Delete Kubernetes Deployments With kubectl

Learn how to delete Kubernetes deployments and its associated Pods using the kubectl command.

Kubernetes
Thumbnail for Ekene EjikeThumbnail for Ekene EjikeThumbnail for Ekene EjikeThumbnail for Ekene Ejike
Ekene Ejike

Perform Rollout Restarts With kubectl

Learn how to perform a rollout restart of Kubernetes Pods with the kubectl command using Deployments, DaemonSets, and StatefulSets.

Kubernetes
Thumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi Manhas
Mansi Manhas

Execute Commands in Pods With kubectl

Learn how to execute standalone commands and start interactive shell sessions in Pods using the `kubectl exec` command.

Kubernetes
Thumbnail for Gabriel ManricksThumbnail for Gabriel ManricksThumbnail for Gabriel ManricksThumbnail for Gabriel Manricks
Gabriel Manricks

How To Copy A Directory In Linux

Learn how to copy directories and their content in Linux using the cp command with options like -r for recursive copying, -i for interactive mode, and -a for preserving attributes.

Linux
Thumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip Wilkinson
Philip Wilkinson

How To Launch A PostgreSQL Container In Docker

Learn how to launch a PostgreSQL container with Docker and how to connect to it using the command-line interface and pgAdmin.

Docker
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

List Pods With kubectl

Learn how to list and filter Kubernetes Pods by name, namespaces, labels, manifests, and more using the kubectl command.

Kubernetes
Thumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi Manhas
Mansi Manhas

Set Context With kubectl

Learn how to create, modify, switch, and delete a context in Kubernetes using the kubectl config command.

Kubernetes
Thumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi Manhas
Mansi Manhas

How to Download Files With curl And wget

Learn how to start and resume the download of files via the HTTP and FTP protocols using the curl and wget commands.

LinuxUnix
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Create Directories Recursively With mkdir

Learn how to recursively create nested directories using the mkdir command, Bash scripts, and Python scripts.

UnixLinux
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Restart Docker Containers

Learn how to restart Docker containers automatically with restart policies and manually using the docker restart, docker start, docker stop and docker kill commands.

Docker
Thumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi Manhas
Mansi Manhas

How To Remove Secrets From The Git History Remove Secrets From The Git History

Learn how to remove secrets from the Git history using the BFG and git-filter-repo command-line tools.

Git
Thumbnail for Utsav PoudelThumbnail for Utsav PoudelThumbnail for Utsav PoudelThumbnail for Utsav Poudel
Utsav Poudel

Kubernetes vs Docker: The Backbone of Modern Backend Technologies

Lean the fundamentals of the Kubernetes and Docker technologies and how they interplay with each other.

KubernetesDocker
Thumbnail for Gabriel ManricksThumbnail for Gabriel ManricksThumbnail for Gabriel ManricksThumbnail for Gabriel Manricks
Gabriel Manricks

Understanding Port Mapping in Docker Compose

Learn how to set, bind and order ports in Docker Compose using Compose file, IP address, and environment variables.

Docker
Thumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi Manhas
Mansi Manhas

How To Filter The Output of Commands

Learn how to filter and format the output of commands and logs using the grep, awk, uniq, head, and tail commands.

LinuxGrep
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

How To Use An .env File In Docker Compose

Learn how define and pass environment variables to Docker containers using an .env file in Docker Compose.

Docker
Thumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi Manhas
Mansi Manhas

How To Unzip A tar.gz File

Learn how to unzip a tar.gz file on Linux, macOS, and Windows.

Linux
Thumbnail for Utsav PoudelThumbnail for Utsav PoudelThumbnail for Utsav PoudelThumbnail for Utsav Poudel
Utsav Poudel

How To List Events With kubectl

Learn how to list and filter events in Kubernetes cluster by namespace, pod name and more using the kubectl command.

Kubernetes
Thumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi Manhas
Mansi Manhas

Prompt Show Git Branch In Prompt

Enhance your terminal with a custom Git prompt. Learn different ways to integrate this contextual info, from custom shell functions to Warp context chips and toolkits like Starship and P10K.

Git
Thumbnail for Gabriel ManricksThumbnail for Gabriel ManricksThumbnail for Gabriel ManricksThumbnail for Gabriel Manricks
Gabriel Manricks

Compose Create Networks In Docker Compose

Learn how to create, configure, and use networks in Docker Compose.

Docker
Thumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi Manhas
Mansi Manhas

Tail Container Logs In Docker

Learn how to tail and monitor Docker container logs efficiently to debug, trace, and troubleshoot errors more easily.

Docker

Set Docker Container Hostname

Learn how to set, change and match a docker container hostname.

Docker
Thumbnail for Utsav PoudelThumbnail for Utsav PoudelThumbnail for Utsav PoudelThumbnail for Utsav Poudel
Utsav Poudel

Understand target in Docker Compose

Learn how to build a specific stage in a multi-stage Dockerfile and how to specify target for volumes, configs, secrets and ports.

Docker
Thumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi Manhas
Mansi Manhas

List Kubernetes Namespaces With kubectl

Learn how to list, describe, customize, sort and filter namespaces in a Kubernetes cluster by name, label, and more using the kubectl command.

Kubernetes
Thumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi Manhas
Mansi Manhas

Shutdown Services In Docker Compose

Learn how to efficiently shut down your Docker Compose services. This guide covers everything from basic shutdowns to managing volumes and containers.

Docker

Manage Docker Networks

Learn how to create, list, connect, disconnect, and delete Docker networks using the docker network command.

Docker

Understand healthcheck in Docker Compose

Learn how to check if a service is healthy in Docker Compose using the healthcheck property.

Docker
Thumbnail for Gabriel ManricksThumbnail for Gabriel ManricksThumbnail for Gabriel ManricksThumbnail for Gabriel Manricks
Gabriel Manricks

Get Kubernetes Secrets With kubectl

Learn how to list, describe, customize, sort and filter secrets in a Kubernetes cluster by name, type, namespace, label and more using the kubectl command.

Kubernetes
Thumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi ManhasThumbnail for Mansi Manhas
Mansi Manhas

Rename A Docker Image

Learn how to rename Docker images locally and remotely using the docker tag command.

Docker

Use Cookies With cURL

Learn how to store and send cookies using files, hard-coded values, environment variables with cURL.

Bash

Output Logs in Docker Compose

Learn how to output, monitor, customize and filter the logs of the containers related to one or more services in Docker Compose

Docker
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Create User In Linux

Learn to create and configure user accounts in Linux in interactive and non-interactive mode using the useradd and adduser commands.

Linux

Restart Containers In Docker Compose

Learn how to restart and rebuild one or more containers in Docker Compose.

Docker
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Delete Kubernetes Namespaces With kubectl

Learn how to delete one or more namespaces and their related resources in a Kubernetes cluster using the kubectl command.

Kubernetes

Change User Passwords In Linux

Learn how to change, manage and generate user passwords in Linux using the passwd, chpasswd, chage and openssl commands.

Linux
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Expose Docker Container Ports

Learn how to publish and expose Docker container ports using the docker run command and Dockerfiles.

Docker

Get Context In Kubernetes

Learn how to get information about one or more contexts in Kubernetes using the kubectl command.

Kubernetes

Execute in a Docker Container

Learn how to execute one or multiple commands in a Docker container using the docker exec command.

Docker
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Edit Files in Linux

Learn how to edit files in Linux using command-line file editors such as Vim, Nano, and Emacs, the output redirection operator, and the sed command.

Linux

List Users In Linux

Learn how to list users and groups in Linux.

Linux

Tail Logs In Kubernetes

Learn how to tail and monitor Kubernetes logs efficiently to debug, trace, and troubleshoot errors more easily using the kubectl command.

Kubernetes

Launch MySQL Using Docker Compose

Learn how to launch a MySQL container in Docker Compose.

DockerSQL

Forward Ports In Kubernetes

Learn how to forward the ports of Kubernetes resources such as Pods and Services using the kubectl port-forward command.

Kubernetes

Run SSH In Docker

Learn how to launch and connect to a containerized SSH server in Docker using password-based authentication and SSH keys.

Docker
Thumbnail for Gabriel ManricksThumbnail for Gabriel ManricksThumbnail for Gabriel ManricksThumbnail for Gabriel Manricks
Gabriel Manricks

Create Files In Linux

Learn how to create regular files in Linux using command line interface commands like touch, echo, cat, printf, and in-terminal text editors like Vim.

Linux

Copy Files In Linux

Learn how to safely and recursively copy one or more files locally and remotely in Linux using the cp and scp command.

Linux

Find Files In Linux

Learn how to find and filter files in Linux by owner, size, date, type and content using the find command.

Linux

Delete Files In Linux

Learn how to selectively delete files in Linux based on patterns and properties using the rm command.

Linux

Remover Users in Linux

Learn how to remove local and remote user accounts and associated groups and files in Linux using the userdel and deluser commands.

Linux

Switch Users In Linux

Learn how to switch between users, log in as another user, and execute commands as another user in Linux.

Linux

Create Groups In Linux

Learn how to manually and automatically create and list groups in Linux.

Linux

Use An .env File In Docker

Learn how to write and use .env files in Docker to populate the environment of containers on startup.

Docker

Format Command Output In Linux

Learn how to filter and format the content of files and the output of commands in Linux using the awk command.

Linux

Undo a Git Merge

How to rollback the changes introduced by a merge in Git by adding new opposite commits using git-revert and effectively removing commits using git-reset.

Git
Thumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip WilkinsonThumbnail for Philip Wilkinson
Philip Wilkinson

Undo A Git Pull

How to effectively remove the commits introduced by a pull in Git using git-reset and preserve your local changes using git-stash. Also, how to cancel an unmerged pull request on GitHub.

Git
Thumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory Kim
Glory Kim

How To Run A PSQL File With psql

How to execute multiple SQL statements stored in a file on a specified PostgreSQL database using the psql command. Also, how to handle and fix common errors.

Psql
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

POST JSON Data With Curl

How to send valid HTTP POST requests with JSON data payloads using the curl command and how to avoid common syntax pitfalls. Also, how to solve the HTTP 405 error code.

BashUnixLinux
Thumbnail for Neeran GulThumbnail for Neeran GulThumbnail for Neeran GulThumbnail for Neeran Gul
Neeran Gul

Vim Find And Replace

You can use either the substitute command or the slash and dot method to search for patterns and replace with different values.

VimVi
Thumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory KimThumbnail for Glory Kim
Glory Kim

Grep Multiple Strings

How to filter lines and extract specific information from the output of commands or text files based on string patterns and regular expressions with grep.

Grep
Thumbnail for Spencer EvansThumbnail for Spencer EvansThumbnail for Spencer EvansThumbnail for Spencer Evans
Spencer Evans

Get Kubernetes Logs With kubectl

Learn how to get the logs of pods, containers, deployments, and services in Kubernetes using the kubectl command. Troubleshoot a cluster stuck in CrashloopBackoff, ImagePullBackoff, or Pending error states.

Kubernetes
Thumbnail for Ekene EjikeThumbnail for Ekene EjikeThumbnail for Ekene EjikeThumbnail for Ekene Ejike
Ekene Ejike

Linux Chmod Command

Understand how to use chmod to change the permissions of files and directories. See examples with various chmod options.

Linux
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

How to Check the Size of Folders in Linux

Learn how to output the size of directories and subdirectories in a human-readable format in Linux and macOS using the du command.

LinuxUnix
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Count Files in Linux

Learn how to count files and folders contained in directories and subdirectories in Linux using the ls, find, and wc commands.

LinuxUnix
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

List Open Ports in Linux

Learn how to output the list of open TCP and UDP ports in Linux, as well as their IP addresses and ports using the netstat command.

UnixLinux
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Stop All Docker Containers

How to gracefully shutdown running containers and forcefully kill unresponsive containers with signals in Docker using the docker-stop and docker-kill commands.

Docker
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Start a Docker Container

Learn how to start a new Docker container from an image in both the foreground and the background using the docker-run command.

Docker
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

The Dockerfile ARG Instruction

Learn how to define and set build-time variables for Docker images using the ARG instruction and the --build-arg flag.

Docker
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Scale Deployments in Kubernetes

Learn how to manually and automatically scale a Deployment based on CPU usage in Kubernetes using the kubectl-scale and kubectl-autoscale commands.

Kubernetes
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Copy Files From Pod in Kubernetes

Learn how to copy files and directories from within a Kubernetes Pod into the local filesystem using the kubectl command.

Kubernetes
Thumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan LudosanuThumbnail for Razvan Ludosanu
Razvan Ludosanu

Override the Container Entrypoint With docker run

Learn how to override and customize the entrypoint of a Docker container using the docker run command.

Docker

Bash While Loop

Learn how to use and control the while loop in Bash to repeat instructions, and read from the standard input, files, arrays, and more.

Bash

Bash If Statement

Learn how to use the if statement in Bash to compare multiple values and expressions.

Bash
Thumbnail for Gabriel ManricksThumbnail for Gabriel ManricksThumbnail for Gabriel ManricksThumbnail for Gabriel Manricks
Gabriel Manricks
12345

...

18

Trusted by hundreds of thousands of professional developers

Download Warp to get started

Download for Mac
Request demo
Thumbnail for nullThumbnail for nullThumbnail for nullThumbnail for null