Main Types of Linux Commands

Main Types of Linux Commands

Introduction Linux commands are essential tools for operating the Linux system. They can be categorized into several types, each containing a series of related commands used to perform specific system, file, or network operations. Whether managing the CPU, memory, disk drives, keyboard, mouse, or user management, Linux commands are indispensable.. Components of Linux Commands Linux … Read more

How to Determine if Your Linux System is CentOS 7.9

How to Determine if Your Linux System is CentOS 7.9

1. Check /etc/redhat-release cat /etc/redhat-release Output: CentOS Linux release 7.9.2009 (Core) 2. Check /etc/os-release cat /etc/os-release Output: NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7" Note: If it is CentOS 7.9, VERSION_ID=”7″ will show the major version number as 7, while PRETTY_NAME will … Read more

How to Delete Symbolic Links in Linux

How to Delete Symbolic Links in Linux

In Linux systems, symbolic links (Symbolic Link, abbreviated as Symlink) are a very practical type of file system object, similar to shortcuts in Windows systems. Symbolic links can point to files or directories, providing users with convenient access paths. However, sometimes we may need to delete symbolic links that are no longer needed. This article … Read more

Getting Started with HTTP Requests Using Httpie in Python

Getting Started with HTTP Requests Using Httpie in Python

Master HTTP Requests with Python: Easy Introduction to Httpie 🚀 Today, I want to introduce you to an HTTP tool library that I frequently use in my daily development — httpie. As a Python developer, we often need to debug API interfaces and test HTTP requests. While GUI tools like Postman are powerful, sometimes it’s … Read more

Understanding the Debugging Tool – GDB

Understanding the Debugging Tool - GDB

Advertising Time Click the card below and give us a follow before you go! 1. Introduction to GDB GDB (GNU Debugger) is a powerful open-source debugging tool that helps developers debug programs written in languages such as C/C++. Mastering the basic usage of GDB is very beneficial for both beginners and experienced programmers. This article … Read more

Fast LaTeX Formatting Tool Written in Rust

Fast LaTeX Formatting Tool Written in Rust

Click 👇“LaTeX Studio” Follow the public account Start a beautiful and exquisite research life with LaTeX! Written in Rust, this is a fast LaTeX formatting tool: ⚡ Extremely fast runtime performance🔧 Minimal configuration required📟 Command line interface📜 Handles LaTeX file types .tex, .bib, .cls, and .sty🦀 Completely written in safe Rust Source: https://github.com/WGUNDERWOOD/tex-fmt Click 👇“LaTeX … Read more

Introduction to Rust Programming: Parsing Command Line Arguments

Introduction to Rust Programming: Parsing Command Line Arguments

14.1 Parsing Command Line Arguments Building command line tools (CLI) is a common task in Rust practical projects. Rust provides various ways to parse command line arguments, with the most common approach being the use of third-party libraries like <span>clap</span> or <span>structopt</span>. These libraries help us easily define and parse command line arguments, handle user … Read more

Understanding the Linux Time Command: Essential Skills for Performance Tuning!

Understanding the Linux Time Command: Essential Skills for Performance Tuning!

Original link: https://bbs.huaweicloud.com/blogs/355148 Sometimes you may want to analyze your program based on the following parameters: Time spent by the program in user mode Time spent by the program in kernel mode Average memory usage of the program ETC On Linux, we have a utility called time designed specifically for this purpose. The time utility … Read more

Essential Linux Commands for Hackers: 10 Practical Tips

Essential Linux Commands for Hackers: 10 Practical Tips

During penetration testing, the Linux command line is like a Swiss Army knife: compact yet powerful. Today, we will discuss ten particularly useful Linux commands that can make a hacker’s work more efficient and open the eyes of network security enthusiasts. Explore System Information: uname -a Want to know about your target machine? uname -a … Read more

Comprehensive Guide to Common Linux Commands

Comprehensive Guide to Common Linux Commands

1. Nginx Related Commands Check Nginx Status ps -ef|grep nginx Start Nginx cd /usr/local/nginx/sbin/ ./nginx Restart Nginx After Modifying Configuration File cd /usr/local/nginx/sbin/./nginx -s reload 2. Common Docker Commands View All Containers, Including Running and Stopped docker ps -a View All Running Containers docker ps Start a Stopped Container docker start ContainerNameOrID Restart a Container … Read more