Learn C++ Online

Navigating the command line

On this page
This lesson contains approximately 25 minutes of video content.

Connecting to your virtual environment from VS Code

Q1

QQ1

This question is ungraded.

Which command shows the absolute path of the current working directory?

Q2

QQ2

This question is ungraded.

We differentiate between relative and absolute paths. /home/vagrant is a the   path to the folder vagrant.

Q3

QQ3

This question is ungraded.

We differentiate between relative and absolute paths. home/vagrant is a the   path to the folder vagrant.

Q4

QQ4

This question is ungraded.

What command is used to show the contents of a file?

Q5

QQ5

This question is ungraded.

Which command shows the contents of the current working directory?

Q6

QQ6

This question is ungraded.

What command would you execute to change directory to /home/vagrant/src?

Q7

QQ7

This question is ungraded.

Using the mv command, how would you rename hello.cc to howdy.cc? Assume your present working directory contains hello.cc.