I am trying to access a remote kubernetes cluster with kubectl. In order to copy/paste cluster credentials in the kubeconfig file I executed "~/.kube/config" command but there is an error saying "No such file or directory".
Could anyone please tell me why i get this error? kubectl is perfectly working.