Recently, there is a business scenario needs, you have to put some of the user on the server to kick off, oh, nonsense not to say, methods have two1. First Use W(or who) to see who landed on the server:2. Below, we need to kick off the Caesar user
When Apache was installed under LinuxTest Apache listening on port 80#netstat-LNT |grep 80TCP 0 0::: +:::* LISTENThe installation is successful!Thinking of using native Telnet IP 80No way--but Telnet IP 22 is through ~ ~The 80 port may not be
Shortcuts for tabs:Ctrl + Alt + PageDown switches to the next tab to the left.Ctrl + Alt + PageDown switches to the next tab to the right.Ctrl + W Close tab.Ctrl + Shift + L Save all tabs.Ctrl + Shift + W Close all tabs.Alt + N jump to nth
Prepare the operating system image Debian-6.0.5-amd64-cd-1.iso or Debian-6.0.5-amd64-dvd-1.iso, ensure that the service network card is connected to the network cable, and can be DHCP is IP, and then use a CD-ROM or USB drive to make the boot, and
LsRole: List directory contents, default is the current directoryNOTE: LS [options] Directory nameOptions:-l list information using long format-a displays all contents of the directory, including hidden files-h Displays the file size in the usual
Go to: http://www.cnblogs.com/li-hao/archive/2011/10/03/2198480.htmlExtractSyntax: tar [main option + Secondary options] file or directoryWhen using this command, the main option is required, and it tells Tar what to do, auxiliary options are
1. Crontab task scheduling: Refers to the system at a certain time to execute a specific command or program2. Tasks on Linux are divided into: system work (e.g., anti-virus), individual user's work 3. Set task: A. CRONTAB-E will go to edit interface
Empower command: chmod 755 *Query process:PS-EF |grep ABC view activity process with "ABC"PS-EF |grep-v ABC to view activity processes that do not contain ABCPs-ef |grep crontab View active processes with "crontab"Go to the root directory:CD ~Back
First, the system level of Linux4 applications3 Library2 cores1 hardwareWhen running the program, the application is dispatched to the hardware execution by the kernel;Third, the user interface1 CLI Command PromptShell type: sh,csh,tcsh,bash,ksh,zsh2
NL"function description": the NL command Linux the line number in the system used to calculate the file . NL can automatically add a line number to the output file content! The default result is a bit different from Cat-n, NL can make the line
The recent study of Hadoop, which requires Linux, has not been exposed before, so in the process of learning Hadoop, some basic knowledge of Linux has been accumulated, as follows:1. Network ConfigurationIfconfig viewing network interface
1. Process: Executing program, each process has an ID number 2. Threads: 1. Lightweight process 2. The process has a separate address space and the thread does not have 3. Thread cannot exist independently, he is a process created (FORCK) thread
Linux network configuration-ifconfig & ip, linux Network ifconfigHost access network:IPNETMASKGATEWAYHOSTNAMEDNS1DNS2DNS3Manually specify:DHCP: Dynamic Host Configuration ProtocolRoutingLinux Network Configuration:Network is a kernel
Linux Command ls
It has been two years since Ben entered the Linux field. Although he is so familiar with shell commands, he looks back, in fact, I only know a little about the various commands.
At the entry stage of Linux, I tried to solve the
Linux disk and file system missing and missingLinux disks and file systems
Format
Because the file attributes/permissions set by each file system are not the same, to store the data, you need to format the separation slot. For example, inode exists
Build an automated shell script using Ubuntupptpd
#!/bin/bash## pptp.sh is writed by Mislost.## Auto install and config pptpd vpn server## Update system and install pptpsudo apt-get -y updatesudo apt-get -y install ppp pptpd## get ip and
Introduction to LinuxRAIDRaidRAID Level: it only indicates that the disk organization mode is different and there is no context:0: StripAdvantage: Performance Improvement: Read and WriteInsufficient: no redundancy (fault tolerance) CapabilitySpace
Linux system management commands
System and management commands
Users and Groups commandsUsersImportance: MediumDisplays all logged-on users. This command is basically the same as who-q.
GroupsImportance: MediumLists the current user and the group
Build Hadoop2.6 Cluster Environment (pseudo-distributed)
I have installed several single-host versions of Hadoop before, mainly to study the Hadoop source code. Now I want to go deeper into the entire Hadoop ecosystem and choose to install Hadoop
Debugging the HotSpot source code in Eclipse
When reading the OpenJDK source code, you often need to run and debug the program to help you understand it. Now we can compile a debugging version of the HotSpot virtual machine, disable optimization,
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