Sponsored Content
Full Discussion: Help Needed in Unix Script
Top Forums Shell Programming and Scripting Help Needed in Unix Script Post 302312048 by panyam on Thursday 30th of April 2009 08:52:22 AM
Old 04-30-2009
show us wat u hav tried ?...

One more info needed is , is it the user name and password remain same for all DB's ?..i don't think so . (or) do you hav that info also in the file itself.?.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix help needed!

I have a few questions about Unix. Can you please help! 1.How do I create an alias that greps the password file for my username and returns my password file entry? Once I get the alias to work I want to be able to let a friend use it .So that he can use the alias to locate his password entry... (1 Reply)
Discussion started by: JJJ
1 Replies

2. UNIX for Dummies Questions & Answers

Unix help needed !!

friends i wanted to now whehter there exists a book as a solution to the questions posted in exercies of the Design of Unix Operating system by Maurice J Bach !..its really urgent !! (1 Reply)
Discussion started by: darshaan
1 Replies

3. UNIX for Dummies Questions & Answers

Help needed in Basic UNIX

hi friends, How to obtain list of groups we r a member of and redirect it to a file. how to append the details of current OS to a file. how to append the estimated file space to a file. how to append the details of users loged on along wth their current activity into a file. Thank you...I'm... (3 Replies)
Discussion started by: bobby36
3 Replies

4. Shell Programming and Scripting

Script needed to FTP a file from sql report to unix server

Hi All, I have a Sqlplus report which will create a file. I need a FTP Script that will be executed inside the Sqlplus Report to FTP the report output file to unix server. Thanks, Previn (0 Replies)
Discussion started by: vprevin
0 Replies

5. UNIX for Advanced & Expert Users

Help needed with unix script

Hi All, I need to find out the completed transactions count which happened during a particular time duration from a log file. I'm a newbie with scripts and i'm unable to figure out how to get this task done with scripts. I have a transaction log file which has various lines indicating the... (1 Reply)
Discussion started by: haran_3k
1 Replies

6. Shell Programming and Scripting

Unix Script or command Needed

Hi, I am new to Shell Scripting. I need to pick the files from one directory and place them in another directory based on time stamp.It should pick the files if the files is not accessed for 1 hour. Can any one please help me how to work on this. Thanks in Advance. Regards, Prakash (1 Reply)
Discussion started by: kvrprakash
1 Replies

7. Homework & Coursework Questions

Unix Homework Help Needed

#!/bin/sh #Buddy Gibbons #COP3353 - Assignment 4 #4/21/12 file=$1 directories=0 files=0 rfiles=0 xfiles=0 wfiles=0 if then echo "Usage: assignment4.sh <directory_name>" exit fi (1 Reply)
Discussion started by: tennistennis1
1 Replies

8. Homework & Coursework Questions

Linux/UNIX Bash Shell Script trouble help needed!!

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 2. Shell Bash Script 3. !/bin/bash if echo no directory then mkdir -p /home/AC_Drywall elif ; then echo "$dir already exist" fi (4 Replies)
Discussion started by: TomFord1
4 Replies

9. Shell Programming and Scripting

Help needed to create a UNIX Space monitoring script

Hi All, Its urgent.. pls help me out.. I want to create a KSH which should generate a report with the list of users and the files larger than 5 GB created by them in a direcorty and send autogenerated e-mail to them. my input would be users list,directory path and the file size (say 5 GB) ... (11 Replies)
Discussion started by: anman0523
11 Replies

10. Shell Programming and Scripting

Needed SFTP script from windows to UNIX server and from UNIX to windows server(reverse SFTP)

hi guys, i need a script to sftp the file from windows to unix server ....(before that i have to check whether the file exists in the windows server or not and again i have to reverse sftp the files from unix to windows server..... regards, Vasa Saikumar. (13 Replies)
Discussion started by: hemanthsaikumar
13 Replies
ypmake(1M)																ypmake(1M)

NAME
ypmake - create or rebuild Network Information Service databases SYNOPSIS
source_directory] NIS_domain] passwd_file] shadow_file] [map [map ...]] source_directory] NIS_domain] passwd_file] shadow_file] [map ...] Remarks The Network Information Service (NIS) was formerly known as Yellow Pages (yp). Although the name has changed, the functionality of the service remains the same. DESCRIPTION
is a shell script that builds one or more Network Information Service (NIS) maps (databases) on a master NIS server. If no arguments are specified, either creates maps if they do not already exist or rebuilds maps that are not current. These maps are constructed from ASCII files. then executes to notify slave NIS servers of the change and make the slave servers copy the updated maps to their machines (see yppush(1M)). If any maps are supplied on the command line, creates or updates those maps only. Permissible names for maps are the filenames in listed under FILES below. In addition, specific maps can be named, such as or The command can be used instead of (see make(1)). The no longer calls the script but now actually constructs the maps. All NIS commands have been modified to use the instead of The and can co-exist, but it is recommended that you consider using the which is the standard mechanism for building maps on other vendor's machines. Both the and script use five variables: The directory containing the ASCII source files from which maps are constructed. defaults to Causes to construct maps for the specified NIS_domain. defaults to the NIS domain shown by (see domainname(1)). When non-null (null by default), inhibits copying the new or updated databases to the slave NIS servers. Only slave NIS servers in the specified domain receive notification when is null. Does the same thing as and sends a "clear current map" request to the local process. Specifies the full pathname of the ASCII file that should use when building the NIS passwd maps. defaults to Specifies the full pathname of the ASCII file that must use in conjunction with the to build NIS password maps. is ignored if is set to 0 in defaults to The order of arguments passed to is unimportant, but the maps are built or updated in the left-to-right order provided. Refer to ypfiles(4) and ypserv(1M) for an overview of Network Information Service. NOTE: The file contains IPv4 and IPv6 addresses. collects data from the file and builds four maps, namely and The and maps contain IPv4 data and the and maps contain IPv4 and IPv6 data. DIAGNOSTICS
returns one of the following exit codes upon completion: 0 Normal termination; no problems. 1 One or more unrecognized arguments were passed. 2 The NIS domain name is not set. 3 The subdirectory used to contain maps for a specific NIS domain, does not exist or is not writable. 4 An error was encountered when building at least one of the maps. 5 One or more maps' ASCII files do not exist or are unreadable. EXAMPLES
Create or rebuild the password databases (both the and maps) from and use to copy the databases to any slave NIS servers in the default NIS domain: Create or rebuild the hosts databases from but do not copy the databases to any slave NIS servers: Create or rebuild the network maps from and copy the maps to any slave NIS servers in NIS domain AUTHOR
was developed by Sun Microsystems, Inc. FILES
SEE ALSO
domainname(1), make(1), makedbm(1M), ypinit(1M), yppush(1M), ypserv(1M), group(4), hosts(4), netgroup(4), networks(4), passwd(4), proto- cols(4), publickey(4), rpc(4), services(4), ypfiles(4). ypmake(1M)
All times are GMT -4. The time now is 03:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy