The following session performs the given tasks.

What will be an ideal response?


```
$ mkdir ~/temp
$ cp /bin/ls ~/temp
$ cp /bin/cat ~/temp
$ cp /bin/ftp ~/temp
cp: cannot stat `/bin/ftp': No such file or directory
$ whereis ftp
ftp: /usr/bin/ftp /usr/bin/ftp.expect /usr/share/man/man1/ftp.1.gz
$ cp /usr/bin/ftp ~/temp
$ cd ~/temp
$ ls
cat ftp ls
$ cp ls ls.bak
$ cp cat cat.bak
$ cp ftp ftp.bak
$
```
The cp /bin/ftp ~/temp command shows that the ftp file is not located in the /bin directory. We use the whereis ftp command to identify the location of the ftp file (command) and copy it to the ~/temp directory. We then use the cd ~/temp command to make ~/temp our current directory and use the ls command to list the file names in it. Finally, we use the three cp commands to make the backup copies of the ls, cat, and ftp files in it (i.e., the ~/temp directory).

Computer Science & Information Technology

You might also like to view...

You can help your reader find various sections of a document easily by using Word to create a(n) ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

Information is easier to understand when it is combined into a single group

Indicate whether the statement is true or false

Computer Science & Information Technology

Windows Media Center can be used to locate online media including documentaries and sports

Indicate whether the statement is true or false

Computer Science & Information Technology

Hyperlinks are commonly added to e-mail addresses

Indicate whether the statement is true or false

Computer Science & Information Technology