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?
ssh mytext da20.digitalairlines.com:/tmp
scp da20.digitalairlines.com:/tmp mytext
scp mytext da20.digitalairlines.com:/tmp
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.)
In file link-to-file1
In link-to-file1 file1
In –s file1 link-to-file1
In –s link-to-file1 file1
cp –s file1 link-to-file1
mv –s file1 link-to-file1
Question 18
Where can you set global shell environment variables for all users independent of their shell?
/etc/profile
/etc/profile.all
/etc/bash.local
/etc/bash.bashrc
Question 19
In a terminal window, which command shows you the groups you are a member of?