Skip to content

Instantly share code, notes, and snippets.

@ibrahim-kardi
Created November 5, 2019 16:25
Show Gist options
  • Save ibrahim-kardi/f388f2243b76ff97587674cc1e7a4165 to your computer and use it in GitHub Desktop.
Save ibrahim-kardi/f388f2243b76ff97587674cc1e7a4165 to your computer and use it in GitHub Desktop.
copy a file bash code for ubuntu
#!/bin/bash
i=2
while (( i++ < 1000 )); do
cp ka1.txt "test$i.txt"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment