/ Published in: Other
Expand |
Embed | Plain Text
#copy folder and contents cp -rv /home/breo/public_html/admin/* /home/breo/public_html2/admin #rename folder or file mv admin admin1 #ssh in ssh user@address #sync files rsync -av /home/xile/public_html/pics/ /home/xile/public_html2/pics_old/ #get folder size in mb du -sm pics_old #symbolic links ln -s /home/whatever/thesourcefile.html thenewlinkefile.php #find and show file line number with highlighitng grep --color=auto -iRnH 'website sale order' *.php cat find.item.comp3.php | grep --color=auto -inH '$path' > output.txt #show file size du -h filename.txt
You need to login to post a comment.
