Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: djf
But it WOULD NOT let me edit it! I had to create a copy, edit the copy, then try to copy it back. But you can’t say COPY X Y, you have to use MOVE...

First, it would be helpful to learn the way that file permissions work on Unix systems. It's usually not a good idea to be logged on as root (administrator), so "sudo" is your friend. Second, the copy command is "cp source_file target_file". So typically that would be "sudo cp source_file target_file" and then authenticate as root. To move a file, the command is "mv source target". I hope this information is helpful.

These commands are standard on any Unix system, so it doesn't matter whether you are using Linux, Solaris, Free BSD, HP-UX, Mac OS X, or any other version of Unix. It all works the same.

45 posted on 08/17/2011 9:00:37 AM PDT by stripes1776
[ Post Reply | Private Reply | To 24 | View Replies ]


To: stripes1776
First, it would be helpful to learn the way that file permissions work on Unix systems. It's usually not a good idea to be logged on as root (administrator), so "sudo" is your friend. Second, the copy command is "cp source_file target_file". So typically that would be "sudo cp source_file target_file" and then authenticate as root. To move a file, the command is "mv source target".

This is the problem. The average user has absolutely no desire to have to know this. It's like expecting people to know how to rewire their house to change a lightbulb, when all they want is to see the hallway. It's great for wireheads who want home brew, home built, tweaked hardware, and ultra-customized systems. But, most people just want to balance the checkbook and surf the net.

106 posted on 08/17/2011 10:07:31 PM PDT by LexBaird (Tyrannosaurus Lex, unapologetic carnivore)
[ Post Reply | Private Reply | To 45 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson