Your coding questions, answered.

Terminus gives developers precise, actionable solutions to everyday command-line problems. A growing library of recipes, shell tips, and reference material for the tools you live in.

Featured

Create an alias for common commands
Brett Terpstra
Brett Terpstra
Use cURL to send data to a server
Zev Stravitz
Zev Stravitz
Featured Topic
Comments will help make your scripts more readable
Prianka Subrahmanyam
Prianka Subrahmanyam
Via command line arguments and prompting users for input
Amit Jotwani
Amit Jotwani
Use cURL to send data to a server
Zev Stravitz
Zev Stravitz
Featured Topic
Learn how to set up an SSH key to clone, push, and pull a Git repository over the SSH protocol.
Razvan Ludosanu
Razvan Ludosanu
This post will show you how to undo a rebase using git reset, git rebase and git revert
Philip Wilkinson
Philip Wilkinson
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.
Gabriel Manricks
Gabriel Manricks
Featured Topic
A concise guide to learning Docker using Lazydocker. Highlights Docker’s benefits and takes advantage of Warp's AI features for a quick setup.
Jessica Wang
Jessica Wang
Learn how to launch and connect to a containerized SSH server in Docker using password-based authentication and SSH keys.
Gabriel Manricks
Gabriel Manricks
Learn how to remove a Docker image locally, on a Docker registry, and on Artifactory.
Razvan Ludosanu
Razvan Ludosanu

More Articles

170

Curl With Headers

Send request headers with cURL

Show Curl Headers

Curl request and response headers

Copy File From Container To Host

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

Remove All Docker Images

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

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.

How To Run a SQL File With psql

Importing a SQL file into a PostgreSQL database with psql

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.

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.

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.

Linux Chmod Command

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

About Terminus

Terminus gives developers precise, actionable solutions to everyday command-line problems. A growing library of recipes, shell tips, and reference material for the tools you live in.