Search code examples
bashcvs

How do I add a file to a directory in terminal?


I am trying to add files to a directory that I created, and I attempted to use

   cvs add filename

but that did not work, as I got the error message:

    -bash: cvs: command not found

How do I fix this and be able to add files to a directory?


Solution

  • It's either cvs has not been installed or not found in the environment path variable e.g. $PATH. If you're sure that you have installed cvs successfully, try to execute the cvs command by using its absolute path.