User Guide - Terminal Paste
Learn how to effectively use Terminal Paste to share and execute your commands
What is Terminal Paste?
Terminal Paste is an online tool that allows you to easily share and execute Linux commands. Whether you want to simply share a script with a colleague, automate tasks on multiple machines, or maintain a library of frequently used commands, Terminal Paste is here to simplify your life.
Step-by-step guide
1 Enter your commands
On the home page, enter the commands you want to share or execute in the text area. You can enter multiple commands on different lines.
2 Choose between execution or saving
You have two options for your snippet:
- Direct execution: The default option generates a curl command that immediately retrieves and executes your snippet.
- Save to a file: Check "Write to a file" to generate a command that saves the content to a local file without executing it.
If you choose the save option, you can specify the filename in the field that appears.
3 Submit and retrieve the command
Click the "Submit" button to create your snippet. You will receive a ready-to-use curl command that you can copy.
4 Use the command
Copy the generated command and paste it into your terminal. Depending on your previous choice:
- If you chose direct execution, the commands will be downloaded and executed immediately.
- If you chose to save to a file, the content will be downloaded and saved to the specified file.
Library
Terminal Paste propose une bibliothèque de snippets prédéfinis que vous pouvez utiliser directement :
- Cliquez sur le bouton "Library" en bas à droite de la page d'accueil.
- Parcourez les différentes catégories pour trouver le snippet qui vous intéresse.
- Cliquez sur "Use" pour charger le snippet sur la page principale.
- Vous pouvez alors modifier le snippet selon vos besoins avant de l'envoyer.
Conseils de sécurité
Warning:
Lors de l'utilisation de Terminal Paste, gardez à l'esprit ces consignes de sécurité :
- Vérifiez toujours le contenu d'un snippet avant de l'exécuter, surtout s'il provient d'une source externe.
- N'incluez jamais d'informations sensibles (mots de passe, clés API, etc.) dans vos snippets.
- Faites attention aux scripts récursifs ou qui pourraient accidentellement supprimer des fichiers importants.
- Pour plus de sécurité, vous pouvez d'abord enregistrer le contenu dans un fichier pour le vérifier avant de l'exécuter.
FAQ
Cas d'utilisation pratiques
Installation rapide de logiciels
Créez un snippet contenant les commandes d'installation pour vos outils préférés :
Configuration automatisée
Partagez un snippet pour configurer rapidement un environnement de développement :
Transfert de fichiers entre serveurs
Utilisez Terminal Paste pour générer un script de transfert de fichiers :