Category: System

Linux (238)
Windows (383)

httpd: Unrecognized Service Fix

Install Apache as a System Service

# cp /usr/local/apache2/bin/apachectl /etc/rc.d/init.d/httpd

Then vi /etc/rc.d/init.d/httpd add (below #!/bin/sh)

# chkconfig: 2345 50 90

# description: Activates/Deact …

How to View Logs in Linux

1. cat Command: Function: 1) Display an entire file. Example: $ cat fileName 2) Concatenate files and send to standard output, such as merging several files into one or outputting to the screen. Example: $ cat file1 file …

A Collection of Web Testing Tools

1 What Is Web Testing? Since web applications directly interact with users and often must endure prolonged, heavy usage, both the functionality and performance of a web project must undergo reliable verification. This necessitates comprehensive testing of the web project. Web application testing differs from other types of application testing …

How to SSH Into Your Machine Using Python

Time to write some Python code. I love automating things, and today I’ll show you how to use Python to connect to your machine via SSH and run commands on it. It’s not difficult, but doing it with Python isn’t exactly trivial either, because it requires quite a few modules and libraries to accomplish this task. 你是 …

How to Recursively Set Directory and File Permissions in Linux

The chmod command can change permissions for all subdirectories. Below are 2 methods
Changing permissions for a single file: chmod mode file|dir
Changing permissions for all subdirectories: chmod mode dir -R Note the -R parameter added at the end. The parameter is the permission mode mode = 777 or 752 , 666,,, mod …

Glances: The Adaptive All-in-One System Monitoring Tool

Very few command-line tools can adapt to different terminal sizes to provide users with the maximum amount of information. Most tools display similarly——either the information becomes garbled or the tool throws an error message. However, Glances is one that supports everything from an 80×24 terminal to any …

Linux Check Disk Space Command Guide

Checking disk space is very convenient under Windows. But when it comes to Linux, you might feel a bit lost. Don’t worry, I’m about to solve this problem for you. The Df command is how Linux checks disk space, viewing the file system by disk partition. You can add …

VSFTP Error Codes

FTP Error Codes
1xx – Positive Preliminary Reply
These status codes indicate that an operation has successfully started, but the client expects another reply before continuing with a new command.
110 Restart marker reply.
120 Service ready in nnn minutes.

How to Repair and Recover NTFS Partitions in Linux

From time to time, we need to help our friends, family, acquaintances, business partners, or various other people get out of predicaments they encounter while using Windows. Although we don’t run into problems on a daily basis like they do, we are often the ones they turn to when trouble strikes. What’s more, even we ourselves …

Linux Seeks More Diverse Programmers

Sarah Sharp (the woman in the photo) and Linus Torvalds (second from right) at LinuxCon. Photo credit: The Linux Foundation Last Wednesday, Linus Torvalds and Sarah Sharp, a developer from Intel, finally sat down face to face. This was their first meeting since the email controversy…