Cd command


#1

What do you write down for the cd command?


#2

You type
jekyll cd personal-website


#3

Yeah I figured that out thanks though!


#4

You are mixing Jekyll commands with file system commands. If you issue that command you will get an error:

fatal: 'jekyll cd' could not be found. You may
need to install the jekyll-cd gem or a relate
d gem to be able to use this subcommand.


#5

That made no sense what so ever...


#6

Are you talking about something that I said?


#7

Yeah I couldn't understand it sorry I'm sort of a noob it made no sense to me...


#8

There are file system command like cd and ls. There are also Jekyll commands like new and serve. For all Jekyll commands you must put the word jekyll before the command, like jekyll serve.

If the file system commands don't make any sense to you then it sounds like you haven't done the Learn the Command Line course yet.


#9

The first "word" is what you are executing (what program) and all the rest are arguments.

So the first word is the program you want to use, and the rest is telling the program what to do.


#10

Thanks Jonatan, I wasn't able to pull the right words together -- that sounds much better.


#11

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.