Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by whitelisting our website.

Basic of linux unix

Which of the following commands is used to remove files with confirmation prompt from the user file system which have neither been accessed nor modified i the last one year ?

Which of the following commands is used to remove files with confirmation prompt from the user file system which have neither been accessed nor modified i the last one year ?

A. find -mtime +365 | rm
B. grep (/usr/*) – mtime + 365 | -ok rm
C. find -name – mtime + 365 / – ok rm
D. find /user/* (-mtime + 365 – a – atime +365 ) – OK rm {} ;

Which of the following commands is used to remove files with confirmation prompt from the user file system which have neither been accessed nor modified i the last one year ? Read More »

Basic of linux unix

Which of the following commands is used to save the output of the who command in a file named user.lst, as well as display it ?

Which of the following commands is used to save the output of the who command in a file named user.lst, as well as display it ?

A. who | tee user.lst
B. who > user.lst
C. who >> user.lst
D. who < user.lste

Which of the following commands is used to save the output of the who command in a file named user.lst, as well as display it ? Read More »

Basic of linux unix

Which of the following commands is used to copy a file wb from the programs directory into a file called wbx in the misc directory ?

Which of the following commands is used to copy a file wb from the programs directory into a file called wbx in the misc directory ?

A. copy programs/wb misc/wbx
B. cp programs/wb misc/wbx
C. tar programs/wb misc/wbx
D. copy a:programs/wb b:misc/wbx

Which of the following commands is used to copy a file wb from the programs directory into a file called wbx in the misc directory ? Read More »

Basic of linux unix