Oracle Enterprise Linux: Fundamentals (1Z0-402) Free Practice Test
Question 1
View the Exhibit.
Which option with the mkdir command would print a message for each created directory as shown in the Exhibit?

Which option with the mkdir command would print a message for each created directory as shown in the Exhibit?

Correct Answer: D
Question 2
Which four statements are true about the find command in Linux? (Choose four.)
Correct Answer: A,B,D,E
Question 3
The user smith has logged in to the system and his current working directory is /tmp. Which command changes the user current working. Which command changes the user's current working directory to the user's home directory? (Choose all that apply.)
Correct Answer: A,F
Question 4
As root you execute the following command:
echo "Good\nMorning\nSmith"
You find the two newline characters in the output and do not want them to appear in the output. Which two among the following would help you achieve this task without effecting the content of echo command? (Choose two.)
echo "Good\nMorning\nSmith"
You find the two newline characters in the output and do not want them to appear in the output. Which two among the following would help you achieve this task without effecting the content of echo command? (Choose two.)
Correct Answer: E,F
Question 5
Two users, bob on station1 and smith on station2, generated a public/private key pair using sshkeygen to enable password-less secure shell login between them. What would be their next step to accomplish the task?
Correct Answer: D
Question 6
View the Exhibit.

Which command would change the root user's current working directory to /usr/local?

Which command would change the root user's current working directory to /usr/local?
Correct Answer: A
Question 7
You have executed the following command as root user: find /home | cpio -o -H tar-F root@stationX:/dev/nst0 --rsh-command=/usr/bin/ssh What could be the purpose of issuing this command?
Correct Answer: D
Question 8
You have issued the following command:
echo -e welcome\nTo Oracle\nEnterprise\rLinux
What would be the impact of-e switch on the echo command?
echo -e welcome\nTo Oracle\nEnterprise\rLinux
What would be the impact of-e switch on the echo command?
Correct Answer: A
Question 9
You execute the following command:
find /home/ -name ?.jpg? -type f -user john
What is the expected output of this command?
find /home/ -name ?.jpg? -type f -user john
What is the expected output of this command?
Correct Answer: B
Question 10
How does the file command report the type of file? (Choose all that apply.)
Correct Answer: C,D
Question 11
The user smith on server1 wants to check the IP address of the machine along with the MAC
address. View the Exhibit that shows the error message received by smith during this. Which statement is true in this scenario?

address. View the Exhibit that shows the error message received by smith during this. Which statement is true in this scenario?

Correct Answer: B
Question 12
What happens when you execute the Ipq command without passing any arguments?
Correct Answer: C
Question 13
You want to archive a directory and its subdirectories (excluding a list of subdirectories from a file) using the tar command. Which option would help you to do this?
Correct Answer: D