View Single Post
  #5 (permalink)  
Old 25-10-2007, 08:53 PM
adahan adahan is offline
Junior Member
User
 
Join Date: Sep 2007
OS: fedora 7
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
adahan is on a distinguished road
Default

thanks

now i need to move some file to folder i use this :

#!/bin/bash
OUT="$(hostname)"
mkdir "$(hostname)"
`cp /etc/hosts` >> OUT
#free -m >>$OUT
#echo "Disk info: " >> $OUT
#df -h >>$OUT
#scp $OUT you@somewhere.com

and it not move please assist
Reply With Quote