title: rm -r in shell script (my first *.sh)
body: <p>I would like to delete some folder on an Ubuntu 8.04 Server.</p>
  
  <p>I would like to start a script to delete this folder.</p>
  
  <p>I start an ssh session to the server.</p>
  
  <p>My script looks like this:</p>
  
  <pre><code>#!/bin/bash
  rm -r /var/lib/backuppc/pc/PC1/
  rm -r /var/lib/backuppc/pc/PC2/
  </code></pre>
  
  <p>I run the script like this: </p>
  
  <pre><code>sh scriptname.sh
  </code></pre>
  
  <p>But I get this message:</p>
  
  <pre><code>rm: cannot remove `/var/lib/backuppc/pc/PC1/\r': No such file or directory
  rm: cannot remove `/var/lib/backuppc/pc/PC1/\r': No such file or directory
  </code></pre>
  
  <p>I'm sorry but I don't use ever a shell script on linux.
  I think it my fault because I don't know the basics :-(</p>
  
  <p>Can somebody help me? I've to delete ~80 folder... :-(</p>