Sitemap

Sunday, April 5, 2015

Few Unix Commands

To zip setup directory, enter:
zip -r backup.zip setup


To decompress a zip file in Unix, enter:
unzip filename.zip


To transfer a file from one unixbox to another:
scp -r filename user@hostname:targetdirectorylocation
e.g.:
scp -r backup.zip oracle@adprvdev11.corp.com:/u01/app/oracle/admin/prod_wc_domain/ucm_cluster_files/ucm/cs/archives


To check logs in weblogic server:
cd /apps/Oracle/Middleware/user_projects/domains/partnernet_prod/servers/reporting_App2_1/logs
ls -latr
tail -f reporting_App2_1.log

No comments:

Post a Comment