050-733

050-733 practice questions, page 4 of 4, with answer review and explanations.

Question 16

You want to copy the mytext file from your computer to the /tmp/ directory on the remote computer da20.digitalairlines.com. Which command would you use to accomplish this?

  1. ssh mytext da20.digitalairlines.com:/tmp
  2. scp da20.digitalairlines.com:/tmp mytext
  3. scp mytext da20.digitalairlines.com:/tmp
  4. sftp mytext da20.digitalairlines.com:/tmp

Question 17

You have a file named file1 and you want to create a symbolic link named link-to-file1 to the file. In a terminal window, which command accomplishes what you want? (Choose two.)

  1. In file link-to-file1
  2. In link-to-file1 file1
  3. In –s file1 link-to-file1
  4. In –s link-to-file1 file1
  5. cp –s file1 link-to-file1
  6. mv –s file1 link-to-file1

Question 18

Where can you set global shell environment variables for all users independent of their shell?

  1. /etc/profile
  2. /etc/profile.all
  3. /etc/bash.local
  4. /etc/bash.bashrc

Question 19

In a terminal window, which command shows you the groups you are a member of?

  1. id
  2. gid
  3. who
  4. whoami

Question 20

Which command uninstalls an rpm package?

  1. rpm –d package_name
  2. rpm – e package_name
  3. rpm –r package_name
  4. rpm –u package_name
  5. remove package_name
  6. uninstall package_name