alias: Define shorthand commands for longer or frequently used commands
August 9th, 2024 1:59 PM Mr. Q Categories: Command
Command: alias The alias command allows you to create shortcuts for longer or frequently used commands. This can help streamline your workflow by reducing the amount of typing required. Commands and Outputs: Output: Output: Output: Example Usage: Note: Aliases are typically defined in shell configuration files like .bashrc or .zshrc […] Read more »
crontab: Schedule jobs (commands) to run automatically at specified times
August 9th, 2024 1:50 PM Mr. Q Categories: Command
Command: crontab The cron daemon is used to schedule commands or scripts to execute automatically at specified intervals. Jobs are defined in a crontab file, which outlines the timing and commands to run. Commands and Outputs: Text Editor Output: Output: Output: Text Editor Output: Read more »
iostat: System I/O statistics, disk, and processor activity
August 9th, 2024 1:46 PM Mr. Q Categories: Command
Command: iostat The iostat command provides detailed information about system input/output (I/O) statistics, including disk usage and CPU load. It’s useful for monitoring system performance and identifying potential bottlenecks related to I/O operations. Sample Commands and Outputs: Sample Output: Description: Options: Example with Options: Sample Output: Description: Read more »
vmstat: System virtual memory statistics
August 9th, 2024 1:45 PM Mr. Q Categories: Command
Command: vmstat The vmstat command provides system information related to virtual memory, processes, paging, block IO, traps, and CPU activity. It’s useful for monitoring system performance and diagnosing issues related to memory and process management. Sample Commands and Outputs: Sample Output: Description: Options: Example with Options: Sample Output: Description: Read more »
htop: Graphical representation similar to a task manager
August 9th, 2024 1:44 PM Mr. Q Categories: Command
Command: htop The htop command provides an interactive, ncurses-based graphical representation of system processes, similar to a task manager. It offers an enhanced view compared to top, with a more user-friendly interface and additional features for managing processes. Sample Commands and Outputs: Sample Output: Description: Installation:To install htop if it’s […] Read more »
top: Display the full command line of each process
August 9th, 2024 1:38 PM Mr. Q Categories: Command
Command: top The top command displays a real-time view of system processes and their resource usage. By default, it shows the command line of each process in a truncated form, but you can configure it to display the full command line. When you run the top command without any arguments, […] Read more »
zcat: Display the contents of a compressed file, without extracting it
August 9th, 2024 1:36 PM Mr. Q Categories: Command
Command: zcat The zcat command is used to view the contents of a compressed file without actually extracting it. It works with files compressed using gzip and displays the file’s content to standard output (stdout). Sample Commands and Outputs: Description: Description: Description: Note: zcat only works with files compressed using […] Read more »
bzip2: Compress or decompress files
August 9th, 2024 1:35 PM Mr. Q Categories: Command
Command: bzip2 / bunzip2 The bzip2 command is used to compress files using the bzip2 compression algorithm, which provides better compression ratios compared to gzip. The bunzip2 command is used to decompress files compressed with bzip2. Sample Commands and Outputs: Description: Description: Description: Description: Description: Description: Note: bzip2 provides high […] Read more »
gzip: Compress or decompress files
August 9th, 2024 1:31 PM Mr. Q Categories: Command
Command: gzip / gunzip The gzip command is used to compress files using the GNU zip algorithm, which reduces the size of files. The gunzip command is used to decompress files that have been compressed with gzip. Sample Commands and Outputs: Description: Description: Description: Description: Description: Description: Note: gzip is […] Read more »
tar: Create, extract, and manage archives (compressed files)
August 9th, 2024 1:30 PM Mr. Q Categories: Command
Command: tar The tar command (tape archive) is used to create, extract, and manage archives. It can combine multiple files into a single archive file, often compressing it to save space. The tar command supports various compression methods. Sample Commands and Outputs: Description: Description: Description: Description: Description: Description: Description: Description: […] Read more »