Help and Find

Updated at 2013-03-08 09:13

This note contains Unix commands related to using help and finding files. These work on most distributions, but sometimes you need to install the program.

# This is the single most powerful command in Unix.
# View manual page of command.
# Usually works with third party applications.

# Print related commands
apropos <STRING>

# Locating a file on computer
locate <FILENAME>

# Find files and sort the list by modification time
find -printf "%C@ %p\n"|sort

# Search inside files
# You can also filter command output with piping.
ps -ax | grep <REGEX>