Tuesday, September 7, 2010

Linux Command

#Remove Entire Directory
rm -rf varnish-2.1.3/


#Secure Copy

scp /usr/local/bin/varnishsizes root@192.168.130.109:/usr/local/bin/

/usr/local/bin/varnishsizes => local file
/usr/local/bin/             => destination file

Display number of CPUs
cat /proc/cpuinfo | grep processor | wc -l

No comments:

Post a Comment