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.
shred: Securely delete file contents
The shred command is used to securely delete file contents by overwriting them multiple times, making them unrecoverable. While regular file deletion may leave data recoverable, shred is useful when dealing with sensitive information.
split: Split Files into Smaller Pieces
The split command is used to split large files into smaller files based on size or line count. This is very useful when dealing with large files, transferring them over a network, or when you only need to process specific parts.
stat: Display file status in a user-defined format
The `stat` command displays detailed status information about a file or file system. In particular, using the `-c` (or `--format`) option allows you to extract file size, permissions, owner, time information, and more in a user-specified format, making it very useful for scripting and report generation.
sum: Calculate File Checksums and Block Counts
The sum command calculates and outputs the 16-bit checksum and block count of a file. It is primarily used for a quick check of file integrity or to quickly compare if a file has been modified.
symlink: Create a Symbolic Link
The symlink command creates a symbolic link (soft link) to a file or directory. It acts as a pointer to the original file's location, and the link will be broken if the original file is deleted. While the `ln -s` command is more commonly used, the `symlink` utility offers fine-grained control over link creation through various additional options.
tee: Send standard input to files and standard output simultaneously
The tee command is a utility that reads standard input, outputs it to standard output, and simultaneously writes it to one or more files. It is commonly used to check intermediate results in pipelines or to save data to multiple files at once. The -a option is used to append to files instead of overwriting them.
touch: Change file access and modification times or create a file
The touch command is used to update the access and modification times of a file to the current time, or to create a new empty file if the file does not exist. The -c option, in particular, is useful for preventing the creation of new files when they don't exist, allowing you to manipulate only the timestamps of existing files.
Guide to the tree Command: Output Directory Structure in Tree Format
`tree` command is used in Linux and Unix-like operating systems to visually display the contents of a specified directory in a hierarchical tree format. It allows you to quickly grasp files and subdirectories, making it very useful for navigating and documenting complex project structures or file systems. In this guide, learn how to install the `tree` command, its basic usage, and various options.
umask Command Guide: Setting Default Permissions for Newly Created Files/Directories
`umask` command (user file-creation mode mask) is used in Linux and Unix-like operating systems to control the default access permissions for newly created files and directories. It plays an important role in enhancing security by setting a permission restriction mask that is automatically applied when files are created, preventing files from being created with unnecessarily broad permissions. Through this guide, you will learn the concept and usage of `umask`.
Guide to the whereis Command: Finding the Location of Commands/Files
`whereis` command is used in Linux and Unix-like operating systems to locate the binary, source code, and manual page files of a command. It is useful when you need to quickly determine the path of a specific program or file installed on the system, especially when checking the existence of a program in shell scripts or dynamically referencing paths. Through this guide, learn how to use the `whereis` command and its main options.
Guide to the 'which' Command: Finding the Location of Executable Commands
The `which` command is used in Linux and Unix-like operating systems to locate the executable file associated with a given command in the directories listed in the `PATH` environment variable, essentially determining which command will be executed. It is very useful for checking the existence of programs in shell scripts or for figuring out which version of a program with the same name will be executed. Through this guide, you will learn how to use the `which` command and its main options.