Category: System

Linux (238)
Windows (383)

Linux Sed Command: A Complete Guide

Java Code 1. Introduction to Sed sed is a stream editor that processes content one line at a time. During processing, it stores the current line in a temporary buffer called the “pattern space,” then uses sed commands to process the content in the buffer. Once processing is complete, it sends the buffer’s …

The Bittersweet Journey of a Newbie RHCE

The bittersweet journey of a newbie RHCE. Many people want to earn their RHCE certification — let me share how I became one.

  
  1 Love at First Touch
  
   I first encountered Linux in November 2003. Back then I thought it was quite mysterious, because I’d heard it was on the same level as Unix…

Analysis of a Linux Periodic Auto-Backup Script

In our network maintenance work, we often need to back up data. While the task is not complicated, it is quite time-consuming. Here I share a Linux backup script that easily achieves automatic backups and can retain backup archives for N days. This script consists of two files: an executable file backup.sh, and …

Linux cp and SCP Commands

Name: cpUsage: All usersSyntax: cp [options] source destcp [options] source… directoryDescription: Copy one file to another, or copy several files to another directory. The -a option preserves as much of the file status, permissions, and other data as possible …

How to Clear Linux Cache

Today I used Spotlight to check the memory usage on the development server, and only 60MB was left. You can use the following method to clear the cache. Frequent file access can cause a significant increase in system Cache usage.
First, use free -m to check the remaining memory[root@Oracle ~]# free – …

20 Essential Linux System Monitoring Tools Every Admin Needs

Need to monitor Linux server system performance? Try these built-in or bundled tools below. Most Linux distributions come equipped with a wealth of monitoring tools. These tools provide metrics that can be used to obtain relevant information and system activity. You can use these tools …

Linux user Command

useradd
1. Purpose
The useradd command is used to create user accounts and create the user’s home directory, with superuser privileges required.
2. Format
useradd [-d home] [-s shell] [-c comment] [-m [-k template]] [-f inactive] [-e expire] [-p passwd] [-r] nam …

How to Fix Network Issues Caused by DNS

In certain network environments, even when the VPN connection shows as successful, you may still be unable to access some foreign websites or certain specific sites. Is it an issue with the VPN server, or its geographical location? Usually at this point users are quite frustrated, having paid for the service …