Chapter 6 . Managing Files 243 In the (Web server hosting)

Chapter 6 . Managing Files 243 In the second example the directory /home/angie/stuff and its contents are copied to the directory /home/angie/otherstuff. This is particularly useful as it allows the entire directory and its contents to be copied using one command. # cp -r /home/angie/stuff /home/angie/otherstuff Exam Tip This is an important option that you are likely to see as a test question. In the third example the files and directories located in the /home/angie/stuff directory are copied verbosely to the /home/angie/otherstuffdirectory. # cp -rv /home/angie/stuff/* /home/angie/morestuff /home/angie/stuff/abcnames -> /home/angie/morestuff/abcnames /home/angie/stuff/alphanames -> /home/angie/morestuff/alphanames /home/angie/stuff/list -> /home/angie/morestuff/list /home/angie/stuff/marital -> /home/angie/morestuff/marital /home/angie/stuff/morestuff -> /home/angie/morestuff/morestuff /home/angie/stuff/mycommands.12.11.00 -> /home/angie/morestuff/mycommands.12.11.00 /home/angie/stuff/nameslist -> /home/angie/morestuff/nameslist /home/angie/stuff/newstuff -> /home/angie/morestuff/newstuff /home/angie/stuff/newstuff/newnameslist -> /home/angie/morestuff/newstuff/newnameslist /home/angie/stuff/newstuff/newnicks -> /home/angie/morestuff/newstuff/newnicks /home/angie/stuff/nicks -> /home/angie/morestuff/nicks /home/angie/stuff/oldstuff -> /home/angie/morestuff/oldstuff /home/angie/stuff/oldstuff/oldnameslist -> /home/angie/morestuff/oldstuff/oldnameslist /home/angie/stuff/oldstuff/oldnicks -> /home/angie/morestuff/oldstuff/oldnicks /home/angie/stuff/readmes -> /home/angie/morestuff/readmes dd The dd command (short for direct dump) is used to copy and convert files to a different file type simultaneously. This command has different options and a different syntax than the cpcommand. The syntax used by the dd command is as follows: dd [options] The dd command, by default, writes data from standard input to standard output. Options can be used to overwrite these defaults. The options used with the dd command are shown in Table 6-8.
You want to have a cheap webhost for your apache application, then check apache web hosting services.

Leave a Reply