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.
Mastering the find Command
This is a guide to the `find` command, which is used to search for files and directories within the file system in Linux. You can efficiently find the files you want by combining various conditions and actions.
getfacl: Check File Access Control Lists (ACLs)
The getfacl command is used to view the Access Control Lists (ACLs) set for files and directories. It allows for more granular permission settings than traditional Unix permissions (rwx) and is useful for managing individual access rights for specific users or groups.
gio: GIO Command-line Tool
gio is a command-line tool for performing file and directory operations through GLib's GIO (Gnome Input/Output) virtual file system. It supports various operations such as copying, moving, deleting files, checking information, mounting/unmounting, and is particularly useful in GNOME environments.
link: Create a hard link to a file
The `link` command is used to create a hard link to an existing file. A hard link shares the same inode as the original file, acting as another name that points to the same data within the file system. If the original file is deleted, the data remains accessible as long as a hard link to it exists.
ln: Create File Links (Symbolic Links)
The ln command is used to create links to files or directories within the file system. It is primarily used to create symbolic links (soft links) that allow access to the original file by a different name or path without changing the original file's location. It supports two types of links: hard links and symbolic links.
locate: Quickly Find File Locations
The `locate` command is a utility that quickly finds the location of files on your system. Unlike the `find` command, which scans the file system in real-time, `locate` uses a pre-generated database (`mlocate.db`) for searching, providing much faster results. This database is typically updated periodically via the `updatedb` command.
ls: List files and directories in detail (-l option focus)
ls is the most basic command in Linux for listing files and directories. The -l option, in particular, is essential for system administration and file analysis as it outputs detailed information such as file permissions, owner, group, size, and last modification time in a long format. This guide focuses on the usage of the -l option with the ls command.
lsattr: View File Attributes
The lsattr command lists the special attributes set on files in Linux ext2, ext3, and ext4 file systems. These attributes affect how files behave, separate from regular file permissions, and are typically set using the chattr command.
lsblk: Guide to Displaying Block Device Information
The lsblk command displays information about all block devices (hard disks, SSDs, USB drives, etc.) on the system in a tree-like format. It is useful for quickly understanding physical disk information such as device name, size, mount point, and type.
md5sum: Calculate and Verify File MD5 Checksums
The md5sum command is used to calculate and verify the MD5 (Message-Digest Algorithm 5) checksum of files. It is useful for checking file integrity or ensuring that a file has not been corrupted during transmission.
mkdir Command Guide: Create New Directories
`mkdir` command (make directory) is used in Linux and Unix-like operating systems to create new directories (folders). It is an essential command for organizing and tidying up the file system. Through this guide, learn the basic usage and useful options of the `mkdir` command.
mkfifo: Create a Named Pipe
`mkfifo` is a command used to create named pipes (FIFOs, First-In, First-Out). A named pipe is a special file that exists in the file system and acts as a communication channel for data exchange between different processes. Unlike regular pipes, named pipes can be accessed via a file path, making it easier for independent processes to communicate.