Answers for "linux head command"

3

linux head command

# SYNTAX
# head [options] [file_name(s)]

# OPTIONS
# -n | N, prints out the furst N lines of the file(s)
# -q, doesn't print out the file headers
# -v, always prints out the file headers

# EXAMPLE
head -n 7 file.txt
head -q -n 5 file1.txt file2.txt

# CREDIT
# https://www.freecodecamp.org/news/bash-commands-bash-ls-bash-head-bash-mv-and-bash-cat-explained-with-examples/
Posted by: Guest on May-14-2020
-1

data.head on terminal

print(data.head())
Posted by: Guest on October-11-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language