Thanks for the comments. I'm not understanding how the field 4 & 6 numbers are working -- how are these counted?
Assuming I have other lines in these files, will this replace those values too, or only where I have the stub values?
I'd like to only replace the stub values in this case. The old files may have lines that also exist in the new files, whose values I don't want to transpose. It seems to only have replaced the stub values ... how?
Last edited by spacegoose; 07-30-2019 at 12:19 AM..
I need to find all the files that have group Read or Write permission or files that have user write permission.
This is what I have so far:
find . -exec ls -l {} \; | awk '/-...rw..w./ {print $1 " " $3 " " $4 " " $9}'
It shows me all files where group read = true, group write = true... (5 Replies)
Hi Guys,
I have a text file with ";" like separator
F1;F2;F3;F4;F5
444;100041;IT;GLOB;1800000000
444;100041;TM;GLOB;1000000000
444;10300264;IT;GLOB;2000000000
444;10300264;IT;GLOB;2500000000
I have to sum the cullums F5 for same F2 and F3 collums
The result must be:
... (7 Replies)
hi people;
the similar topic is being opened in here and here but i have confused with following condition. so i wanted to open a seperate topic.
from my file.txt:...
...
...
110105-16:04:04 192.168.1.1 7.1j Port_NODE_MODEL_M_1_8 stopfile=/tmp/10544... (0 Replies)
- I have two files (File 1 and File 2) and the contents of the files are mentioned below.
- I am trying to compare the values of Column1 of File1 with Column1 of File2. If a match is found, print the corresponding value from Column2 of File1 in Column5 of File2.
- I tried to modify and use... (10 Replies)
Hi All,
I have a pipe seperated file. I need to add the values in second and third columns with group by on first column.
MYFILE_28012012_1115|47|173.90
MYFILE_28012012_1115|4|0.00
MYFILE_28012012_1115|6|22.20
MYFILE_28012012_1116|47|173.90
MYFILE_28012012_1116|4|0.00... (3 Replies)
Hi,
I need a shell script, which would search the result values from another files.
1)execute " select column1 from table_name" query on the table.
2)Based on the result, need to be grep from .wft files.
could please explain about this.Below is the way i am using.
#!/bin/sh... (4 Replies)
Hi,
I was having the following issue
cat input
hello1, my name is unix.com. I am awesome. Hope you know this, hello2!
cat hello1.txt
Hi Friends
Hi Folks
Hi Well-Wishers
cat hello2.txt
Honey
Sweety
Darling
Required Output (8 Replies)
I want to replace the third and fourth lines of a 2nd file by the first two lines of a file.
Input:
file_1
file_1.line_1
file_1.line_2
file_2
file_2.line_1
<file_2.line_2_blank>
file_2.line_3
file2.line_4
<file_2.line_5_blank>
Output:
file_2.line1
<file_2.line_2_blank>... (1 Reply)
Discussion started by: arpagon
1 Replies
LEARN ABOUT ULTRIX
ypsetup
ypsetup(8yp)ypsetup(8yp)Name
ypsetup - set up the yellow pages (YP) environment
Syntax
/usr/etc/ypsetup
Description
A local area network must be set up on your system before you can set up YP. You must know your system's default YP domain name and
whether your system will be a master server, slave server, or client. If your system is to be the master server for your YP domain, be
sure no other master has been established and be sure the files to be distributed are in the directory Note that the files to be distrib-
uted should be modified from the original files by removing the root entry in the file.
If your system is not to be the master server, be sure a master already exists for your YP domain. Once you know this information, run
with the system in multiuser mode and answer its questions.
Once YP is installed on a machine, it cannot be used until the file is modified to contain YP entries on the desired database lines. The
command reminds a user to run or edit the file manually.
Files
Files that Start the YP daemons
Clock daemon database file
Commands pertinent to a specific system
Default YP Map Files
Group database
Host name database
Sendmail alias database
Network group aliases
Network name database
Password file
Protocol name database
Rpc name database
Service name database
See Alsodomainname(1yp), ypwhich(1yp), svc.conf(5), svcsetup(8), yppasswdd(8yp), ypserv(8yp), ypxfr(8yp)
Guide to the Yellow Pages Service
ypsetup(8yp)