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.
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.
login: System Login
The login command is used to start a user session and log into the system. Typically, it involves a username and password prompt in a terminal or console for authentication.
logname: Print the Real Login User Name
The `logname` command prints the user name (login name) that was used when the user first logged into the system. Unlike `whoami`, it shows the original login user name even after privileges have been changed with `su` or `sudo`.
logrotate: System Log File Management
logrotate is a utility that automates the rotation, compression, removal, and mailing of system log files. This tool prevents log files from growing too large, consuming disk space, or impacting system performance, thereby enabling efficient log management.
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.
lshw: Display detailed hardware information
A command that lists the hardware components of your system in detail. You can check various information such as CPU, memory, disks, and network interfaces.
lspci: Check PCI Device Information
This command displays detailed information about all devices connected to the system's PCI (Peripheral Component Interconnect) bus. It is used to check information for various hardware devices such as graphics cards, network cards, and sound cards.
lsusb: List USB Devices
Lists information about USB devices connected to the system. It displays details such as USB bus, device ID, manufacturer, product name, and speed, making it useful for troubleshooting and identifying USB devices.
ltrace: Trace Library Calls
ltrace is a utility used to trace and log the calls made by a program to dynamic libraries. It allows you to see which library functions are called, with what arguments, and what their return values are, making it useful for debugging, performance analysis, and reverse engineering.
man Command Guide: Accessing Linux Manual Pages
`man` command (short for manual) is used to display online manual pages for various system elements such as commands, functions, file formats, and kernel interfaces in Linux and Unix-like operating systems. It is a fundamental source of information to understand system functionality and troubleshoot issues. Through this guide, learn how to use the `man` command and efficiently navigate the manual pages.