Correct Answer: Multitasking
Note: This Question is unanswered, help us to find answer for this one
Correct Answer: Sort file1 > file2
Correct Answer: Is
Correct Answer: Output Redirection
Correct Answer: UNIX
Correct Answer: Uniq
Correct Answer: Least recently used
Correct Answer: Text table
Correct Answer: Multi-purpose
Correct Answer: Server
Correct Answer: Regular
Correct Answer: Sed
Correct Answer: .0
Correct Answer: chown
Correct Answer: Pwd
Correct Answer: ctrl + d
Correct Answer: In the background
Correct Answer: tar -xv
Correct Answer: .More than one process can be active even if there is only one processor.
Correct Answer: grep can be used without specifying a regular expression.
Correct Answer: tar -cv
Correct Answer: netstat -rn
Correct Answer: $ man
Correct Answer: write
Correct Answer: IFS
Correct Answer: mail raven
Correct Answer: Ctrl+d
Correct Answer: There can only be one command interpreter.
Correct Answer: Stale File Handle
Correct Answer: ps
Correct Answer: -o
Correct Answer: cat
Correct Answer: 7
Correct Answer: a,b and c
Correct Answer: b and c
Correct Answer: It does not allow relative path names.
Correct Answer: It is not possible
Correct Answer: The command name is put into the variable $1.
Correct Answer: /home/username
Correct Answer: ls -l
Correct Answer: ?
Correct Answer: -r
Correct Answer: rsh
Correct Answer: cmp
Correct Answer: diff
Consider the following file listing of file abc1 for a user abc-rw------- 1 abc student 10 jan 10:39 abc1What inference would you make regarding the file access permissions ?
The group have full permissions.
Only the owner has full permissions.
Only the owner has read and write but no execute permissions.
The group has read and write permissions.
Others have read and write permissions.
Correct Answer: Only the owner has read and write but no execute permissions.
Correct Answer: wc
Correct Answer: passwd
Correct Answer: sh
Correct Answer: $HOME/.profile
Correct Answer: -f
Correct Answer: /etc/passwd
Correct Answer: []
Correct Answer: -v
Correct Answer: $
Correct Answer: tput rmso
Correct Answer: \
The command rm -r project
deletes the file project from the current directory.
deletes the file project found in all directories.
is invalid.
Correct Answer: deletes all the files from the directory project.deletes all the files from the directory project.
Note: This question has more than 1 correct answers
Correct Answer: It automatically sorts the file that is specified.
Correct Answer: tput cup
Correct Answer: break
Correct Answer: tee
Correct Answer: cut
Correct Answer: /etc/profile
Correct Answer: comm
Correct Answer: echo
Correct Answer: b or c
Correct Answer: The user's name.The time the user logged in.
Correct Answer: Time sharing operating system.
Correct Answer: $#
Correct Answer: talk
Correct Answer: b or c.
Correct Answer: at
Correct Answer: C
Correct Answer: 3
Correct Answer: -u
Correct Answer: vi
Correct Answer: 1
Correct Answer: Global variables are created by the global command.
Correct Answer: a or b.
Correct Answer: $ cal april 2007$ cal april 07$ cal 4 2007
Correct Answer: a and c.
Correct Answer: a,b and c.
Correct Answer: UNIX process priorities cannot be changed by the user.
Correct Answer: rm /user/group2/??
Correct Answer: The root userAccount owner
Correct Answer: At the core of UNIX is the shell, a program controlling the computer's resources.
Correct Answer: export
Correct Answer: a special feature by which the standard output of a command or user program can be sent as the standard input to another command or user program
Correct Answer: cd
Correct Answer: rmdir
Correct Answer: id
Correct Answer: ;
Correct Answer: The user is not allowed to see the listing of files in his working directory.
Correct Answer: a program in a state of execution.
Correct Answer: Providing a link to the filesystem to be mounted so that it appears as a local subdirectory.
Correct Answer: pwd
Correct Answer: chmod ug -rw abc
Correct Answer: stderr
Correct Answer: compresszippack1-2-3
Correct Answer: ln -s f1 f2
Correct Answer: counts the number of words in a disk file or in the standard inputcounts the number of characters in a disk file or in the standard inputcounts the number of lines in a disk file or in the standard input1-2-3
Correct Answer: tr
Correct Answer: c or d.
Consider the following command cat re*Which of the following files will not be displayed by this command ?
reminder
Receipt
recipe-cake
re.c
Correct Answer: Receipt
Correct Answer: tput smso
Correct Answer: $ talk
Correct Answer: are not case sensitive.
Correct Answer: more filename
Correct Answer: mkdir
Correct Answer: man
Correct Answer: -n
Correct Answer: The three standard files have a file descriptor 0 - standard output file 1 - standard input file 2 - standard error file
Correct Answer: -d
Correct Answer: $*
Correct Answer: $?
The command ls | more displays a list of :
all the files in the current directory and then waits for the next command.
all the files in all the directories.
Correct Answer: all the files in the current directory one line at a time.all the files in the current directory one screen at a time. 0.10
The command rmdir c-prog
will not work if :
c-prog is the current working directory.
full pathname is specified with rmdir.
a and b. 0.10
a and c.
Correct Answer: a and b. 0.10
Correct Answer: -ok
Correct Answer: chgrp
Correct Answer: PS1
Correct Answer: It will remove all the files but not the directory
Correct Answer: /var/adm/sw/products
Correct Answer: changes the access permissions of a file or directory.
Correct Answer: du
Correct Answer: Minimize the user response time.
Correct Answer: Ctrl+c
The file oldies-goldies has the details of the sale of books.The records are sorted on the names of the authors and are as follows
Alexandre Dumas
Gerald Durrell
Giovanni Guareschi
James Herriot
Louisa May Alcott
Based on the above information, what will be the output of the command
uniq -u oldies-goldies ?
Gerald Durrell James Herriot
Alexandre Dumas Gerald Durrell Giovanni Guareschi James Herriot Louisa May Alcott
Correct Answer: Gerald Durrell James Herriot
Correct Answer: chmod go= flog
Correct Answer: True
Correct Answer: uid bit is set
Correct Answer: who -r
Correct Answer: Set user ID on execution (SUID)
Correct Answer: 444
Correct Answer: read+write for the owner or group and no permissions or everyone else
Correct Answer: does not change its modification time but will change it's inode's ctime
Correct Answer: /bin/su -
Correct Answer: File name
Correct Answer: update the access and modification times of FFF to the current time
Correct Answer: /
Correct Answer: -lu
Correct Answer: investigate as root
Correct Answer: tac
Correct Answer: The text "hello" will be printed
Correct Answer: Symbolic link, Socket, Regular file
Correct Answer: login checks if a minimum amount of time passed since your last login
Correct Answer: stty
Correct Answer: none are correct
Correct Answer: It depends on the Unix implementation.
Correct Answer: who
Correct Answer: epoch format
Correct Answer: read and execute
Correct Answer: get an error or the directory is copied as a regular file
Correct Answer: encrypter < top_secret >> private
Correct Answer: Binaries located in /bin and /sbin are expected to be on the root partition to be available for single user or repair modes.
Correct Answer: grep sbz /etc/passwd
Correct Answer: ^
Correct Answer: Will display only the init process
Correct Answer: all are correct
Correct Answer: find . -name "taco*" -exec rm {} \;
Correct Answer: The process continues to access the file via its inode
Correct Answer: N is the superuser
Correct Answer: Any character, and the system distinguishes between upper and lower case characters
Correct Answer: -R
Correct Answer: Only members of the file's group, except for the file's owner.
Correct Answer: chgrp and chown
Correct Answer: tty
Correct Answer: Simple Network Management Protocol
Correct Answer: icmp
Correct Answer: Yes
Correct Answer: 0
Correct Answer: myfile.txt
Correct Answer: remove execution permission from the file tmp.tmp in /tmp
Correct Answer: nobody
Correct Answer: the one that is found first in the path will be executed
Correct Answer: <
Correct Answer: Sticky bit
Correct Answer: du -sk
Correct Answer: shows a simple calendar
Correct Answer: |
Correct Answer: symbolic link
Correct Answer: 660
Correct Answer: tar cvf <directory.tar> <directory>
Correct Answer: inherits its current directory from its parent process
Correct Answer: lost+found
Correct Answer: more than one group
Correct Answer: script
Correct Answer: su myuser
Correct Answer: .profile
Correct Answer: chmod o-r flog
Correct Answer: whoami
Correct Answer: ..
Correct Answer: it is gone forever
Correct Answer: mailx
Correct Answer: $HOME
Correct Answer: chmod g+w flog
Correct Answer: su
Correct Answer: cp
Correct Answer: Read, write, execute
Correct Answer: Always true
Correct Answer: ssh
Correct Answer: moves a file to a new location
Correct Answer: scp
Correct Answer: you get an error message
Correct Answer: mv
Correct Answer: there's no way to reverse a delete operation on Unix
Correct Answer: chmod +x ac2
Correct Answer: There are no "default" passwords on Unix
Correct Answer: PATH
Correct Answer: date
Correct Answer: first character of the filename is a '.'
Correct Answer: &
Correct Answer: $SHELL
Correct Answer: ls -a
Correct Answer: 750
Correct Answer: In Unix, everything is a file
Correct Answer: june
Correct Answer: Control-D
Correct Answer: the current location in the directory hierarchy
Correct Answer: All are correct
Unix MCQs | Topic-wise