Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
O comando cloudshell permite realizar tarefas como iniciar tutoriais, fazer download de arquivos, definir aliases e abrir arquivos existentes no editor de código na linha de comando do Cloud Shell.
Os argumentos posicionais disponíveis para cloudshell são os seguintes:
Argumento posicional
Nome alternativo
Descrição
help
-h, --help
mostrar ajuda do cloudshell
edit-files
edit-file, edit
Abrir o arquivo especificado no Cloud Shell Editor
download-files
download-file, download, dl
Iniciar o download do arquivo especificado
aliases
Gera aliases curtos para subcomandos comuns
Exemplo de uso
Para abrir o arquivo .bashrc para edição no editor do Cloud Shell, execute na linha de
comando do Cloud Shell:
cloudshell edit $HOME/.bashrc
Da mesma forma, para baixar seu arquivo .bashrc, execute:
cloudshelldownload$HOME/.bashrc
Para exibir informações sobre o comando cloudshell da sua sessão do Cloud Shell, execute cloudshell help.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-18 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`."]]