Unix

  • No categories
dev/null

A. Is a file
B. Has write permission for all
C. Is the UNIX built-in dustbin
D. All of these

Option: D

The command echo welcome > /dev / tty

A. Echoes welcome in all the terminals that are switched on.
B. Echoes welcome in all the terminals that are logged on.
C. Echoes welcome only in the terminal in which it is run.
D. Both (a) and (c)

Option: D

The command echo welcome > /dev / tty

A. Echoes welcome in all the terminals that are switched on.
B. Echoes welcome in all the terminals that are logged on.
C. Echoes welcome only in the terminal in which it is run.
D. Both (a) and (c)

Option: D

Choose the correct statements.

A. id x .o is a valid command (assume x . o exists)
B. cc x. s is a valid command (assume x . s exists)
C. Both (a) and (b)
D. None of these

Option: C

Choose the correct statement

A. To read successive characters from an open file . getchar and scan f can be used interchangeably
B. To read successive characters from an open file. getchar and read can be used interchangeably
C. The read system call reads from the buffer
D. None of the above

Option: A

cc command sequentially invokes

A. preprocessor. compiler and link editor
B. compiler and link editor
C. preprocessor, compiler. assembler and link editor
D. compiler, assembler and link editor

Option: C