Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Where can I find the program that runs the -wc command? Post 303034062 by Circuits on Wednesday 17th of April 2019 12:40:38 PM
Old 04-17-2019
Where can I find the program that runs the -wc command?

Hey guys, I was wondering. When I enter a command in the terminal -wcl for a word count, where is that program located in the kernel?
 

9 More Discussions You Might Find Interesting

1. HP-UX

why does my program runs in conflicting mode?

my pragram runs with 3 threads, 2 work threads, one main thread. the 2 work threads run with the same mode and the same code. but now, one of the work thread can't work, and it uses the cpu more than 80%, sometimes uses 100% cpu resource. the another work thread work well. when I viewed the HP... (2 Replies)
Discussion started by: happylife365
2 Replies

2. Shell Programming and Scripting

Check if a program runs on unix

Hi guys, I had a question last week where I asked how I check from a website hosted on windows if a process is running on on of our unix servers. Vino and Shell Life kindly replied with a perl script: if qm') -gt 0 ] ; then echo "Site is up" else echo "Site is down." # start the... (1 Reply)
Discussion started by: drchris
1 Replies

3. UNIX for Advanced & Expert Users

Minutes a program runs.

I have a ksh script that executes a program with a predetermined timeout in minutes. If the program takes longer then the timeout then it still completes with a return code of 0. :confused: I would like to determine how long the program ran. Then if it takes longer than the timeout I would... (7 Replies)
Discussion started by: 2dumb
7 Replies

4. Shell Programming and Scripting

command runs, no output

I have a script that searches for specific information from log files. #!/bin/sh sed -n '/*C/,/END/p' /sn/log/OMlog* > crit.out sed -n '/REPT INITIALIZATION/,/err:/p' /sn/log/OMlog* > switchcc.out ./start.awk /sn/log/OMlog* > ARs.out ./end.awk /sn/log/OMlog* > ARe.out cat crit.out... (1 Reply)
Discussion started by: grinds
1 Replies

5. Shell Programming and Scripting

How long screen command runs?

Does screen command run forever? Suppose I have following command inserted at my putty shell followed by screen # screen # export JAVA_HOME=/usr/java/jdk1.6.0_21 # export ANT_HOME=/usr/ant # export PATH=$PATH:$JAVA_HOME/bin:$ANT_HOME/bin # export... (0 Replies)
Discussion started by: ninadgac
0 Replies

6. Programming

getting Segmentation Fault (core dumped) error but Program runs fine.

i am executing following program int main() { char str; FILE * fp; int i=0; ... (4 Replies)
Discussion started by: bhavesh.sapra
4 Replies

7. Shell Programming and Scripting

crontab runs only one line in iterated program

I have a crontab as below: PATH=/usr/local/sbin:/bin/:..... etc etc 0 8 * * * /home/user/jobs/poll.sh 2>/dev/null 1>/dev/null Now the script poll.sh is called at correct time and executes. This is how poll.sh looks like #!/bin/bash... (2 Replies)
Discussion started by: chakrapani
2 Replies

8. Homework & Coursework Questions

create a program that runs two processes linked oven

I need help program in C... :create a program that runs two processes linked oven (1 Reply)
Discussion started by: gizmo16
1 Replies

9. Shell Programming and Scripting

How to return a message after command runs?

I have a script like this: echo "enter filername in lowercase" read -e filername exec 2>&1 echo "type the start date in format MM/DD/YYYY" read -e startdate exec 2>&1 echo "enter the end date in format MM/DD/YYYY" ... (2 Replies)
Discussion started by: newbie2010
2 Replies
Commands Reference, Volume 1, a - c

apropos_Command

  Purpose

   Locates commands by keyword lookup.

  Syntax

   apropos [ -M PathName ] Keyword ...

  Description

   The apropos command shows the manual sections that contain any
of the
   keywords specified by the Keyword parameter	in  their  title.
The apropos
   command  considers each word separately and does not take into
account if a
   letter is in uppercase or lowercase. Words that  are  part  of
other words
   are	also  displayed.  For  example, when looking for the word
compile, the
   apropos command also finds all instances of the word compiler.
The
   database  containing  the  keywords	is /usr/share/man/whatis,
which must
   first be generated with the catman -w command.

   If the output of the apropos command begins with  a	name  and
section
   number,  you  can enter man Section Title. For example, if the
output of the
   apropos command is printf(3), you can enter man  3  printf  to
obtain the
   manual page on the printf subroutine.

   The	apropos  command  is  equivalent to using the man command
with the -k
   option.

     Note: When the /usr/share/man/whatis database is built  from
the HTML
     library using the catman -w command, section 3 is equivalent
to section
     2 or 3. See the man command for further explanation of  sec-
tions.

  Flag

	       Specifies  an  alternative search path. The search
path is
   -M PathName specified by the  PathName  parameter,  and  is	a
colon-separated
	       list of directories.

  Examples

    1. To find the manual sections that contain the word password
in their
       titles, enter:

	 apropos password

    2. To find the manual sections that contain the  word  editor
in their
       titles, enter:

	 apropos editor

  File

   /usr/share/man/whatis	      Contains	the  whatis data-
base.

  Related Information

   The catman command, man command, whatis command.

________________________________________________________________________________

		      Commands Reference, Volume 1, a - c

apropos_Command

  Purpose

   Locates commands by keyword lookup.

  Syntax

   apropos [ -M PathName ] Keyword ...

  Description

   The apropos command shows the manual sections that contain any
of the
   keywords specified by the Keyword parameter	in  their  title.
The apropos
   command  considers each word separately and does not take into
account if a
   letter is in uppercase or lowercase. Words that  are  part  of
other words
   are	also  displayed.  For  example, when looking for the word
compile, the
   apropos command also finds all instances of the word compiler.
The
   database  containing  the  keywords	is /usr/share/man/whatis,
which must
   first be generated with the catman -w command.

   If the output of the apropos command begins with  a	name  and
section
   number,  you  can enter man Section Title. For example, if the
output of the
   apropos command is printf(3), you can enter man  3  printf  to
obtain the
   manual page on the printf subroutine.

   The	apropos  command  is  equivalent to using the man command
with the -k
   option.

     Note: When the /usr/share/man/whatis database is built  from
the HTML
     library using the catman -w command, section 3 is equivalent
to section
     2 or 3. See the man command for further explanation of  sec-
tions.

  Flag

	       Specifies  an  alternative search path. The search
path is
   -M PathName specified by the  PathName  parameter,  and  is	a
colon-separated
	       list of directories.

  Examples

    1. To find the manual sections that contain the word password
in their
       titles, enter:

	 apropos password

    2. To find the manual sections that contain the  word  editor
in their
       titles, enter:

	 apropos editor

  File

   /usr/share/man/whatis	      Contains	the  whatis data-
base.

  Related Information

   The catman command, man command, whatis command.
All times are GMT -4. The time now is 09:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy