What will be the output after executing the command ?

$ls -l | tail -5 | tee profile

Only displays a detailed list of first 5 files of the current directory
Displays a detailed list of last 5 files of the current directory and also stores it in the file "profile"
stores a detailed list of last 5 files of the current directory in the file "profile" 
Verified Answer
Correct Option - b

To get all Infosys Certified L2 Junior Support Analyst Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram