Hello Nilesh,
You cannot directly enter the file name without a corresponding command before it. If you want to move the file, you can do:
Code:
cd /etc/valiases
mv domain.com /home/user/domain.com
Here you are changing directory (cd) to /etc/valiases, then moving (mv) the domain's forwarder file to the user's home location. Replace
domain.com with the domain in question and replace
user with the cPanel account's username.
I did want to mention that vi isn't necessary to see the contents of a file also. You can use cat:
Code:
cat /etc/valiases/domain.com
Thanks.