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.

diff

diff: Compare Differences Between Two Files (Unified Format)

The diff command analyzes and outputs the differences between two files or directories. Specifically, the `-u` (Unified) option displays results in a unified format that shows changed lines along with their surrounding context, making it very useful for reviewing code changes or understanding change history in version control systems. This format helps to intuitively understand what parts have been added, deleted, or modified.

Learn more

diff3

diff3: Compare and Merge Three Files

The diff3 command is used to compare three files line by line to identify differences and, if necessary, merge them. It is particularly useful for resolving conflicts in version control systems.

Learn more

echo

echo Command Guide: Printing Text and Variables

The `echo` command is used to display a string of text to the standard output (usually the terminal screen). It is widely used in shell scripts to show messages to the user, check variable values, append content to files, and more. This guide will help you learn the basic usage and useful options of the `echo` command.

Learn more

ed

ed: Line-Oriented Text Editor

ed is the standard line-oriented text editor used in Unix-like systems. It is used for editing text files in the terminal without a graphical interface and can be useful for automated text processing in scripts or pipelines.

Learn more

egrep

egrep: Search Text with Extended Regular Expressions

egrep is a variant of the grep command that, by default, uses Extended Regular Expressions (ERE) to search for patterns in files and print matching lines. It provides the same functionality as `grep -E`, allowing you to use metacharacters like `+`, `?`, `|`, and `()` directly without escaping, making it useful for complex pattern matching.

Learn more

emacs

emacs: A Powerful and Extensible Text Editor

Emacs is a core part of the GNU Project, a highly powerful and extensible text editor. It can be used not just as a simple editor but also as an Integrated Development Environment (IDE). Through Emacs Lisp, almost all functions can be customized and extended. It is available in both terminal and GUI environments.

Learn more

ex

ex: Line-Oriented Text Editor

ex is the line-oriented mode of the Vi IMproved (Vim) editor, primarily used for scripting and automated text processing. It offers powerful features for editing specific lines in a file or batch modifying multiple files, making it more suitable for non-interactive scripting than interactive use.

Learn more

expand

expand: Convert Tabs to Spaces

The expand command converts tab characters in an input stream or file to space characters. It is primarily used to standardize the formatting of code or text files, or to improve readability in environments where tab characters are not displayed correctly.

Learn more

fgrep

fgrep: Fixed String Search

fgrep is a command-line utility that searches for fixed strings within files. It is equivalent to grep -F and can be faster than grep for literal string searches because it avoids the overhead of regular expression parsing.

Learn more

fmt

fmt: Format Text Paragraphs

The fmt command is used to reformat paragraphs of text files or standard input, adjusting line breaks to fit a specified width. It is particularly useful for improving the readability of emails, code comments, and plain text documents.

Learn more

fold

fold: Text Wrapping and Line Limiting

The fold command is used to wrap each line of input text to a specified width. It is useful for making long text files more readable or for processing text in environments with specific width limitations.

Learn more

gawk

gawk: A Powerful Text Processing Tool

`gawk` is an implementation of GNU Awk, a powerful scripting language used to search for patterns in text files and perform specified actions on lines that match those patterns. It is used for various purposes such as data extraction, report generation, and text transformation.

Learn more
previous Page 2 / 6 Next