Linux | Commands to Check File (Compressed) Size

Linux | Commands to Check File (Compressed) Size

In Linux, here are some commonly used commands: 1. Using the ls command You can use the ls command with the -lh option to check the file size, including compressed files. For example: ls -lh filename.zip Here, the -l option displays file information in a list format, and the -h option makes the file size … Read more

How to Handle Full Disk Space in Linux?

How to Handle Full Disk Space in Linux?

Click the blue text to follow us When the disk space is full, it can lead to application anomalies. How should we troubleshoot the issue of full disk space? First, we need to confirm the disk space usage. To check the disk space usage, we can use the df command. [root@VM-181-124 ~]# df -h Filesystem … Read more

Useful Tricks in the Linux Shell

Useful Tricks in the Linux Shell

(Click the public account above to quickly follow) English: Techbar, Translation: Linux China/geekpi linux.cn/article-2389-1.html If you have good articles to submit, please click → here for details I regularly use the Linux shell (Bash), but I often forget some useful commands or shell tricks. Yes, I can remember some commands, but they definitely won’t be … Read more

Quick Start – Summary of Common Linux Commands

Quick Start - Summary of Common Linux Commands

Linux Server System Information # Display basic system information uname -a # View kernel version uname -r # Display information about the distribution – detailed information about the operating system lsb_release -a # Linux version cat /etc/issue cat /etc/os-release more /etc/redhat-release hostnamectl cat /proc/version # CPU information cat /proc/cpuinfo more /proc/cpuinfo | grep "model name" … Read more

Linux Weapon Library

Linux Weapon Library

Background Open source is the cornerstone of innovation (whether acknowledged or not). The foundation of the innovation operating system is Linux. The use, tuning, and troubleshooting of Linux require many tools. Basic Tools Linux connections: Finalshell, Winterm, MobaXterm, Xshell, and Windows bash. Open source tools can be used: winscp for file uploads, putty for system … Read more

The Ultimate Guide to Linux Commands: Become a System Operations Expert

Linux | Red Hat Certified | IT Technology | Operations Engineer 👇 Join our technical exchange QQ group with the note 【Public Account】 for faster approval Linux Course Notes Directory Structure /:Root directory, the only top-level directory Path example: /home/itheima/a.txt indicates the a.txt file in the home/itheima folder under the root directory Basic Commands ls: … Read more

Ansible Commands: From Basics to Mastery (Part 5)

Ansible Commands: From Basics to Mastery (Part 5)

Ansible Commands Ansible has multiple commands, each serving different functions. Below are some commonly used commands and their parameters. Common Commands # Set the ansible configuration file ansible-config # View ansible related modules and module documentation ansible-doc # View ansible's inventory ansible-inventory # Execute ad-hoc tasks ansible # Execute ansible playbooks ansible-playbook # Set ansible … Read more

Commands You Should Never Run on Linux

Commands You Should Never Run on Linux

(Click the public account above to quickly follow) Source: Linux China https://linux.cn/article-401-1.html If you have good articles to submit, please click → here for details The commands listed in this article should absolutely not be run, even if you are very curious, unless you are running them in a virtual machine (so you can restore … Read more

Part One of Linux Learning – Nano Editor and Proper Shutdown Procedures

Part One of Linux Learning - Nano Editor and Proper Shutdown Procedures

Common commands for the nano editor, where ^ represents Ctrl and M represents Alt. When shutting down Linux, use the who command to check online status, netstat -a to check network connections, and ps -aux to view background processes. Before shutting down, use the sync command to write data to disk. Use the shutdown command … Read more