ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Install CD [closed]

asked 2014-08-16 05:11:30 -0600

HelpwithUbuntu gravatar image

updated 2014-08-16 05:30:29 -0600

Which option is it? when I put the number in it just says

pc@pc:~$ 0

0: command not found

pc@pc:~$ cd ~/catkin_ws/src/ pc@pc:~/catkin_ws/src$ cd .. pc@pc:~/catkin_ws$ rosdep install pioneer3at

ERROR: Rosdep cannot find all required resources to answer your query Missing resource pioneer3at ROS path [0]=/opt/ros/hydro/share/ros ROS path [1]=/opt/ros/hydro/share ROS path [2]=/opt/ros/hydro/stacks

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by HelpwithUbuntu
close date 2014-08-21 03:23:42.407639


So what do you think cd does?

gvdhoorn gravatar image gvdhoorn  ( 2014-08-16 05:27:25 -0600 )edit

1 Answer

Sort by » oldest newest most voted

answered 2014-08-16 05:26:01 -0600

gvdhoorn gravatar image

updated 2014-08-16 05:28:14 -0600

cd .. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< (it simply changes the directory to the one that contains the current one. In Windows parlor: we go up, to the folder that is the parent of the current folder.) I have no idea what any of this is. I understand what CD does but not CD .. what does the two dots mean? none of the links had any info on them.

"the links" actually explained that to you (copied from A very, very gentle introduction to the Linux Command Line):

Let’s back up and try again:

chris@bobo:~/Desktop$ cd ..

The two dots tell us to move up a level in our directory structure.

But, just to be sure, here is another example, can't make it any simpler than this:

# we are currently here
pc@pc:~$ pwd

# now we go one directory 'up'
pc@pc:~$ cd ..

# and now we are here
pc@pc:~$ pwd

In every directory there are at least two "other" directories: "." (dot): the current directory, and ".." (double dot): the parent directory. cd .. tells bash (or whatever your shell is) to change the directory to the parent directory (whatever that currently is).

Again: I think you should first get acquainted with Linux and the command line a bit more. Otherwise you'll continue to run into issues like this.

edit flag offensive delete link more


I could not see the the two dots on this laptop, I never relieved that CD .. was a command, because when people are typing and want to end a sentence they use .

HelpwithUbuntu gravatar image HelpwithUbuntu  ( 2014-08-16 05:35:22 -0600 )edit

@HelpwithUbuntu please accept the answer using the checkmark at the left so people know it's resolved.

tfoote gravatar image tfoote  ( 2014-08-17 04:24:56 -0600 )edit

Question Tools

1 follower


Asked: 2014-08-16 05:11:30 -0600

Seen: 245 times

Last updated: Aug 16 '14