I came across a program called wc, which prints the number of bytes, words, and lines in files. Now my intention is to use it to determine if a process is actually running on my computer. If it is, it should print the number of bytes in the running process. Otherwise it should print 0. But I can use a fictitious process and it still prints bytes:
$ ps -ef | grep dfdsfdf | wc -c
74
Where is that 74 coming from?
print the number of bytes in the running process
? The memory it is consuming? The size of the executable on disk?