Using command line

Using command line

In this step, we will use the terminal interface and perform basic Linux command lines on the Cloud9 instance.

  1. At the Cloud9 IDE interface, click the + icon.
  • Click New Terminal.

Cloud9

  1. We will see Cloud9 open a terminal interface that allows us to execute Linux commands.

Cloud9

  1. At the Terminal interface, type the following command to know the directory path we are working in.
pwd
  • The result of the above command shows that our default working directory path is /home/ec2-user/environment/.

Cloud9

  1. Type the command below to list the files in the current directory path.
ls

Cloud9

And there are many more Linux commands you can do on Cloud9. Linux is used a lot in Cloud Journey labs, take the time to learn about Linux if you do not have much experience working on Linux.