Create string with incremental number

To create a string with an incrementing number up to 1000 using bash.

Run the below.

seq -s "$(echo -e '\ntest\n')" 1000 > output.txt

Check if folder is on local or nfs storage

To check whether a folder is definately local or nfs storage.

Simply navigate to the folder via a cd and then run the below command.

df .

This will then display what storage is being used for the folder as we can sometimes see that a nfs mount displays however due to issues it may lose the mount point but still show as visible on a regular df display.