After copy webapi folder to linux VM, it's throwing the error No such file

I am trying to deploy asp.net core app into linux vm and web app I copied into folder /var/WebApi.

From root VM,

  1. I am first going to WebApi directory cd /var/WebApi
  2. then I am trying to run command /var/WebApi$ dotnet YourAppOnLinux.dll

It's giving the error No such file or directory. What's wrong here??

root@AspNetCoreLinuxVM:/var/WebApi# /var/WebApi$ dotnet YourAppOnLinux.dll

-bash: /var/WebApi$: No such file or directory

enter image description here