Sponsored Content
Operating Systems Solaris WC -l does not count all the lines in a file? HELP Post 302499317 by Rajesh_Apple on Thursday 24th of February 2011 04:34:55 AM
Old 02-24-2011
Once completed the information into the file, press enter , save and exit.
then check wc -l is working properly
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Count number of lines in Binary file

Hi Friends Please help me out to count number of lines in binary file. It gives some wrong(less) using wc -l. Is there any other way to count lines of binary file. Thanks. (3 Replies)
Discussion started by: vanand420
3 Replies

2. Shell Programming and Scripting

count lines of file

dear all, i want to count the lines of a flat(text) file using awk.i have tried with {print NR} but its taking lot of time for a big file like 2GB file size. so i want better efficiency...so can any body please help me with some other and better awk code? Regards, Pankaj (15 Replies)
Discussion started by: panknil
15 Replies

3. Programming

to count the number of commented lines in a file

can someone guide me how to have a C pgm to count the number of commented lines? (3 Replies)
Discussion started by: naan
3 Replies

4. Shell Programming and Scripting

Count lines between two patterns inside a file

Hi, Im doing a script to find the number of lines included inside a file newly. These lines are in between #ifdef FLAG1 and #else or #endif or #else and #endif. I tried like this, awk '/#ifdef Flag1/,/#e/{print}' aa.c | wc -l awk '/#ifndef Flag1/,/#endif/{print}' aa.c | awk... (6 Replies)
Discussion started by: priyadarshini
6 Replies

5. UNIX for Dummies Questions & Answers

Count of Number of Lines in a File

Dear Members, I want to count the number of lines in a file; for that i am using the following command : FILE_LINE_COUNT=`wc -l $INT_IN/$RAW_FILE_NAME` if i do an echo on FILE_LINE_COUNT then i get 241 /home/data/testfile.txt I don't want the directory path to be displayed. Variable... (1 Reply)
Discussion started by: sandeep_1105
1 Replies

6. Shell Programming and Scripting

Count the number of lines in a file with one condition

Hi Everyone, 1.txt Mon 08 Feb 2010 12:30:44 AM MYT;1265560244;e164:0000116047275464;T;Central;0; Mon 08 Feb 2010 12:30:46 AM MYT;1265560246;e164:0000116047275464;T;Central;0; Mon 08 Feb 2010 12:30:48 AM MYT;1265560248;e164:0000116047275464;T;Central;0; Mon 08 Feb 2010 12:30:50 AM... (1 Reply)
Discussion started by: jimmy_y
1 Replies

7. Shell Programming and Scripting

Trying to do a count on multiple lines in a file

Guys I am having a problem with being able to do a count of entries in a file. What I am trying to get a count of the total number of members that are listed in the files. So I need to pull the number of the lines after members. I tried using sed but it only seems to count the first... (7 Replies)
Discussion started by: scottzx7rr
7 Replies

8. Shell Programming and Scripting

Help with script to read lines from file and count values

Hi, I need some help with a script I'm trying to write. I have a log file containing references to a number of different webservices. I wish to write a script that will list the webservices with a count as to how many times they appear in the log. An example of the log file content: ... (2 Replies)
Discussion started by: gman2010
2 Replies

9. Shell Programming and Scripting

count lines in file to variable

I have a text file in which you need to identify the number of lines that looks like this: awk '{x + +} END {print x}' filename The problem is that I do not know how this data to any variable in which then need to continue to work in a cycle for .. do not know someone help? Sorry for my... (4 Replies)
Discussion started by: gizmo16
4 Replies

10. Shell Programming and Scripting

If file exists count lines

Hello, Currently I have: FILE=/home/file.txt if ; then echo "File $FILE exists" else echo "File $FILE does not exist" fi exit I would like to make it such that if the file *does* exist, it performs a wc -l count of the file and then if the count is greater than 3 performs... (3 Replies)
Discussion started by: holyearth
3 Replies
xjoin(8)						      System Manager's Manual							  xjoin(8)

NAME
xjoin - Graphical user interface program to configure DHCP server SYNOPSIS
/usr/bin/X11/xjoin [-fg] [-bg] [-geometry geometry] [-display display] OPTIONS
Specifies a different foreground color Specifies a different background color Defines the initial window geometry; see the X(1X) reference page Specifies the display to use; see the X(1X) reference page DESCRIPTION
The xjoin program is a graphical user interface program that enables you to configure the DHCP server and server databases. For more information on DHCP, see dhcp(7). To start xjoin, enter the following command: # /usr/bin/X11/xjoin Click on one of the tabs to get started. To exit xjoin, select File then Exit. Click on Yes in the Verify dialog box to confirm that you want to exit the program. The Main Window Each tab along the top of the Main window represents a category of parameters that you set to configure systems on your network. When you select a tab, the parameters for the subject of the tab are listed. For the Server/Security, Subnets, Nodes, and Groups tabs, the window is separated into three parts. On the left is the subject to be con- figured, in the middle are the parameter choices for the subject, and on the right is the field into which you enter a value for a parame- ter. When you select a parameter in the middle of the window, you enter a value for it into a field on the right side of the window. For the Active IP Snapshot and Preload MAC addresses, the window is divided into two parts. On the left are those addresses that have been configured. On the right are the corresponding parameters for the configured addresses. Entering Information into Fields You can enter the following information in a field: Descriptive text, like an IP address Time in hours, minutes, and seconds A true or false selection Where there is more than one value field, press Tab to move to the next field. To delete information in a field, select the text and press the Delete key. As you add or revise information in a field, the information is automatically saved in memory. However, to update the database with the changes you have made, click on the Update button. For some subjects, you can add more than one record, such as when you are adding certain client configurations. When you want to add a new record, select New Record on the left side of the window. If there is only one possible record for a subject, New Record does not appear. To print the contents of a record, select Print. RESTRICTIONS
You must have superuser privileges to use xjoin. A cluster member should never be a DHCP client. It should always use static addressing. If a cluster is to support a DHCP server, there can be only one DHCP server for all the cluster members using a common database with failover. FILES
Specifies the command path. SEE ALSO
Files: bootptab(4) Information: X(1X), DHCP(7) xjoin(8)
All times are GMT -4. The time now is 10:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy