If it's empty character or tab delimeted. hmm.. Is it possible to put the field 1 and field 2 of file 2 into field 6 and 7? all i want is to put the data of field 1 and field 2 of file2.txt on file1.txt if Field 4 of file1.txt = Field 3 of file2.txt
Please advise,
Thanks,
---------- Post updated at 05:44 PM ---------- Previous update was at 05:33 PM ----------
Hi Sir RavinderSingh13,
Your output is same with file2.txt
Thanks,
---------- Post updated at 06:18 PM ---------- Previous update was at 05:44 PM ----------
First off, this is as much as I know about Unix: its an operating system. Now, I know it goes a tad deeper than that, so first off, what exactly is Unix? Next, im freakin sick of everything microsoft crashing on me, so Id like to make Unix my OS, but I dont want to lose anything but internet... (5 Replies)
Hi I am going to migrate our datawarehouse system from HP Tru 64 Unix to the Red Hat Linux.
Inside the box, it is running around 40 cron jobs; inside each cron job, it is calling other shell script files, and the shell script files may again call other shell script files or ctl files(for... (1 Reply)
Hi,
Could someone please assist on a quick way of How to extract data from indexed files (ISAM files) maintained in an UNIX(AIX) server.The file data needs to be extracted in flat text file or CSV or excel format .
Usually we have programs in microfocus COBOL to extract data, but would like... (2 Replies)
the sorting is based on name of file,
file size
modification time stamps o f file
it should dislay the output in the following format
"." and ".." enteries should be ignored
please give some idea how to do it (1 Reply)
I need a script file for backup (zip or tar or gz) of old log files in our unix server (causing the space problem). Could you please help me to create the zip or gz files for each log files in current directory and sub-directories also?
I found one command which is to create gz file for the... (4 Replies)
Hi All,
I;m a newbie here, Seeking for your assistance regarding on how to bash the 6th and 7th fields of file2 into 2th and 3rd fields of file1 then add fields in the last line of file2 if it's match, if not they will only display the records.
Ex.
File1
a,1,2,b,c,d,e,USA... (5 Replies)
Hi Everyone,
Good Day, I'm a newbie on scripting, I would like to seek you for assistance regarding on how to bash the 1st file into 2nd file and output the match record.
Sample:
File1.csv
JuanDelaCrus<tab>USA<tab>CANADA
TwoDelaCrus<tab>SG<tab>California
File2.csv... (2 Replies)
Hi Everyone,
Seeking for your assistance on how to bash the file 1 to file 2 records and output the same records with specific field to display to file3.
Example: Imagine we have many Files and records in File 1 and the File2 is only 1 file but many records.
File1... (3 Replies)
Hii,
Could someone help me to append string to the starting of all the filenames inside a directory but it should exclude .zip files and subdirectories.
Eg.
file1: test1.log
file2: test2.log
file3 test.zip
After running the script
file1: string_test1.log
file2: string_test2.log
file3:... (4 Replies)
i use the split command to split a one terabyte backup file into 10 chunks of 100 GB each. The files are split one after the other. While the files is being split, I will like to scp the files one after the other as soon as the previous one completes, from server A to Server B. Then on server B ,... (2 Replies)
Discussion started by: malaika
2 Replies
LEARN ABOUT NETBSD
rpc.yppasswdd
RPC.YPPASSWDD(8) BSD System Manager's Manual RPC.YPPASSWDD(8)NAME
rpc.yppasswdd -- NIS update password file daemon
SYNOPSIS
rpc.yppasswdd [-d directory] [-noshell] [-nogecos] [-nopw] [-m arg1 [arg2 ...]]
DESCRIPTION
rpc.yppasswdd must be running on the NIS master server to allow users to change information in the password file.
The options are as follows:
-d directory Change the root directory of the password file from ``/'' to directory. It is important to create the binary database
files (pwd.db and spwd.db) when using this switch or the password change will fail. The databases need to be created
only once with the following command:
pwd_mkdb -d directory directory/etc/master.passwd
-noshell Don't allow changes of the shell field in the passwd file.
-nogecos Don't allow changes of the gecos field in the passwd file.
-nopw Don't allow changes of the password in the passwd file.
-m arg1 [arg2 ...]
Additional arguments to pass to make in /var/yp.
FILES
/etc/passwd
/etc/master.passwd
SEE ALSO chpass(1), passwd(1), hosts_access(5), nis(8), ypbind(8), ypserv(8)AUTHORS
Mats O Jansson <moj@stacken.kth.se>
BSD February 26, 2005 BSD