Among the various commands available in Linux, we have summarized useful things.
Ctags is a programming tool that generates an index (or tag) file of names found in source and header files of various programming languages. Depending on the language, functions, variables, class members, macros and so on may be indexed. These tags allow definitions to be quickly and easily located by a text editor, a code search engine, or other utility. Alternatively, there is also an output mode that generates a cross reference file, listing information about various names found in a set of language files in human-readable form.
Creating ctags file
# Ctags (-R option might not work in AIX) ctags -f $HOME/src/ctags -R $HOME/src # Ctags for AIX ctags -w -f $HOME/src/ctags \ /usr/include/*.[c,h] \ $HOME/src/admin/*.[c.h] \ $HOME/src/common/*.[c.h] \ $HOME/src/spp/*.[c.h]
Add ctags to .vimrc
# Find recently modified c files within 1 day find . -name "*.[c,h]" -mtime 1 | xargs -altr
# Monitoring watch -d -n 1 'date'