In Linux to view the memory method we generally use the free command: [root @ scs-2 tmp] # free total used free shared buffers cachedMem: 3266180 3250004 16176 0 110652 2668236-/+ buffers/cache: 471116 2795064 Swap: 2048276 80160 1968116
In linux, the basic commands for starting, stopping, and restarting apache are as follows: This document assumes that your apahce installation directory is/usr/local/apache2. These methods are suitable for www.2cto.com apahce startup commands in any
ESXI4.1 adjust the disk size for linux virtual machines first, adjust the disk size to 60 GB www.2cto.com. Note: if you cannot adjust the disk size for a snapshot of a virtual machine, you must delete the snapshot before adjusting the disk
A little Linux every day-you often need to install the APK program to your mobile phone during the development of the right-click menu. This requires opening the command line and hitting the installation command, which is inconvenient. Www.2cto.com
Sugon A420r-G installation centos5.5 I, Environment server: sugon sky wide A420r-G Operating System: centos 5.5 x86-64 Server comes with three GB hard disk, and through RAID card set as RAID 5 disk array, however, during the system installation
Using rsync to synchronize Linux VPS data rsync is a data image backup tool in unix-like systems. It can be seen from the software name-remote sync. Its features are as follows: www.2cto.com can mirror and save the entire directory tree and file
The "-" Operation in Linux with "-" in the Linux File name has special meanings. For example, adding "-" after the command indicates that "-" is followed by an option. However, there are three methods to create a file with the name "-". For example,
Uninstall jdk in linux. A simple problem occurred all afternoon. Due to the re-Modification of jdk version 1.5 -- 1.6, it was blocked during the uninstallation, www.2cto.com rpm-qa | grep jdk --> jdk-1.6.0_22-fcsrpm-qa | grep java -->
[Linux] bc | determine whether the command is successfully executed bc: www.2cto.com no = 1321456 echo "obase = 2; $ no" | bc binary, octal, same as hexadecimal, the quotation mark content can be replaced to realize the +-* % operation to determine
After reading "write the operating system by yourself", try to build the Linux environment and read "write the operating system by yourself" and then try again. Because I don't want to use windows as the development platform, I have built a Linux
The Linux mount command is often used to mount files outside the Linux system. This command is most commonly used to mount cdrom, so that we can access the data in the cdrom, Because you insert the CD into the cdrom, Linux does not automatically
Laruence's linux Command Learning -- declare [root @ www ~] # Declare [-aixr] variable www.2cto.com option and parameter:-a: Define the variable named variable as the array type-I: the variable named variable is defined as an integer (integer)
Installation of Mrtg in linux (CentOS) solution 1. In the early stage, MRTG (1) must be based on the SNMP service. Therefore, make sure that your system has enabled this service, modify the SNMP configuration: # vi/etc/snmp/snmpd. conf removes the
The Ubuntu wired network cannot be connected. The computer is in use. I don't know when the network is disconnected. The Network icon is changed to wireless. If I click the wired connection, the display is still wireless, and the connection is
Useradd user add userPasswd user: Add password for userLl view wenjianLl-d/home to view the current fileLl-a/home/user view implicit files (such as user variable files and launch scripts)Ll-l/View/directorySu-switch to
Postgresql automatic backup generates one file every day and automatically compresses it: 1. Write a shell script and save it as/home/db/dump. sh.Pg_dump db | gzip>/home/db $You can set $ (date + % Y % m % d) on your own.
You need to set the
UbuntuNew User Experience
1. Add a user(1) Create a New User username# Sudo useradd username(2) set the username Password.# Sudo passwd username2. Add a user groupCreate a new group groupname# Sudo groupadd groupname3. Modify an account(1) Add
Sudo su
Enter the Administrator mode, because sometimes the system prompts incorrect passwords when using su.
Find./-name "Makefile"
Search for the file path listing the current directory named "Makefile"
Grep-nr "test "./
1. the user information is stored in/etc/passwd, the password is stored in/etc/shadow, and the group name is stored in/etc/group.
2. 7 columns indicating file/directory permissions:
Column 1: d: Directory
-: File
L: linkfile (connection
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