Daily Linux Command: Ifconfig

Daily Linux Command: Ifconfig

<span>ifconfig</span> is a traditional Linux command-line tool used to configure, view, and manage network interfaces (such as Ethernet, wireless network cards, loopback interfaces, etc.). Although it has gradually been replaced by the more powerful <span>ip</span> command (from the <span>iproute2</span> toolkit) in modern Linux distributions, <span>ifconfig</span> is still widely available on many systems and is familiar … Read more

Quick Reference Guide to Common Linux Commands

Quick Reference Guide to Common Linux Commands

This article lists various practical Linux commands from aspects such as backup and compression, file system search, networking, arithmetic operations and conversions, text processing, date and time, multimedia, disk usage and management, and hardware information, serving as a reference guide. 1. Backup and Compression Command Description <span><span>tar -c scripts/ | bzip2 -9 > scripts.tar.bz2</span></span> Compress … Read more

Daily Linux Command: Touch

Daily Linux Command: Touch

<span>touch</span> command is a commonly used command in Linux and Unix systems for creating empty files or updating the timestamps of existing files. 🔧 Basic Syntax: touch [options] filename… ✅ Main Functions Create empty files (if the file does not exist) Update file timestamps (if the file already exists): Modification time (mtime) Access time (atime) … Read more

Comprehensive Guide to Common Linux Commands

Comprehensive Guide to Common Linux Commands

1. File and Directory Operations Command Function Common Parameters Example <span>ls</span> List directory contents <span>-l</span>(detailed) <span>-a</span>(hidden files) <span>-h</span>(human-readable sizes) <span>ls -lah /home</span> <span>cd</span> Change directory <span>..</span>(parent directory) <span>~</span>(home directory) <span>cd ~/Documents</span> <span>pwd</span> Display current path – <span>pwd</span> <span>mkdir</span> Create directory <span>-p</span>(create parent directories) <span>mkdir -p project/{src,doc}</span> <span>cp</span> Copy files/directories <span>-r</span>(recursive) <span>-v</span>(verbose) <span>cp -rv data/ backup/</span> … Read more

Commonly Used Linux Command Manual

Commonly Used Linux Command Manual

This section shares tutorials on commands in the Linux system, which are crucial for front-end developers, back-end developers, and operations personnel. Nowadays, both front-end pages and back-end projects are primarily deployed on Linux servers. If you want to deploy your own service applications, mastering the usage of Linux commands is essential, so this section will … Read more

Basics of C Language – (01) Common Linux Commands and Tools

Basics of C Language - (01) Common Linux Commands and Tools

1. Terminal Related Operations 1. Open the terminal on Ubuntu 1. Click the Terminal icon 2. Use the shortcut <span>ctrl+alt+t</span> 2. Adjusting Font Size Increase:<span>ctrl shift +</span> Decrease:<span>ctrl -</span> 3. Meaning of Command Line Prompt <span>linux@ubuntu:~$</span> linux: username (<span>whoami</span> command to get the username) ubuntu: hostname (<span>hostname</span> command to get the hostname) ~: path (<span>/home/linux/</span>) … Read more

30 Linux Command Combinations: Solve 95% of Daily Operations Needs, Ready to Use!

30 Linux Command Combinations: Solve 95% of Daily Operations Needs, Ready to Use!

Core Idea: The Power of Command Combinations The philosophy of Linux is that a program should do one thing and do it well. Combining multiple commands through pipes <span>|</span>, redirection <span>></span>, and logical operators <span>&&</span> and <span>||</span> is key to solving complex problems. 1. System Status and Monitoring Real-time Monitoring of Core Metrics (Top Integrated … Read more

Do You Need to Memorize Linux Commands?

Do You Need to Memorize Linux Commands?

Many people have this confusion: they want to learn Linux but are intimidated by the command line.In fact, there are methods to learn commands, and there is no need for rote memorization. This series of articles is designed to help everyone overcome their fear of the command line. As long as you keep reading, you … Read more

Essential Advanced Linux Commands Every Operations Engineer Should Know

Essential Advanced Linux Commands Every Operations Engineer Should Know

Having worked in operations for several years, I still remember when I first started; I only knew how to use some basic commands, and when writing scripts, I kept them as simple as possible, which often resulted in long and messy scripts. If I had known some advanced commands, such as the xargs command, pipe … Read more

Common Linux Commands – Part 4

Common Linux Commands - Part 4

Common Linux Commands – Part 4 4. Log Directory /var/log # Main log directory, /var/log/secure # Logs related to user login security, a large file indicates someone is attempting to crack passwordscat /var/log/secure | grep login # Search for login-related strings in the secure file/etc/ssh/sshd_config # Modify this file to enable passwordless loginid_rsa.pub # Public … Read more