• 1. 
    In Unix, Combining commands are

  • & %
  • && %
  • ; &&
  • ; &
  • 2. 
    In UNIX shell, special type of argument used with

  • /
  • *
  • -
  • &
  • 3. 
    Which command is used to see the calendar of any specific month or a complete year

  • calendar
  • cal
  • none of the above
  • 4. 
    Shell scripts need to be saved with an extension .sh .

  • True
  • False
  • 5. 
    In which language UNIX is written?

  • a) JAVA
  • b) Python
  • c) C++
  • d) C
  • 6. 
    Which command is used to get information about currently logged in user on to system

  • who am i
  • who
  • who i am
  • None of the above
  • 7. 
    ----------------command is used to control the movement of the cursor on the screen.

  • mkdir
  • echo
  • tput
  • tty
  • 8. 
    -------------is a program written to perform certain specific action.

  • Kernal
  • Shell
  • Command
  • getty
  • 9. 
    Unix OS was first developed by

  • Dennis Ritchie
  • Bjarne stroustrup
  • Ken Thompson
  • Brian Kernighan
  • 10. 
    ----------------------command can display the current date along with the nearest to the seconds.

  • date
  • cal
  • who
  • mkdir
  • 11. 
    The complete set of positional parameters is stored in ______ as a single string.

  • a) $n
  • b) $#
  • c) $*
  • d) $$
  • 12. 
    To run the script, we should make it executable first by using _____

  • a) chmod +x
  • b) chmod +r
  • c) chmod +w
  • d) chmod +rwx
  • 13. 
    Which option is used to removes all the spaces in between the text in echo command

  • \d
  • \c
  • \b
  • \a
  • 14. 
    Operating System is a interface between

  • user and software
  • user and hardware
  • user, software and hardware
  • None of the above
  • 15. 
    Which of the following commands is used to display file attributes

  • cat
  • ls -l
  • mkdir
  • ls
  • 16. 
    The first argument is read by the shell into the parameter ___

  • a) 1$
  • b) $3
  • c) $$
  • d) $1
  • 17. 
    Which year UNIX created?

  • 1969
  • 1978
  • 1965
  • 1971
Report Question
warning
access_time
  Time