Linux look at the system version information uname-a if the display is i386,i686 32-bit system, if the x86_64 is 64 bits a hard disk can have up to four primary partitions one of the primary partitions can be replaced with an extended partition,
The following commands are required to operate under the root accountDD If=/dev/zero Of=/home/swap bs=1024 count=512000This creates a partition file such as/home/swap. The size of the file is 512,000 blocks, normally 1 blocks are 1 K, so the space
It depends on which compression you use for your compressed files:gzip, compressed file name: Zip or GZ, decompression command: UnzipBZIP2, compressed file name: BZ, decompression command; bzip2-dThe above two are the most commonly used compression
(This is the case for root user)First, 3 machines, we take two workers, a boss for example192.168.1.1 boss192.168.1.2 Worker1192.168.1.3 Worker21, Vim/etc/sysconfig/networkModified hostname to BOSS,WORKER1 on 3 machines respectively,
Test environment: RHEL5.81.# vi/usr/share/gdm/defaults.conf--Modify the following three itemsEnable=truedisplaysperhost=10port=177Allowroot=trueAllowremoteroot=true2. #vi/etc/inittab--Change the default level to
Comparison of special directories:. Represents this Layer directory.. Represents a previous level directory-Represents a previous working directory~ Represents the home folder where the current user's identity resides~account represents the home
How Linux displays a few lines of a file (in the middle of a few lines)"One" starts at line No. 3000 and displays 1000 rows. The 3000~3999 line is displayedCat FileName | Tail-n +3000 | Head-n 1000"Two" displays 1000 rows to 3000 rowsCat filename|
Wildcard characters are * and? , a wildcard is handled by the shell$ ls *.txt Find all created txt text$ touch adsfasf.txt Wergif.txt Create two files$ touch Love_{1..10}_linux.txt Create 10 files at a time after return, write 10 names on the back 1.
minute hour day month DayOfWeek command minute -integers from 0 to 59hour -integers from 0 to 23 Day-an integer from 1 to 31 (must be a valid date for the specified month)month -an integer from 1 to 12 (or a month such as the Jan or Feb abbreviation)
1. View all network services that are currently open
an order; netstat.
-A (All) displays all options and does not show listen related by default-T (TCP) displays only TCP-related options-U (UDP) displays only UDP-related options-N
Linux, we often use CD, Grep,vi and other commands, and sometimes we have to find out where these commands are, how to do it?Linux has 2 commands to complete this function:which, WhereisWhich is used to view whenThe path to the command to execute
Kernel boot process related content let a lot of love and hate for Linux's small partners, because this is to understand the basic structure of the Linux system is a good process at the same time because of its complexity and the underlying, the
First we need to know several common package types on Linux:rpm package ,deb Package, source code package and package with installer .
The following three types of features can be implemented with RPM package management:1.) Check and verify the
Sed is a good file processing tool, itself is a pipe command, mainly in the behavior of the unit processing, you can replace the data rows, delete, add, select and other specific work, the following first understand the use of SEDThe SED command
Introduction3000 block of wages and 30000 wages, the gap lies in the latter has the accumulation of life experience, the summary of technical knowledge is also a life experience.1) What is a shell variable?A variable is a simple character to replace
Cause of the problem:The Pthread library is not the default library for Linux systems and requires the use of static library libpthread.a when connecting.So when you use Pthread_create () to create a thread, you need to link the library.1. Terminal:
Http://www.cygwin.com/install.htmlInstall Cygwin (/x) the package you need to select:Xorg-server (must, cygwin/x X server)Xinit (must, open X server: Script Xinit, StartX, Startwin (including shortcut to Start menu), Startxdmcp.bat)Xorg-docs
Permission management and permission management system
Permission management:
U: file owner,
G: group,
O: other users
R:
File: cat less more View content
Directory: You can use the ls command, but cannot switch to this directory or use the ls-l
SSH remote session management toolI. What is the screen command?
Screen is a full-Screen window manager that allows multiple processes to reuse one physical terminal. Screen has the concept of session. You can create multiple screen Windows in one
How to Create a domain in Weblogic in Linux
Weblogic creates a domain to log on with the weblogic account (corresponding to the account used to create the domain directory)
Cd/home/weblogic/bea/weblogic92/common/bin
Run./config. sh to enter the
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