Which of the following commands is used to summarize the disk usage?
1.chkdsk
2.fdisk
3.du
4.disk
If a file has read and write permissions for the owner, then the octal representation of the permissions will be
1.1
2.6
3.5
4.3
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?
1. find -mtime +365 | rm
2.grep (/usr/*) - mtime + 365 | -ok rm
3. find -name - mtime + 365 / - ok rm
4.find /user/* (-mtime + 365 - a - atime +365 ) - OK rm {} ;
The ls -l command tells
1.who the owner of the file is
2.the name of the group owner of the file
3.how large the file is and when the file was last modified.
4.All of the above
The seventh field of /etc/password is
1.password
2.login
3.shell
4.home
Which command is used to copy a file wb with the same name from the programs directory to the misc directory?
1.copy programs/wb misc/wb
2.. cp programs/wb misc
3. tar programs/wb misc/wb
4.copy a:programs/wb b:misc/wb
Which command is used to create a directory?
1.crdir
2.md
3.mkdir
4.cr
Which command is used to display the device name of the terminal you are using?
1.who
2.ls
3.tty
4.stty
Which command is used to display the end of the file?
1. head - r
2.tail
3.eof
4.bof
Which command is used to locate all the .profile files in the system?
1.ls profile
2.find /-name profile -print
3.cd /.profile
4.. l -u .profile
Which command is used to set the three permissions for all the three categories of users of a file?
1.chgrp
2.chown
3.chmod
4.chusr
Which command is used to sort the lines of data in a file in alphabetical order?
1.sort
2.sh
3.st
4.sort-r
Which is the earliest and most widely used shell that came with the UNIX system?
1. C shell
2.Korn shell
3.Bourne shell
4.Smith shell
Which of the following commands can be used to get information about all users who are currently logged into the system?
1.which
2.who
3. who am i
4. 1 /u
Which of the following commands can be used to get information about all users who are currently logged into the system?
1.which
2.who
3.who am i
4. 1 /u
Which of the following commands can be used to get information about yourself?
1.who am i
2. i /4
3.pwd
4.which
Which of the following keys is used to overstrike a whole line?
1.R
2.v
3.chmod
4.u