The command who sort - file1 > file2
Answer: None of the above
Choose the correct statements.
Which of the following are not filter programs?
The main reasons for the success of pipes are
Which of the following file names can be found in more than one directoy?
If cat x. prints garbage. then x is probably a
The file that stores an integer as a sequence of characters is a
The differences between malloc( ) and calloc() are:
Which of the following remarks about realloc are true?
To allow only one user to work with a particular file at a particular time, one has to use
Files that store data in the same format as used in program are called
Choose the incorrect statements.
Answer: Shell scripts are compiled
Shell script is preferable to other forms of programming because it
Let x.c be a C source code. The command cc x.c > y
Answer: serves no purpose
Which of the following string functions can be used to find the last occurrence of a given character in a given string?
Writing a C program that accepts input from keyboard, rather than from a file is advantageous because
If one doesn't want anyone else to read or write to a file named datfile, except through a program in a file filex , then he may use
The advantage of binary files over text files is that
The command echo welcome > /dev / tty
Which of the following features of UNIX may be used for inter process communication?