Answers for "linux select first n files"

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
0

copy first n files linux

find . -maxdepth 1 -type f |head -1000|xargs cp -t "$destdir"
Posted by: Guest on August-31-2021

Code answers related to "linux select first n files"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language