본문 바로가기
dev-setup

[Linux] Google Cloud Shell

by doraemin_dev 2025. 3. 17.

Google Cloud Shell을 활용하여, Linux 환경을 구축하자.

 

https://shell.cloud.google.com/

 

로그인 - Google 계정

이메일 또는 휴대전화

accounts.google.com

 

# You can change the working directory using the cdcommand, an abbreviation for ‘change directory’.
## The “/” directory, often referred to as the root directory, is the base of that unified file system.
cd / # root로 이동.
## Typing cd on its own is a quick shortcut to get back to your home directory
cd   # home으로 이동


# There’s one other handy shortcut which works as an absolute path.
## As you’ve seen, using “/” at the start of your path means “starting from the root directory”.
cd /abc/def # root 안의 abc 안의 def 경로.
## Using the tilde character (“~”) at the start of your path similarly means “starting from my home directory”.
cd ~/ghi    # home 안의 ghi 경로.