What is a purpose of using the head Linux command?

IT Questions BankCategory: IoT Big Data & AnalyticsWhat is a purpose of using the head Linux command?

What is a purpose of using the head Linux command?

  • to determine the size of the file
  • to display the permissions on the file
  • to verify that the file is available and preview the first few lines
  • to determine whether the file contains enough code to be executable

Explanation: The head Linux command reads the first few lines of a file and writes them to the standard output (by default, the display screen). This command is useful to verify the existence and the content of a file before it is imported into pandas.

Exam with this question: Big data & Analytics Chapter 3 Quiz Answers – Data Analysis

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x