Sometimes you need to check the port occupied by a process in Linux, but you only need to know the approximate name of the process. For example, you need to check the port on which the hadoop namenode runs to facilitate connection in eclipse. One
Recently, due to work needs, I once again picked up the LINUX that I had previously installed based on interest and gave up due to too few applications. I use redhat linux es5.4. for excellent linux operations and powerful network functions, I have
It depends on the configuration in the inittab file. The file is located in the etc directory. # Vi/etc/find the following statement: # Default runlevel. the runlevels used by RHS are: #1-Single user mode #2-Multiuser, without NFS (The same as 3, if
After Linux is installed, the script optimization problem has just been installed on the Linux system. Many services are not available, but it occupies a lot of space in your memory, it affects your performance. The following script optimizes the
Linux is stuck on the logon interface. After linux is started, it is stuck on the logon interface, and the logon interface is endless. With the system sound of "Didi", you cannot log on to the system. This problem may occur because the system memory
How much memory does process XXX occupy? This is a frequently asked and often incorrect question. Memory Allocation for Linux processes is a complex topic. Linux tools tend to oversimplify this issue, which leads to many misunderstandings and
Ls is another linux Command that I think is most commonly used. The main function is to list the file/directory information under a directory. Ls lists the files/directories in the current directory, excluding files starting with "." And sorted by
Nic configuration: 1. Nic configuration files configure Nic information, including IP addresses, subnet masks, and gateways. The NIC information is saved in the NIC configuration file. The NIC configuration file is located in
Java code ------------- grep: Multi-file search text --------------- grep '000000' * Find all files in the current directory that contain 123 of grep '000000' aaa. log to query the string 123 www.2cto.com ---------- more: view the text --------------
Linux view service command Linux provides the chkconfig command to update and query system services at different running levels. Syntax: chkconfig -- list [name] is used to list the service www.2cto.com chkconfig -- add name to add the service
The comm command of a linux Command per day is used to compare two sorted files in the unit of behavior. Comm -- help can be used to view command parameters. Comm file1 file2 first file1 and file2 must be sorted files. The command compares the
The MD5 algorithm is often used to verify the integrity of network file transmission and prevent file tampering. MD5Message Digest Algorithm (Message-Digest Algorithm)5), this algorithm computes information of any length by bit, and generates a
Back up linux # Back up linux system sudo sucd/tar cvpzf backup. tgz/-- exclude =/proc -- exclude =/lost + found -- exclude =/backup. tgz -- exclude =/mnt -- exclude =/sys # If you want to exclude all other partitions, you can use the 'l' parameter
Solution to the error of give root password for maintenance: the linux system cannot be started and cannot enter the operating system due to illegal restart or hard disk failure. When you see the prompt: give root password for maintenance (or type
Unix ftp commands introduction to ftp commands under solaris (SAVE) 1.file transfer between ftp local workstation and remote workstation (solaris): You must have the account and password of the remote workstation, for file transfer: Format: ftp
Linux compilation PATH addition (1) echo $ PATH view PATH (2) use the command to add export PATH = $ PATH:/home/×××/bin to manually add, only valid export PATH =/home/lwzhang/CC1200/c2/daily/bin/: $ PATH (3) in the current row is added to the user
The size and display of Linux disk space are inconsistent. operator told me that the disk space of XX server is insufficient. Let me help solve the problem. Immediately go to ssh, df-TH to see If 99% is used. All right, switch to the/directory, and
Summary of linux system problems-Update 1. after creating a new user, switch to the new user: No directory, logging in with HOME =/Add useradd-m-s/bin/bash-g group loginname-m, otherwise, No directory will appear. Logging in with HOME =/)-s/bin/bash
Shell programming test file permissions #! /Bin/bash # This script is used to test the file type. #6/20/11 function usage () {echo "Error: Must have a parameter. "echo" Usage: "$0" filename "exit 1} function permission () {if [! -E $1] then echo
Linux shell programming ---- variables and References 1 variable 1 variables are used to save useful information, such as path names and file names. variables are essentially one or more memory addresses. 2 variables are divided into three local
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