Hi all,
Which are main files to copydor DR backup in Solaris?
I have copied bewo files, is there anything else that is needed to be copied any directires as well, Please suggest.
Will following files backup will do the job for building new server exactly like the original one..?
Code:
/etc/passwd
/etc/hosts
/etc/sudoers
/etc/system
/etc/services
/etc/group
/etc/shadow
/etc/vfstab
/etc/pro
Hi All,
I am working on a Solaris 10 machine and now working with a user creation script.
Hello,
I tried to write a bash script (code is below) that does scp files that contain a certain string, and that subsequently deletes only those files that have been copied (in my case new files are created every second so it is important to only delete those that have been copied). The key is that I do want to type in the pw for the scp by hand and only once because there are so many files.
Hi All,
I need script to perform below task.
1. I have a script in one server and need to copy this script to remote server
2. login in to remote server
3.
i just need help to write a shell script which when run should take the text doc(contains list of files which are to be copied) as input and then each file has to be checked to see if they belong to any of the 5 groupnames that we are going to mention in the other list document, id they belong to any of the group, then they should be copied to destinated location, If not we just have to ignore tho
Hi,
I'm working on a script which has to copy multiple files from one server to another server.
Hi guys,
I need to write a script so that when i execute the "rm" command, the file mentioned need to be copied to other folder and then be deleted. this should be done in back ground. can you please help me out??
I have written a code in c for this but i dont have C compiler and i dont have admin rights to install too.
Hi all,
I am not able to telnet from one system to another.
say from system1 to system2
However i am able to do
telnet system2 1521
but I am not able to do
telnet system2 6730 &
telnet system2 6731 &
telnet system2 6732
some other onformation:
system1:root(/root)# rpm -qa | grep telnet
telnet-0.17-39.el5
system1:root(/root)# cat /etc/redhat-release
Red Hat Enterprise Linux Server re
Hi Experts,
I am writing one shell script. Below is the requirement
1. need to login to the SFTP server, go to the particular folder
2. take the file count in that folder and assign it to variable
3. came out of the SFTP server and check the condition, if the file count is less than the required count exit the script other wise further processing
4.