Linux Command Guide

Search and explore various Linux commands.

Ask AI

Summarize the situation you want to resolve in up to 300 characters and ask the AI which commands you need.

Search freely

Click on the desired category to filter the commands. You can also enter a keyword to search for specific content.

grep

grep -i: Case-Insensitive Text Search

The grep command is a powerful tool for searching for specific patterns within files. The `-i` option, in particular, makes the search case-insensitive, which is useful for finding matches of 'Error', 'error', 'ERROR', and other variations all at once. It's commonly used for log file analysis, code searching, and more.

Learn more

grep

grep: Search for Patterns in Files and Display Line Numbers

grep is a powerful command for searching specific patterns in text files. The '-n' option displays the line number along with the matching lines, making search results clearer. It is useful for various tasks such as log analysis and code debugging.

Learn more

grep

grep -v: Find Lines Excluding a Specific Pattern

The `grep -v` command is a powerful text processing tool that outputs only lines that do not match a specified pattern. It leverages the 'invert-match' functionality of the `grep` command, making it highly useful for filtering specific information, such as excluding error messages from log files or removing comments from configuration files.

Learn more

grep

grep -l: List Files Containing Matching Patterns

The `grep -l` command outputs only the names of files that contain text matching a specified pattern. It does not display the file content itself, making it useful for quickly identifying which files contain a particular pattern. It can be used in conjunction with other `grep` options, such as recursive directory traversal or case-insensitive matching.

Learn more

head

head: Display the beginning of a file

The head command outputs the beginning part (defaulting to the first 10 lines) of a file or standard input. It is useful for quickly understanding the content of large files by allowing you to specify the number of lines or bytes to output.

Learn more

hexdump

hexdump: Output Hexadecimal Dump of a File

The hexdump command is a tool that outputs the contents of a file in hexadecimal format. It is useful for analyzing the structure of binary files or for identifying invisible special characters (such as newlines, tabs, etc.) in text files.

Learn more

iconv

iconv: Character Encoding Conversion

iconv is a powerful command-line utility used to convert text from one character encoding to another. It can process file contents or standard input and supports a wide range of encoding formats.

Learn more

join

join: Merge Common Fields of Two Files

The join command merges lines of two sorted text files based on a specified common field and outputs the result to standard output. It functions similarly to a JOIN operation in databases, combining corresponding lines from each file to create new lines.

Learn more

jq

jq: Processing JSON Data

jq is a powerful tool for efficiently processing and transforming JSON data on the command line. It is used to filter, slice, map, and transform JSON data, making it easy to extract desired information even from complex JSON structures. It is frequently used with other commands via pipes (|).

Learn more

less

less: Freely Explore Text File Content

The `less` command displays the content of text files page by page and is a powerful paginator that, unlike `more`, allows you to freely navigate file content forwards and backwards. It is useful for efficiently reading large files or log files.

Learn more

lesspipe

lesspipe: Input preprocessor for less

`lesspipe` is an input preprocessor script that extends the functionality of the `less` command, allowing you to view various file formats such as compressed files, archives, and PDFs directly with `less`. It works by calling `lesspipe` before `less` opens a file, via the `LESSOPEN` environment variable, to pipe the file's content. This enables users to instantly inspect file contents without the need for additional steps to decompress or convert them.

Learn more

meld

meld: Visual File/Directory Comparison and Merging Tool

meld is a graphical user interface (GUI) tool used to visually compare and merge two or three files or directories. It is very useful for code reviews, checking changes before and after applying patches, and resolving version control conflicts.

Learn more
previous Page 3 / 6 Next