etags
etags
The etags command is used to generate tags for C, C++, and Objective-C source files. Tags are markers that can be used to quickly navigate to specific locations in a source file.
For example, to generate tags for all of the C source files in the current directory, you would use the following command:
etags -R *.c
To generate tags for all of the C and C++ source files in the current directory, you would use the following command:
etags -R *.c *.cpp
To list the files that will be tagged, you would use the following command:
etags -l
help
breakdown
Last updated