when we log on to Linux Shell, shell performs a series of initialization actions, this includes reading the configuration file and setting Environment Information Based on the configuration file. In fact, two configuration files are read when you
Edit/etc/rc. d/rc. Local
Add the command to this file
#! /Bin/sh## This script will be executed * after * all the other init scripts.# You can put your own initialization stuff in here if you don't# Want to do the full sys V style init stuff.
-Bash-3.00 # netstat-TLN
The netstat-TLN command is used to view Linux port usage./Etc/init. d/vsftp start is used to start the ftp port ~!View files/etc/servicesNetstatView the connected service port (established)Netstat-View All service
Simple things have been around for a long time ~~~ First, QT has been successfully installed in Linux, and I use ubuntu10. Next I will talk about it in this environment, if there are differences, install them according to the specific version.
Linux is really strong. Buy a 200 broken notebook and install Linux to put a DVD. The previous Linux email server has not been updated for two years. It is good. One day the password is forgotten, can't enter, ah, it's useless at last, huh, huh
The common form of the find command is: Find pathname-options [-print-Exec-OK].
Find Command Options:
-Name: searches for files by file name, for example, find/etc-name "Host *"-print | xargs>/tmp/host. Log
-Perm searches for files based on the
Use the SCP command to implement mutual file transfer between two Linux Hosts.
Copy a file:(1) Copy local files to remoteSCP file name -- User Name @ computer ip address or computer name: remote path(2) remotely copy the file back to localSCP --
First, we need to use another ps command in Linux to find the process-related PID Number: PS aux | grep program_filter_word
Ps a shows all programs under the current terminal, including those of other users.PS-A shows all programs.When listing
Install
1. Go to the http://java.sun.com/j2se/1.4.2/download.html to download a Linux platform JDK, it is recommended to download RPM self-extract format (rpm in self-extracting file, j2sdk-1_4_2_06-linux-i586-rpm.bin );2. Upload the file to a Linux
Linux Kernel upgrade
An important feature of Linux is its open source code. Any software engineer in the world can add code that he thinks is excellent, one obvious benefit of this is the fast fixing of Linux vulnerabilities and the use of the
Do you want to know the truth about the LINUX partition solution? Do you want to know the inherent meanings in the LINUX partition solution? I will only give you a full introduction to the LINUX partition solution.
Latest LINUX partition Solution
Install sysv-RC-conf to disable services that you do not need to start.
Sudo apt-Get install sysv-RC-Conf
Sudo sysv-RC-Conf
The following are some service options for reference.
1. ACPI-support-you 'd better set the running level in S to "X.
2.
[Guide] Nowadays, many people have configured Linux as a development tool and used Windows for entertainment. Are you a Linux User? This article explains how to handle Linux logs.
Now many people have configured Linux as a development tool.Come for
Suddenly, from the Windows world to the Linux World, it may be a little uncomfortable at the beginning. Slowly, you may find that Linux is profound and profound, and most importantly, many things in the Linux World are free license, next, let's list
Package A pile of files into a file. It is better to mark it with a suffix. Tar. Because only one file can be compressed in Linux, We need to package the file before compression. Fortunately, the single tar command is responsible for packaging,
For operating files or devices in Linux, a file descriptor and FD are required for reference. FD is a non-negative integer, which is actually an index value. It points to the file's record table and requires FD for file operations. Default values:
Thttpd is a small Web server. It is a good choice for porting to arm. I configured it today and encountered some problems. When you make a backup, share your configuration experience.
Cc = arm-Linux-GCC./configure -- Host = arm-Linux-gccVI
The following uses uClinux as an example to describe how to compile the driver test. c In the module mode into the kernel:
(1) modify the test. C source code
Step 1:
# Include
# Include
Char kernel_version [] = uts_release;
Changed:
# Ifdef Module
#
In Linux, Snort is a free lightweight network intrusion detection system based on Libpcap. It supports cross-System Platform operations and comes with a lightweight intrusion detection tool that can be used to monitor small TCP/IP networks. During
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service