Answers for "linux bash get first n chars of filename"

1

get first few characters of file linux

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

bash get first n characters

echo ${FOO:0:10}
Posted by: Guest on April-18-2021

Code answers related to "linux bash get first n chars of filename"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language