1.
Val has invoked the following command, to gather information about the data stored in her home directory.
$ du -sk * | sort -n | tail > file2
Which answer is correct concerning this command line?
2.
You have created a tar archive of a source code directory. You now want to compress the file using the gzip
utility. Choose the command that you could use to compress the file.
3.
Val is copying files named daily.rpt from a directory called reports into her home directory on host users1 over
to /var/tmp/val on host datastor. Choose the command that Val might use to copy the files.
4.
Your logging into the system as user Val, you are notified upon login that you must change your user password
on the system. Your current password is 2co0lu! Choose the password that meets the requirements for a user
changing the password on a Solaris 10 system.
5.
A user is creating an archive using the zip utility. The user executes the following sequence of commands.
$ zip -rm archive.zip /data/dir1
$ zip -rm archive.zip /product/dir1
$ zip -rm archive.zip /data/dir2
What will be the result of running this sequence of commands?
6.
Frank has a archive named data-1-4.tar and he needs to recover the contents of the archive. Which command
will restore the contents of the archive to disk?
7.
Frank is going to add four files to a tar archive. The files are called data1, data2, etc. These files will be stored
in a new archive called data-1-4.tar Which command will correctly create this archive?
8.
Frank wants to login to a remote system named proteus and edit multiple files. The remote host proteus has
been configured with a .rhosts file in Frank's home directory.
Choose the command that will allow Frank to login without entering a password.
9.
You have a compressed file named meeting-agenda.gz. You would like to examine the content of this
compressed file. Choose the command that will display the files content to the screen.
10.
Choose the answer that correctly describes the Java Archive tool.