View Single Post

  #5 (permalink)  
Old 10-25-2007, 08:53 PM
adahan adahan is offline
Junior Member
User
 
Join Date: Sep 2007
My distro: fedora 7
Posts: 5
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