Stuck on Manipulation 6.cp ll


#1

There is an error message saying that I am not in the action/ directory however even if I go to the action directory it doesn't want to work. Here is my code below:
$ cd comedy/
$ touch shrek.txt
$ cp * satire/
cp: omitting directory ‘satire’
cp: omitting directory ‘slapstick’
$ cd satire/
$ cd ..
$ cd ..
$ cd action/
$ pwd
/home/ccuser/workspace/movies/action
$ cp m* .txt scifi/
cp: cannot stat ‘.txt’: No such file or directory
$ cp m*.txt scifi/
$ cd scifi/
$ ls
matrix-reloaded.txt matrix-revolutions.txt matrix.txt terminator.txt

As you can see I was able to get into the action directory and finish the exersize but the error message:
**use the change directory command to navigate up two directories and then navigate to the action/ directory.

doesn't go away. No idea what to do.


#2

@digitalrunner10385,

$ ls -als                                                                                             
total 20                                                                                              
4 drwxr-xr-x 5 ccuser ccuser 4096 Feb  6 23:28 .                                                      
4 drwxr-xr-x 3 ccuser ccuser 4096 Feb  6 23:28 ..                                                     
0 -rw-r--r-- 1 ccuser ccuser    0 Jun 30  2015 .preferences                                           
4 drwxr-xr-x 4 ccuser ccuser 4096 Jul  7  2015 action                                                 
4 drwxr-xr-x 3 ccuser ccuser 4096 Jul  7  2015 comedy                                                 
4 drwxr-xr-x 4 ccuser ccuser 4096 Jun 29  2015 drama                                                  
0 -rw-r--r-- 1 ccuser ccuser    0 Jun 29  2015 genres.txt                                             

$ cd comedy/

$ ls -als                                                                                             
total 16                                                                                              
4 drwxr-xr-x 3 ccuser ccuser 4096 Jul  7  2015 .                                                      
4 drwxr-xr-x 5 ccuser ccuser 4096 Feb  6 23:28 ..                                                     
0 -rw-r--r-- 1 ccuser ccuser    0 Jun 30  2015 .gitignore                                             
4 drwxr-xr-x 2 ccuser ccuser 4096 Jul  7  2015 satire                                                 
0 -rw-r--r-- 1 ccuser ccuser    0 Jul  7  2015 shrek.txt                                              
4 -rw-r--r-- 1 ccuser ccuser   14 Jun 29  2015 the-office.txt                                         

$ touch shrek.txt                                                                                     

$ ls -als                                                                                             
total 16                                                                                              
4 drwxr-xr-x 3 ccuser ccuser 4096 Jul  7  2015 .                                                      
4 drwxr-xr-x 5 ccuser ccuser 4096 Feb  6 23:28 ..                                                     
0 -rw-r--r-- 1 ccuser ccuser    0 Jun 30  2015 .gitignore                                             
4 drwxr-xr-x 2 ccuser ccuser 4096 Jul  7  2015 satire                                                 
0 -rw-r--r-- 1 ccuser ccuser    0 Feb  6 23:29 shrek.txt                                              
4 -rw-r--r-- 1 ccuser ccuser   14 Jun 29  2015 the-office.txt

$ ls -als satire/                                                                                     
total 12                                                                                              
4 drwxr-xr-x 2 ccuser ccuser 4096 Jul  7  2015 .                                                      
4 drwxr-xr-x 3 ccuser ccuser 4096 Jul  7  2015 ..                                                     
0 -rw-r--r-- 1 ccuser ccuser    0 Jun 29  2015 fight-club.txt                                         
0 -rw-r--r-- 1 ccuser ccuser    0 Jul  7  2015 shrek.txt                                              
4 -rw-r--r-- 1 ccuser ccuser   14 Jul  7  2015 the-office.txt                                         

$ pwd                                                                                                 
/home/ccuser/workspace/movies/comedy                                                                  

$ cp * satire/                                                                                        
cp: omitting directory ‘satire’                                                                                      
cp: omitting directory ‘satire’                                                                       

$ ls -als satire/                                                                                     
total 12                                                                                              
4 drwxr-xr-x 2 ccuser ccuser 4096 Jul  7  2015 .                                                      
4 drwxr-xr-x 3 ccuser ccuser 4096 Jul  7  2015 ..                                                     
0 -rw-r--r-- 1 ccuser ccuser    0 Jun 29  2015 fight-club.txt                                         
0 -rw-r--r-- 1 ccuser ccuser    0 Feb  6 23:31 shrek.txt                                              
4 -rw-r--r-- 1 ccuser ccuser   14 Feb  6 23:31 the-office.txt

$ cd satire/                                                                                          

$ pwd                                                                                                 
/home/ccuser/workspace/movies/comedy/satire                                                           

$ ls -als                                                                                             
total 12                                                                                              
4 drwxr-xr-x 2 ccuser ccuser 4096 Jul  7  2015 .                                                      
4 drwxr-xr-x 3 ccuser ccuser 4096 Jul  7  2015 ..                                                     
0 -rw-r--r-- 1 ccuser ccuser    0 Jun 29  2015 fight-club.txt                                         
0 -rw-r--r-- 1 ccuser ccuser    0 Feb  6 23:31 shrek.txt                                              
4 -rw-r--r-- 1 ccuser ccuser   14 Feb  6 23:31 the-office.txt

$ ls -als ../../                                                                                      
total 20                                                                                              
4 drwxr-xr-x 5 ccuser ccuser 4096 Feb  6 23:28 .                                                      
4 drwxr-xr-x 3 ccuser ccuser 4096 Feb  6 23:28 ..                                                     
0 -rw-r--r-- 1 ccuser ccuser    0 Jun 30  2015 .preferences                                           
4 drwxr-xr-x 4 ccuser ccuser 4096 Jul  7  2015 action                                                 
4 drwxr-xr-x 3 ccuser ccuser 4096 Jul  7  2015 comedy                                                 
4 drwxr-xr-x 4 ccuser ccuser 4096 Jun 29  2015 drama                                                  
0 -rw-r--r-- 1 ccuser ccuser    0 Jun 29  2015 genres.txt                                             

$ cd ../../action/                                                                                    

$ pwd                                                                                                 
/home/ccuser/workspace/movies/action

$ ls -als                                                                                             
total 24                                                                                              
4 drwxr-xr-x 4 ccuser ccuser 4096 Jul  7  2015 .                                                      
4 drwxr-xr-x 5 ccuser ccuser 4096 Feb  6 23:28 ..                                                     
0 -rw-r--r-- 1 ccuser ccuser    0 Jun 29  2015 matrix-reloaded.txt                                    
4 -rw-r--r-- 1 ccuser ccuser   21 Jun 29  2015 matrix-revolutions.txt                                 
4 -rw-r--r-- 1 ccuser ccuser 2305 Jun 29  2015 matrix.txt                                             
4 drwxr-xr-x 2 ccuser ccuser 4096 Jul  7  2015 scifi                                                  
4 drwxr-xr-x 2 ccuser ccuser 4096 Jul  7  2015 superhero                                              

ls -als scifi/
4 drwxr-xr-x 2 ccuser ccuser 4096 Jul  7  2015 .                                                      
4 drwxr-xr-x 4 ccuser ccuser 4096 Jul  7  2015 ..                                                     
0 -rw-r--r-- 1 ccuser ccuser    0 Jul  7  2015 matrix-reloaded.txt                                    
4 -rw-r--r-- 1 ccuser ccuser   21 Jul  7  2015 matrix-revolutions.txt                                 
4 -rw-r--r-- 1 ccuser ccuser 2305 Jul  7  2015 matrix.txt                                             
4 -rw-r--r-- 1 ccuser ccuser  948 Jun 29  2015 terminator.txt

$ cp m*.txt scifi/                                                                                    

$ ls -als scifi/                                                                                      
total 20                                                                                              
4 drwxr-xr-x 2 ccuser ccuser 4096 Jul  7  2015 .                                                      
4 drwxr-xr-x 4 ccuser ccuser 4096 Jul  7  2015 ..                                                     
0 -rw-r--r-- 1 ccuser ccuser    0 Feb  6 23:39 matrix-reloaded.txt                                    
4 -rw-r--r-- 1 ccuser ccuser   21 Feb  6 23:39 matrix-revolutions.txt                                 
4 -rw-r--r-- 1 ccuser ccuser 2305 Feb  6 23:39 matrix.txt                                             
4 -rw-r--r-- 1 ccuser ccuser  948 Jun 29  2015 terminator.txt                                         

$ pwd                                                                                                 
/home/ccuser/workspace/movies/action                                                                  

$ ls -als                                                                                             
total 24                                                                                              
4 drwxr-xr-x 4 ccuser ccuser 4096 Jul  7  2015 .                                                      
4 drwxr-xr-x 5 ccuser ccuser 4096 Feb  6 23:28 ..                                                     
0 -rw-r--r-- 1 ccuser ccuser    0 Jun 29  2015 matrix-reloaded.txt                                    
4 -rw-r--r-- 1 ccuser ccuser   21 Jun 29  2015 matrix-revolutions.txt                                 
4 -rw-r--r-- 1 ccuser ccuser 2305 Jun 29  2015 matrix.txt                                             
4 drwxr-xr-x 2 ccuser ccuser 4096 Jul  7  2015 scifi                                                  
4 drwxr-xr-x 2 ccuser ccuser 4096 Jul  7  2015 superhero                                              

$ cd scifi/       

$ ls -als                                                                                             
total 20                                                                                              
4 drwxr-xr-x 2 ccuser ccuser 4096 Jul  7  2015 .                                                      
4 drwxr-xr-x 4 ccuser ccuser 4096 Jul  7  2015 ..                                                     
0 -rw-r--r-- 1 ccuser ccuser    0 Feb  6 23:39 matrix-reloaded.txt                                    
4 -rw-r--r-- 1 ccuser ccuser   21 Feb  6 23:39 matrix-revolutions.txt                                 
4 -rw-r--r-- 1 ccuser ccuser 2305 Feb  6 23:39 matrix.txt 
4 -rw-r--r-- 1 ccuser ccuser  948 Jun 29  2015 terminator.txt

Manipulation 3/10
#3

$ cd comedy/
$ touch shrek.txt
$ cp * satire/
cp: omitting directory ‘satire’
cp: omitting directory ‘slapstick’
$ cd satire/
$ cd ../../action/
$ cp m*.txt scifi/
$ cd scifi/`


#4

Same here. I think the instruction for navigating two levels up is incorrect. But again, as you said, even you managed to navigate to the action/ directory you still cannot go thru and activate the next step. I have been stuck here too. I think the design can be improved in such a way so that even there is a problem with one specific step you should still be able to move forward.


#5

Are you referring to this instruction?

cd ../../action/

If you are trying to use that command and are in the satire directory and you are getting an error then there is a problem.

This is what you should see:

$ pwd                                                                                            
/home/ccuser/workspace/movies/comedy/satire                                                      
$ cd ../../action                                                                                
$ pwd                                                                                            
/home/ccuser/workspace/movies/action

#6

Yes, that is where the problem is. From satire/ and by cd ../../action I ended up in movies/comedy/, not movies/action/.

If I don't follow instructions exactly I can navigate to movies/action/, but no matter what I cannot turn that checkbox green and move forward :disappointed:


#7

If you ended up at movies/comedy, you likely added space after the first /, like this:

cd ../ ../action

Under "Get Help" there is an option to reset the exercise. Try that and then this time do follow the instructions exactly.