Skip to content

02-filedir.md (Navigating Files and Directories) #1529

@LiamTheBox

Description

@LiamTheBox

What is the problem?

This is where I got the file

https://swcarpentry.github.io/shell-novice/#download-files

There seems to be an inconsistency in here I call a double "shell-lesson-data", here is one the instructions from the following page.

https://swcarpentry.github.io/shell-novice/02-filedir.html

Here is what it says

It turns out that cd without an argument will return you to your home directory, which is great if you’ve got lost in your own filesystem.

Let’s try returning to the exercise-data directory from before. Last time, we used three commands, but we can actually string together the list of directories to move to exercise-data in one step:

cd Desktop/shell-lesson-data/exercise-data

Hers is what the folder structure is from the file I got from the site:

LiamBox@non-steam-machine:~$ pwd
/home/LiamBox
LiamBox@non-steam-machine:~$ cd Desktop
LiamBox@non-steam-machine:~/Desktop$ ls
shell-lesson-data
LiamBox@non-steam-machine:~/Desktop$ cd shell-lesson-data
LiamBox@non-steam-machine:~/Desktop/shell-lesson-data$ ls
__MACOSX  shell-lesson-data
LiamBox@non-steam-machine:~/Desktop/shell-lesson-data$ cd shell-lesson-data
LiamBox@non-steam-machine:~/Desktop/shell-lesson-data/shell-lesson-data$ ls
exercise-data  north-pacific-gyre
LiamBox@non-steam-machine:~/Desktop/shell-lesson-data/shell-lesson-data$ cd exercise-data
LiamBox@non-steam-machine:~/Desktop/shell-lesson-data/shell-lesson-data/exercise-data$ ls
alkanes  animal-counts  creatures  numbers.txt  writing

Notice /Desktop/shell-lesson-data/shell-lesson-data/exercise-data is not what the instructions say.

I hope this is not an error on my side, and I am sorry if it is.

Location of problem (optional)

the shell-lesson-data.zip file or the whole shell-novice pages

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions