help.move.file.from.sub directory.to.parent.directory

help.move.file.from.sub directory.to.parent.directory

Post by Rich » Thu, 10 Jun 1999 04:00:00



Would some one please tell me how to move a file from a sub directory to
the parent directory?
--

 
 
 

help.move.file.from.sub directory.to.parent.directory

Post by Warren Porte » Thu, 10 Jun 1999 04:00:00


cp myfile ../           should do it.

>Would some one please tell me how to move a file from a sub directory to
>the parent directory?
>--



 
 
 

help.move.file.from.sub directory.to.parent.directory

Post by Christopher J. Matter » Thu, 10 Jun 1999 04:00:00


"Move", not "copy".  "mv myfile ../" seems to be what is called for
here.

                    Chris Mattern


> cp myfile ../           should do it.

>>Would some one please tell me how to move a file from a sub directory to
>>the parent directory?
>>--


 
 
 

1. Login Error -- getcwd: cannot access parent directories: No such file or directory

Greetings,

Today, I started noticing a weird error message when I login to my
Linux box.

shell-init: could not get current directory: getcwd: cannot access
parent directories: No such file or directory

It seems like all users get this message if they login.  Same goes for
root.

Everything still seems to work alright.  I can see my home directory.
I can see the parent directory.  What gives?

Anyone have any ideas what is causing this?  Anyone seen this before?

Thanks.

-j

2. How to detect whether a tape is write-protected

3. Directory/files get the same ACLs than the parent directory ?

4. 2.2.6 Proxy serrver

5. Moving *ALL* files from a subdirectory to a parent directory...

6. Pico, Pine, ELm

7. how to copy directory and sub-directory

8. Auditing a user

9. Could not get current directory/access parent directory

10. moving up a directory tree to find a directory and then execute a shell command?

11. How do I grep a file and move found files to a directory?

12. moving directories from file sys to file sys

13. Sub-sub-sub-sub-sub subdomains?