Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
get first few characters of file linux
Heba Esmail
Programming language:
Shell/Bash
2021-04-30 17:30:41
2
Q:
get first few characters of file linux
farnsy
Code:
Shell/Bash
2021-02-14 19:54:37
head -c20 yourFile.txt
1
Tags
get
file
linux
first
character
characters
Related
bash remove first character from line
print first lines of file linux
count number of files linux command
count number of lines in directory linux
delete first two lines of file linux
count occurrences of word in file linux
bash delete first n characters of each line
cut first 10 characters linux
only show first lines linux
New to Communities?
Join the community