# Follow redirects and save output to a new .txt file curl -L bit.ly/3xqlkag -o newfile.txt
If you're looking to share a text file or a link and need help with: i new 1txt file source bitly 3xqlkag
Some Bitly links are private or require API access. Use Bitly’s API: # Follow redirects and save output to a new
Sometimes “source” means a script output (e.g., ls > source.txt ). Then your command might be: it could be:
#!/bin/bash SHORT_URL=$1 OUTPUT_FILE=$2
If https://bit.ly/3xqlkag resolves, it could be: