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.
- At the Cloud9 IDE interface, click the + icon.
- We will see Cloud9 open a terminal interface that allows us to execute Linux commands.
- 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/.
- Type the command below to list the files in the current directory path.
ls
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.