If the program is in source code and stored in a file, use the 'cat' command to list out its contents.
Use the 'grep' command
There are many ways to do this, but the fastest and easiest is to use the 'uptime' command, which will tell you in a summary line how many users are logged in.
ls -lR directory
A command menu.
A Unix filter is a command pattern that allows the output of one command to be "piped" into the input of the next command. Commands like 'ls' which list a directory are not filters since they only generate output. Filter examples are grep, sed, sort, uniq, awk. Commands in Unix are usually filters unless they only create output, like 'ls', 'vi', etc.
The 'head' command will list out certain number of lines in a file from the beginning. The standard is to list the first 25 lines, but you can change that: head -100 myfile will list out the first 100 lines of myfile.
tail -10 anyfile | wc
For windows: dir *.doc For Unix/Linux: ls *.doc
"gettimeofday" is a command used in Linux and Unix, thus not capitalized. If one wishes to find information on it, the person should look for a manual or a list of Linux/Unix commands with definitions.
A "process" is a program. In multitasking environments such as Unix or Windows - in fact, in most modern operating systems - the computer can run multiple processes at the same time. Note that not all of such processes need to have a visible window - some can be hidden from the user, until you use a special tool or command to list the processes.
In Linux: ls In Windows: dir
The one I use most often is: ls -lt This sorts the files by most recent date first.