Problem
1. Run the tty command, and note the device name of your terminal. Now use this device name (say, /dev/pts/6) in the command cp /etc/passwd /dev/pts/6. What do you observe?
2. How do you use tar to add two files, foo.html and bar.html, to an archive, archive.tar, and then compress the archive? How will you reverse the entire process and extract the files in their original uncompressed form?