Rearrange columns using cut

For the cut(1) man page: Use one, and only one of -b, -c or -f. Each LIST is made up of one range, or many ranges separated by commas. Selected input is written in the same order that it is read, and is written exactly once. It reaches field 1 first, so that is printed, … Read more

How to download GitHub Release from private repo using command line

To download release file from private repo, you can use Personal access token which can be generated at settings/tokens with Full control of private repositories scope. Then download the asset with curl command (change with appropriate values): curl -vLJO -H ‘Authorization: token my_access_token’ ‘https://api.github.com/repos/:owner/:repo/releases/assets/:id’ or if you’re using an OAuth app, use: curl -u my_client_id:my_client_secret … Read more