Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Just knowing what directory we're in is nice, but we also want to know what's inside it! To list the contents, we'll use the ls command:

...

languagebash
themeDJango

...

. For some reason, Confluence won't display just ls properly😅, but you should still run it here.

Note that ls prints the entire contents of the directory to your terminal. ls also comes with some important arguments that we can pass. In particular, these arguments begin with a dash ("-"); arguments that begin with these are often known as flags. They don't add any new data, but instead send a signal to the command that modifies how it executes.

...

Code Block
languagebash
themeDJango
mkdir c2s2

Now let's ls again:

...

languagebash
themeDJango

...

.

You should be able to see your new directory named c2s2. To move into a directory, we use the cd command, with an argument of the directory that we want to move into:

...