Perpetual PC's

Web Site Design.       Networks.

Commands and references ( GNU / linux kernel 2.4.18-3 and 2.4.18-14 )   
Linux is a registered trademark of Linus Torvalds


The commands with their most common usage are in brackets like this: [ command ].
Don't type the brackets, just what is inside of them.

Back to the index page


copy all files in dir to anotherdir

[ cp -r dir/* anotherdir ]

copy all directories and subdirectories and files in the foo directory to the foos_backup directory in which you create the directory backup_one which will contain all that is in the foo directory:
[ cp -r foo foos_backup/backup_one ]
to copy filenames with spaces use quotes around them like this: "file name with spaces.txt"



Perpetual PC's home page

Perpetual PC's link page