Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've bought a vps server a few days ago, with Ubuntu on it, but I have a problem now. By nearly all the commands I put in I get this error: : command not found. I am logging in as root. I think this is the Ubuntu version I have: ubuntu-8.04-i386-minimal. (Maybe it has to do with 'minimal'? I really don't know.)

To be more specific, the command I have and try to run now is this,

cd ~/mclawl
screen -S MCForge -d -m -c /dev/null -- sh -c 'mono MCForge.exe
exec $SHELL'

If I do so, I get this,

-bash: screen: command not found

share|improve this question
And the PATH is Ok? 'env | grep PATH' – user8290 Jan 13 '11 at 14:00

Servers can be used for multiple purposes. Some just need a proxy and are fine with ssh. Others want to run a webserver and require related binaries. To install screen, run:

sudo apt-get install screen

If you're interested what applications are installed, run:

dpkg -l

Optionally, add |less after it, so you can use the arrow / page up/down keys for scrolling.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.