IndiaBIX
IndiaBIX
Start typing & press "Enter" or "ESC" to close
  • Home
  • Jobs
  • Results
  • Current Affairs
  • GK
  • Online Test
  • HR Interview
  • BLOG

Unix - Section 1 (6)

  • Home
  • Computer Science & Engineering
  • Computer Science Questions and Answers
  • Unix - Section 1
41. 

Which command sends the word count of the file infile to the newfile.

A. wc infile >newfile
B. wc newfile
C. wc infile - newfile
D. wc infile | newfile
E. None of the above

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

View Answer Discuss Workspace Report

42. 

Which command is used to extract specific columns from the file?

A. cat
B. cut
C. grep
D. paste
E. None of the above

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

View Answer Discuss Workspace Report

43. 

Which of the following keys is used to replace a single character with new text?

A. S
B. s
C. r
D. C
E. None of the above

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

View Answer Discuss Workspace Report

44. 

Which command is used to remove a directory?

A. rd
B. rmdir
C. dldir
D. rdir
E. None of the above

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

View Answer Discuss Workspace Report

45. 

Which command is used to change protection mode of files starting with the string emp and ending with 1,2, or 3?

A. chmod u+x emp[1-3]
B. chmod 777 emp*
C. chmod u+r ??? emp
D. chmod 222 emp?
E. None of the above

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

View Answer Discuss Workspace Report

46. 

Which command is used to copy all files having the string chap and any two characters after that to the progs directory?

A. cp chap?? progs
B. cp chap* progs
C. cp chap[12] /progs/*.*
D. cp chap?? /progs/*
E. None of the above

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

View Answer Discuss Workspace Report

47. 

Which command is used to display the top of the file?

A. cat
B. head
C. more
D. grep
E. None of the above

Answer: Option B

Explanation:

The head command displays the first few lines at the top of a file. It can be useful when you want a quick peek at a large file, as an alternative to opening the file.

View Answer Discuss Workspace Report

48. 

Which command is used to sort the lines of data in a file in reverse order

A. sort
B. sh
C. st
D. sort -r
E. None of the above

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.

View Answer Discuss Workspace Report

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7

Questions & Answers

Aptitude Chemical Engineering Civil Engineering Computer Science & Engineering Current Affairs Data Interpretation Electrical & Electronics Engineering Electronics & Communication Engineering General Knowledge Logical Reasoning Mechanical Engineering Non Verbal Reasoning Verbal Ability Verbal Reasoning

Interviews

HR Interview

Jobs

Sarkari Jobs

Results

Rojgar ResultSarkari Result

Admission

Admission 2023

Admit Card

Admit Card 2023

Answer Key

Answer Key 2023
copyright
Privacy Policy
© 2026 IndiaBIX. All Rights Reserved.

Report