Answers for "first n chars of file linux"

1

get first few characters of file linux

head -c20 yourFile.txt
Posted by: Guest on July-23-2020
1

linux get first line of file

# credit to Stack Overflow user in the source link

head -1 your_file
Posted by: Guest on August-23-2021

Code answers related to "first n chars of file linux"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language