Millionaire Mode

Linux/Unix Shell Scripting Basics

Question 1 of 8

You are executing the following commands in a shell $ cp ~/myfile.dat /media/mounted/ext/drive1/newmyfile.dat $ cd /media/mounted/ext/drive1 $ mv newmyfile.dat oldmyfile.dat and now you are asked to display the long listing of the file "newmyfile.dat". Which of the following will you use ?

  1. ls -lrt !cp:2
  2. ls -lrt !mv:1
  3. ls -lrt /media/mounted/ext/drive1/newmyfile.dat
  4. a and b will give "Command not found error" and c will work fine and all other options are incorrect.
  5. a,b and c will give correct results.

Prize Money

15₹7 Crores
14₹1 Crore
13₹50,00,000
12₹25,00,000
11₹12,50,000
10₹6,40,000
9₹3,20,000
8₹1,60,000
7₹80,000
6₹40,000
5₹20,000
4₹10,000
3₹5,000
2₹2,000
1₹1,000