Automated FTP in Unix

#!/bin/sh ### Sample Script and Method for FTP files from one ### Machine/Host to another Machine. ### ### If you want to ftp few file from ### Host-A (location /b002/org_files/) ### to Host-B (location /u001/b_loc), ### here is the script and methods. ### ### 1) Login into Host-B ### 2) cd /u001/b_loc ### 3) Then…

|

Unix Command’s for DBA’s

Unix Command’s for DBA’s Basic File Navigation The “pwd” command displays the current directory: root> pwd /u01/app/oracle/product/9.2.0.1.0 The “ls” command lists all files and directories in the specified directory. If no location is defined it acts on the current directory: root> ls root> ls /u01 root> ls -al The “-a” flag lists hidden “.” files….