educative.io

Educative

What does `vi .kaggle/kaggle.json` do?

Run vi .kaggle/kaggle.json on your EC2 instance to copy over the contents to your remote machine. The result is a credential file you can use to programmatically download datasets.
I’m not familiar with vi. And plus, does it mean that if I have this file on my EC2 instance, it will be able to find it and use it to authenticate?

Hi @Y_C,

vi command is used to open or edit a file and yes you’re right it is used to authenticate.

but this command just opens the file right? How does it authenticate, I thought you’d have to source a file to set some environment variables etc.