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.
setenv: Setting Environment Variables (C Shell)
The setenv command is a built-in command used in C Shell (csh, tcsh) to set or modify environment variables. This command affects the current shell session and any child processes spawned from that shell. In other shells like Bash or Zsh, the `export` command is typically used for setting environment variables.
sh: Shell Script Execution and Command Interpretation
`sh` is a Bourne shell-compatible command interpreter. It is used to execute scripts or process commands interactively. On most Linux systems, `/bin/sh` is a symbolic link to another shell like `bash` or `dash`, providing a script execution environment that adheres to the POSIX standard.
sleep: Wait for a Specified Duration
The `sleep` command is used to temporarily suspend the execution of the system for a specified duration (seconds, minutes, hours, days). It is useful for creating intervals between tasks in scripts or terminals, or for waiting until a specific task completes.
tcsh: C Shell Compatible Shell
tcsh is a Unix shell that is compatible with the C shell (csh), offering enhanced features such as command-line editing, command history, aliases, and job control. It is primarily used as an interactive shell and has a scripting syntax similar to the C language.
test: Evaluate Conditional Expressions
The test command is used to construct conditional statements in shell scripting. It evaluates various conditional expressions, such as checking file types or comparing string and numeric values, returning true (0) or false (1). This return value is utilized in control structures like the `if` statement.
tmux: Terminal Multiplexer Guide
A powerful terminal multiplexer that allows you to manage multiple sessions, windows, and panes within a single terminal window, and to detach from sessions and reattach later.
true: The Always Successful Command
The true command performs no action and always exits successfully (with a status code of 0). It is primarily used in shell scripting to control the flow of conditional statements or loops, or to force the success of a particular command.
tty: Print the terminal device name
The tty command prints the file name of the terminal (TTY) device connected to standard input. This is useful in scripts to check if the current session is connected to a terminal.
unalias: Remove Alias
The unalias command is used to remove previously defined aliases in the shell. You can remove specific aliases or remove all aliases at once to clean up your shell environment. This command only affects the current shell session.
unset: Remove Variables and Functions
The unset command is used to remove variables or functions defined in the shell environment. It allows you to free up memory for environment variables or user-defined functions that are no longer needed.
Uptime Command Guide: Check System Boot Time and Average Load
`uptime` command is used in Linux and Unix-like operating systems to briefly display how long the system has been running since it was booted (uptime), the number of users currently logged into the system, and the system's average load. It is a fundamental monitoring tool useful for quickly assessing system stability and performance. Use this guide to learn how to use the `uptime` command and interpret its output.
valgrind: Memory Debugging and Profiling Tool
Valgrind is a powerful suite of tools for detecting memory management errors (e.g., memory leaks, invalid memory access) in programs, identifying thread-related issues (race conditions), and performing performance profiling. It is primarily used for debugging C/C++ programs.