Sponsored Content
Full Discussion: Cat of rows
Top Forums Shell Programming and Scripting Cat of rows Post 302277863 by kalius88 on Sunday 18th of January 2009 01:07:19 PM
Old 01-18-2009
Thank you so much. I was trying something like your for, but I didn't really know how I could put my pipelines into my 'get list of files here'.

Anyway that problem belongs to the past, because of you. Thank you.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Difference between cat , cat > , cat >> and touch !!!

Hi Can anybody tell the difference between Difference between cat , cat > , cat >> and touch command in UNIX? Thanks (6 Replies)
Discussion started by: skyineyes
6 Replies

2. Shell Programming and Scripting

cat in the command line doesn't match cat in the script

Hello, So I sorted my file as I was supposed to: sort -n -r -k 2 -k 1 file1 | uniq > file2 and when I wrote > cat file2 in the command line, I got what I was expecting, but in the script itself ... sort -n -r -k 2 -k 1 averages | uniq > temp cat file2 It wrote a whole... (21 Replies)
Discussion started by: shira
21 Replies

3. UNIX for Dummies Questions & Answers

Converting rows into multiple-rows

Hi every one; I have a file with 22 rows and 13 columns which includes floating numbers. I want to parse the file so that every five columns in the row would be a new record (row). For example, the first line in the old file should be converted into three lines with first two lines contain 5... (6 Replies)
Discussion started by: PHL
6 Replies

4. Shell Programming and Scripting

Deleting specific rows in large files having rows greater than 100000

Hi Guys, I need help in modifying a large text file containing more than 1-2 lakh rows of data using unix commands. I am quite new to the unix language the text file contains data in a pipe delimited format sdfsdfs sdfsdfsd START_ROW sdfsd|sdfsdfsd|sdfsdfasdf|sdfsadf|sdfasdf... (9 Replies)
Discussion started by: manish2009
9 Replies

5. Shell Programming and Scripting

Remove 1st two rows and last 2 rows

Hi All, I need to remove 1st 2 line from head and last 2 line from last. I thought it would be possible by using the Head and tail command. But after i am using it is not possible by it. Example:Input file 1 2 3 4 5 Example: Output file 3 But my head and tail command are not... (12 Replies)
Discussion started by: kam786sim
12 Replies

6. Shell Programming and Scripting

Split single rows to multiple rows ..

Hi pls help me out to short out this problem rm PAB113_011.out rm: PAB113_011.out: override protection 644 (yes/no)? n If i give y it remove the file. But i added the rm command as a part of ksh file and i tried to remove the file. Its not removing and the the file prompting as... (7 Replies)
Discussion started by: sri_aue
7 Replies

7. Shell Programming and Scripting

combining cat output and cutting rows

I have a file that contain the following. -D HTTPD_ROOT="/usr/local/apache" -D SERVER_CONFIG_FILE="conf/httpd.conf" I want a shell script, so that after cat filename and apply the shell script I should get the output as follows. /usr/local/apache/conf/httpd.conf ie cat filename |... (7 Replies)
Discussion started by: anilcliff
7 Replies

8. UNIX for Dummies Questions & Answers

merging rows into new file based on rows and first column

I have 2 files, file01= 7 columns, row unknown (but few) file02= 7 columns, row unknown (but many) now I want to create an output with the first field that is shared in both of them and then subtract the results from the rest of the fields and print there e.g. file 01 James|0|50|25|10|50|30... (1 Reply)
Discussion started by: A-V
1 Replies

9. Shell Programming and Scripting

Moving or copying first rows and last rows into another file

Hi I would like to move the first 1000 rows of my file into an output file and then move the last 1000 rows into another output file. Any help would be great Thanks (6 Replies)
Discussion started by: kylle345
6 Replies
netgroup(5yp)															     netgroup(5yp)

Name
       netgroup - list of network groups

Description
       The  file  defines network-wide groups used for permission checking when doing remote mounts, remote logins, and remote shells.	For remote
       mounts, the information in the file is used to classify machines; for remote logins and remote shells, it is used to classify users.   Each
       line of the file defines a group and has the following format:

       groupname member1,...,member_n

       Each member is either another group name or a combination of the host name, user name, and domain name.

       Any  of	the three fields can be empty, in which case a wildcard is assumed.  For example, to define a group to which everyone belongs, the
       following entry could appear in the file:
       universal (,,)

       Field names that begin with something other than a letter, digit, or underscore (such as ``-'') work in the opposite way.  For example:
       justmachines   (analytica,-,suez)
       justpeople     (-,babbage,suez)

       The machine analytica belongs to the group justmachines in the domain suez, but no users belong to it.  Similarly, the user babbage belongs
       to the group justpeople in the domain suez, but no machines belong to it.

       Network groups are part of the Yellow Pages data base and are accessed through these files:

       /etc/yp/domainname/netgroup.dir
       /etc/yp/domainname/netgroup.pag
       /etc/yp/domainname/netgroup.byuser.dir
       /etc/yp/domainname/netgroup.byuser.pag
       /etc/yp/domainname/netgroup.byhost.dir
       /etc/yp/domainname/netgroup.byhost.pag

       These files can be created from using

Files
       /etc/netgroup
       /etc/yp/domainname/netgroup.dir
       /etc/yp/domainname/netgroup.pag
       /etc/yp/domainname/netgroup.byuser.dir
       /etc/yp/domainname/netgroup.byuser.pag
       /etc/yp/domainname/netgroup.byhost.dir
       /etc/yp/domainname/netgroup.byhost.pag

See Also
       getnetgrent(3yp), makedbm(8yp), ypserv(8yp)

																     netgroup(5yp)
All times are GMT -4. The time now is 01:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy