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.
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.
curl: HTTP Requests and File Transfer (Silent Mode)
`curl` is a powerful command-line tool for transferring data using various protocols (HTTP, HTTPS, FTP, etc.). Specifically, the `--silent` or `-s` option suppresses unnecessary output such as progress meters or error messages, making it useful for obtaining clean output in scripts or automated tasks. The `curl-silent` you inquired about is not an independent command, but often refers to the practice of using the `curl` command with the `-s` option.
curl -I: Check HTTP Header Information
curl -I is used to fetch and display only the response headers from a web server. This is useful for quickly checking the status of web resources, cache information, server types, and more. Since it doesn't download the actual content, it's fast and efficient.
curl-verbose: Detailed output of curl's communication
`curl-verbose` refers to the concept of using the `-v` or `--verbose` option with the `curl` command to display detailed information about the HTTP(S) request and response process. This mode allows you to obtain in-depth information about network communication, including DNS resolution, TCP connections, SSL/TLS handshakes, request headers, response headers, and data transfer, making it extremely useful for debugging and troubleshooting.
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.
date Command Guide: Displaying and Setting Date and Time
The `date` command is used to display the system's current date and time, or to set them. It's utilized in various situations, such as generating timestamps in shell scripts or recording time in log files. Master the various uses of the `date` command with this guide.
dd: File Conversion and Copying
The dd command is a powerful utility used for converting and copying files. It is primarily used for low-level data manipulation such as creating disk images, backing up and restoring partitions, creating bootable USB drives, and zeroing out file contents. Extreme caution is advised as incorrect usage can lead to data loss.
ddrescue: Recovering Data from Damaged Media
ddrescue is a tool for recovering data from damaged hard drives, CD-ROMs, DVDs, and other media. It is used to safely copy data from damaged media to another location by skipping bad sectors and copying as much data as possible.
df: Check Disk Space Usage
The df command reports the disk space usage of file systems. It displays the total space, used space, available space, and usage percentage in a human-readable format, helping system administrators quickly assess disk status.
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.
diff -r: Recursive Directory Comparison
The `diff` command is used to find differences between two files. Adding the `-r` (or `--recursive`) option allows it to recursively compare the contents of two directories, reporting in detail which files differ or exist only in one of the directories. This is extremely useful for tracking and managing changes in codebases, configuration files, or data directories.
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.