Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
El comando cloudshell le permite realizar tareas como iniciar tutoriales, descargar archivos, configurar alias y abrir archivos existentes en el editor de código desde la línea de comandos de Cloud Shell.
Los argumentos posicionales disponibles para cloudshell son los siguientes:
Argumento posicional
Nombre alternativo
Descripción
help
-h, --help
Muestra la ayuda de cloudshell
edit-files
edit-file, edit
Abre el archivo especificado en el editor de Cloud Shell
download-files
download-file, download, dl
Inicia la descarga del archivo especificado
aliases
Genera alias cortos para subcomandos comunes
Ejemplo de uso
Si deseas abrir tu archivo .bashrc para editarlo en el editor de Cloud Shell, desde la línea de comandos de Cloud Shell, ejecuta lo siguiente:
cloudshell edit $HOME/.bashrc
Del mismo modo, para descargar su archivo .bashrc, ejecute lo siguiente:
cloudshelldownload$HOME/.bashrc
Para mostrar información sobre el comando de cloudshell de tu sesión de Cloud Shell, ejecuta cloudshell help.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-09-04 (UTC)"],[],[],null,["# Use the cloudshell command\n\nThe `cloudshell` command allows you to accomplish tasks like launching\ntutorials, downloading files, setting aliases, and opening existing files in the\ncode editor from the Cloud Shell command line.\n\nAvailable positional arguments for `cloudshell` are as follows:\n\nExample usage\n-------------\n\nTo open your `.bashrc` file for edit in the Cloud Shell Editor, from the Cloud\nShell command line, run: \n\n cloudshell edit $HOME/.bashrc\n\nSimilarly, to download your `.bashrc` file, run: \n\n cloudshell download $HOME/.bashrc\n\nTo display information about the `cloudshell` command from your\n[Cloud Shell session](https://console.cloud.google.com/cloudshell),\nrun `cloudshell help`."]]