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.
cal: Display Calendar
The cal command is a utility that displays a calendar for the current month or a specified month and year in the terminal. With simple options, you can view the calendar for the entire year or a specific period.
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.
cd Command Guide: Basics of Directory Navigation
The `cd` command (change directory) is one of the most fundamental commands used in Linux and Unix-based operating systems to change the current working directory (location). It helps users easily navigate to desired locations within the file system. This guide will help you learn the various usages of the `cd` command.
chattr: Change File Attributes
The chattr command is used to change the attributes of files on Linux filesystems (like ext2/3/4, XFS, Btrfs, etc.). These attributes, separate from standard file permissions (chmod), control how files behave. For example, you can make files unchangeable or undeletable (immutable), or allow only appending (append-only).
chcon: Change SELinux Security Context of a File
The chcon command is used to change the SELinux (Security-Enhanced Linux) security context of a file or directory. SELinux is a Mandatory Access Control (MAC) system that enhances system security by providing fine-grained control over access to files, processes, ports, and more. Correctly setting the context of files is essential for applications to function properly and adhere to security policies on systems with SELinux enabled.
chef: Running the Chef Infra Client
The Chef Infra Client is a tool used to manage and automate infrastructure, such as servers, cloud instances, and virtual machines, as code (Infrastructure as Code). The `chef` command is used to run the Chef Infra Client to communicate with a Chef server or apply Chef recipes in local mode.
chgrp: Change File/Directory Group Ownership
The chgrp command is used to change the group ownership of specified files or directories. It is an important part of file system permission management, useful for controlling access to resources by users belonging to specific groups.
chkconfig: System Service Runlevel Management
chkconfig is a utility used to manage the runlevels at which services start during boot on systems using System V init scripts. This command allows you to configure services to start or stop at specific runlevels, providing fine-grained control over system boot behavior.
chmod: Change File and Directory Permissions
The chmod command is used to change the access permissions (read, write, execute) of files and directories. The `-R` (recursive) option is particularly useful for batch permission changes across a specified directory and all its subfiles and subdirectories, making it very effective for large-scale permission configuration tasks.
Mastering the chown Command
A guide to the `chown` command in Linux used to change the owner (user) and group of files and directories. Use this tool to easily understand and apply ownership settings.
chpasswd: Batch Change User Passwords
The chpasswd command is used to update the passwords of multiple user accounts in a batch. It is particularly useful in scripted or automated environments for setting or changing a large number of passwords. The input is expected in the format 'username:password'.
chroot: Change Root Directory
The chroot command changes the root directory of the current process to a specified new root directory. This is very useful for testing software in an isolated environment, recovering a damaged system, or running specific applications in a restricted environment.