Copying a file in Linux

​Copying a file in Linux is done using ‘cp’ command. Command ‘cp’ is short for word copy.

There are a number of command switches for ‘cp’ command.

One of the useful switches is -r of -R. Both lowercase and uppercase options are supported. Long form of it will be --recursive.

It will copy recursively files and folders.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator