Moonglade

Modern Markdown blogging with AI-powered localization and search.

Tag: bash







Linux Cheatsheet for Windows Users

This document provides a guide to efficient practices for Linux system administration. First, it details the use of terminal multiplexers such as tmux and screen, including creating, detaching from, and reattaching to sessions, as well as sending commands to the background, with special emphasis on the convenience of executing scripts within screen. Next, it introduces the installation and configuration of SteamCMD, explicitly stating that there is no need to create a dedicated user; it can be run directly with the current account. It also demonstrates how to update game servers, such as Project Zomboid, using scripts. In terms of system monitoring, the article provides a comprehensive comparison of tools including top, htop, free, netstat, iotop, iostat, ifstat, iftop, dstat, sar, vmstat, nmon, atop, and glances, covering real-time monitoring and historical data analysis for CPU, memory, disk I/O, and network traffic. Finally, it summarizes a series of practical command-line tips, including counting lines of code, batch Git operations, testing disk write and SSH transfer speeds, generating UUIDs, generating random numbers, and using dd to create bootable drives, all aimed at improving operational efficiency and system troubleshooting capabilities.

Views 415
Bash Scripting Linux Linux Tools System Monitoring Ubuntu bash