desktop clearning

Shibu C Varughese shibucv at itmission.org
Fri Nov 16 05:33:37 UTC 2007


On 11/16/07, Shali 9846303531 <shalib2 at gmail.com> wrote:
>
>
> Dear sir,
>
> when i am trying to executing the script the following error will come
> ,what is this sir,
>
> #!/bin/sh
> cd </home/shali/Desktop/dclearn>
> dir=$(mktemp -d -p /tmp)
> mv <2.cpp 3.java> $dir
> rm -r ./*
> mv $dir/* .
> rmdir $dir
>
>
> error
>
> ./desktopclearning.sh
> ./desktopclearning.sh: line 3: syntax error near unexpected token
> `newline'
> ./desktopclearning.sh: line 3: `cd </home/shali/Desktop/dclearn> '
>
>
>
>
> --
> Shali.K.R
> Asst.Librarian(Digital)
> Vidya Academy of Science & Technology
> Thrissur, Kerala.
> Mob:9846303531
> --
> hi ...


Check how may files you have on your desktop ...
ls -l |grep -v d|wc -l

Create backup of your files, before you remove them ," ls -l |grep -v d "
will give you the file list.
it's simple you can do that...
-- 
shibucv at itmission.org
True greatness is measured by how much freedom you give to others, not by
how much you can coerce others to do what you want. --Larry Wall
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071116/ac14cef5/attachment.html>


More information about the ubuntu-users mailing list