i am writing a .repo file using echo command after creating that file with touch command. but i am not able to do what i want.
Code:
echo "[local repo]" "\n" "name=local repository for updating packages" > /etc/yum.repos.d/local.repo
above command should write in the file like
Code:
[local_mirror]
name=local repository for updating packages
how can i achieve this task?