Category: File & Directory

Linux Location and File Finding Command

linux locate Syntax Explain Linux locate command is used to find eligible documents or directories in the database. When locate is first executed, it establishes...

grep show lines before and after

Usually when searching for keywords, we need to look at the keyword context information, all of which use -A, -B and -C parameters. Show num...

linux grep regex examples

Grep regex matches the search content according to the specified rule pattern, which can help us find the content we need precisely. Syntax: grep -E...