Search and explore various Linux commands.
Summarize the situation you want to resolve in up to 300 characters and ask the AI which commands you need.
Click on the desired category to filter the commands. You can also enter a keyword to search for specific content.
awk: Defining Variables and Text Processing
awk is a powerful text processing tool, and the -v option is used to define external variables before script execution. These variables can be accessed within the awk script, enabling flexible data processing.
awk -F: Specify Field Separator
awk is a powerful text-processing tool used to find, process, and manipulate data from files or streams. The `-F` option specifically allows you to define the delimiter used to separate fields in input records, enabling easy parsing of complex data structures and extraction or manipulation of desired fields. This is an essential feature when working with various data formats like CSV and log files.
awk-gsub: Global String Substitution
The `gsub` function within the `awk` command is used for globally substituting all occurrences of a pattern matching a specific regular expression with another string. It is highly useful for batch changes to patterns that appear multiple times in file content or streams.
awk print: Outputting Text Data
A guide to the `print` statement within the `awk` command for outputting data. `print` is one of the core functionalities of `awk` scripts, used to send processed text from files or streams to standard output. It allows for flexible output of specific fields, entire lines, or custom strings.
base64: Data Encoding/Decoding
The base64 command is used to encode binary data into an ASCII string format, or to decode an encoded string back into binary data. It is commonly used for safely transmitting binary data in email attachments or over the web.
cat Command Guide: View and Concatenate File Contents
`cat` command is used to read one or more files and display their content to standard output (usually the terminal screen). It is an abbreviation of 'concatenate', and it also provides the function to concatenate files and output them. Learn various ways to use the `cat` command through this guide.
cmp: Compare two files byte by byte
The `cmp` command compares two files byte by byte, reporting the first differing location and line number. It is useful for quickly checking if simple binary or text files are identical.
col: Filtering Control Characters
The col command filters reverse line feeds and other control characters from an input stream, converting them into plain text. It is commonly used to process the output of `man` pages or other formatted text to improve readability.
column: Format text into columns
The column command reformats text into columns. It's often used to make the output of other commands more readable by presenting it in a tabular format. It supports specifying delimiters and automatically adjusting column widths.
comm: Compare common and unique lines of two sorted files
The comm command compares the contents of two sorted files and outputs lines unique to each file and lines common to both, divided into three columns. It is useful for merging or de-duplication tasks.
csplit: Split files based on context
The csplit command is used to split a file into multiple smaller files based on specific patterns (regular expressions) or line numbers. It is useful for analyzing or managing large log files or source code by dividing them into specific sections.
cut: Extracting Specific Characters or Fields from Text Files
The `cut` command is used to extract specific portions (characters, bytes, fields) from each line of text files or standard input and output them to standard output. It is particularly useful for data processing and report generation when selectively extracting specific columns.