Use the nm command to determine the number of times the strcmp call is used in the libstdc++.a library.
Execute the nm /usr/lib/libstdc++.a 2> /dev/null | grep "strcmp" | wc -l command to display the number of times the strcmp call occurs in the given library. You can determine the number of times this call appears in all of the libraries by running the nm /usr/lib/* 2> /dev/null |grep " strcmp" | wc -l command. The following are sample runs of these commands on our system.
```
$ nm /usr/lib/libstdc++.a 2> /dev/null | grep " strcmp" | wc -l
1
$ nm /usr/lib/* 2> /dev/null | grep " strcmp" | wc -l
621
$
```
(Note that 2> does not work under the TC shell.
You might also like to view...
How does polymorphism enable you to program “in the general” rather than “in the specific”? Discuss the key advantages of programming “in the general.”
What will be an ideal response?
In order to add and join tables in a select query, depending on how a table is created, the primary key fields:
A) must be defined. B) may or may not be defined. C) must be defined as a single field primary key. D) must not be defined.
What command can be issued within Windows RE to enable networking?
A. ifconfig start B. netconf load C. wpeinit D. netsh if up
Some viruses are considered to be benign.
Answer the following statement true (T) or false (F)