GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  COUNT (1)

NAME

count -- count the number of elements of an array

    Synopsis

count $VARIABLE

    Description

count prints the number of arguments that were passed to it. This is usually used to find out how many elements an environment variable array contains.

count does not accept any options, including -h or --help.

count exits with a non-zero exit status if no arguments were passed to it, and with zero if at least one argument was passed.

    Example

count $PATH Returns the number of directories in the users PATH variable.

count *.txt
  Returns the number of files in the current working directory ending with the suffix ’.txt’.

Search for    or go to Top of page |  Section 1 |  Main Index


Version 2.2.0 COUNT (1) Mon Jul 6 2015

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.