Tag: architecture

Questions Related to architecture

  1. deletes the lines starting with happy.

  2. replaces each occurrence of the word happy found in the file chap1 with the word enchanted.

  3. displays each line in the file chap1 that contains the word happy.

  4. None.


Correct Option: B
  1. This sets the COUNT variable to the value given by the (+) operator.

  2. Concatenates the Given Expression inside Quotes.

  3. This adds 1 to the shell variable $COUNT.

  4. None.


Correct Option: C
  1. Provides an interpreter for arbitrary-precision arithmetic language.

  2. Finds lines in files that match a pattern and performs specified actions on those lines.

  3. Searches a file for a pattern.

  4. Evaluates arguments as expressions.


Correct Option: A
  1. print to standard output of all records that contained an occurrence of the string smi

  2. prints to standard output any record that contained a string with the characters smit, followed by one or more h characters, and then ending with the characters ern.

  3. prints to standard output of all records that contain the characters smit, followed by zero or one instance of the h character.

  4. prints to standard output of all records that contained the string smi or smit.


Correct Option: B
  1. Displays information about all users currently on the local system.

  2. Displays the path name of the working directory.

  3. Counts the number of lines, words, bytes, or characters in a file.

  4. Displays the status of the last executed command.


Correct Option: A
  1. Process number of current process.

  2. Process number of background process.

  3. All arguments on command line.

  4. Number of positional parameters.


Correct Option: D

Purpose of the command ZZ in VI Editor?

  1. to exit, if changes are not made to the file.

  2. forced quit, it will discard the changes and quit.

  3. save and Exit.

  4. forces over writes.


Correct Option: C

Need to change from Source to target Directory. Please select the best option : Source Directory : /cmdev/csb_cussat/201106/hpux Target Directory : /cmdev/csb_cussat/201109/hpux

  1. $cd 201109 201106

  2. $cd 201106 201109

  3. $cd /cmdev/csb_cussat/201106/hpux

  4. None of the above.


Correct Option: B