Simple Linux Command Line notes: w display information about system users w [options] [username] w is used to display the names of users currently logged on to the system, as well as their terminal device numbers, logon times, running commands, and
A new Linux (Ubuntu) user has only one $ problem version: linux ubuntu10.04 www.2cto.com problem: 1. create a user today: useradd *** 2. then, when you log on to the folder created in the home directory with the account, only one $ is displayed,
Run the self-developed JAR package on Linux and replace the default JDK. Today, the message sending and receiving platform on Windows is deployed on Linux, which is always incorrect, running java-version is always jdk1.4. the final solution is as
Linux Command-VIM basics 1. Basic operations: 1. Switch normal mode and edit mode with ESC and I keys www.2cto.com 2. X → delete a character of the current cursor. 3. : Wq → save disk + exit (: w save disk,: q quit) 4. Dd → Delete the current row
Deb package installation method in Ubuntu deb is the debian linus installation format, which is very similar to the red hat rpm. The most basic installation command is: dpkg-I file. deb dpkg is short for Debian Package. It is a suite management
# The lower half of the interrupt.Common_interrupt:Addl $-0x80, (% esp)/* Adjust vector into the [-256,-1] range */# Adjust the interrupt number to 0 ~ The value range is 255.SAVE_ALLTRACE_IRQS_OFFMovl % esp, % eaxCall do_IRQ # process the Interrupt
SeLinux is enabled in some Linux by default. When installing the operating system, we can choose to enable or disable SeLinux. But after installing the system, how can we enable and disable SeLinux?There is a SeLinux file in/etc/sysconf. Open it
# Uname-a # view kernel/operating system/CPU Information# Head-n 1/etc/issue # view the operating system version# Hostname # view the computer name# Lspci-TV # list all PCI devices# Lsusb-TV # list all USB devices# Lsmod # list loaded Kernel Modules#
The subscript of the array in shell starts from 0 by default.
1. Put the string in an array to obtain its length.
#! /Bin/bashStr = "a B -- n d"Array = ($ str)Length =$ {# array [@]}Echo $ length
For (I = 0; I DoEcho $ {array [$ I]}Done
Execution
Some Common commands are summarized as follows:1 InstallationInstall yum install allYum install package1 install the specified installation package1Yum groupinsall group1 installer group group12. update and upgradeYum update all updatesYum update
In Linux, IPv6 is supported by default, but enabling IPv6 will affect the network performance of some application servers that are not well supported by IPv6, after all, the current network switching device is not IPv6. Next we will teach you how to
Now that the SNMP protocol is removed, you need to contact us in this regard. So I found some articles about installing Linux SNMP. I found a very good tutorial, I would like to share it with you 。
Previously, we used cacti or mrtg to monitor switch
In the previous article "Summary of linux ftp commands", we have introduced some linux ftp command parameters. Now let's continue to summarize. I hope to help you provide a reference.
FTP> LCD changes the working directory on the local computer. By
Many Linux enthusiasts are interested in this field. There are also many people who use their old computers to study Linux. Here we will explain the configuration of the telnet service in Linux. First, let's take a look at some features of Linux
How does nfs start Linux? We all know that NFS is widely used and has been widely used in Linux. Linux is developing fast, and many people begin to learn. When studying Linux, you may encounter Linux system problems. Here we will introduce how to
Linux is very common in embedded development. Let's take a look at some settings of this system. Here we will mainly explain the Linux NFS settings. Hope to help you. Preparation: A REDHAT9.0 installed PC, a set of LJD2410-I Development Board, PC
Linux systems have been applied in many enterprises. For this part of the network structure, let's talk about the server construction. Today, we will mainly explain how to build DHCP servers in Linux.
Setup of a preliminary test environment
1.
Linux is very popular now. As the system continues to grow, many settings need to be implemented on top of this. Here we will elaborate on the configuration process of the Linux DHCP server. Let's take a look at how to set the Linux DHCP
For DHCP, configuration is required in many cases in Linux. Here we will also explain the configuration of the Linux DHCP server. Let's help you understand this knowledge. The specific configuration is as follows:
Linux DHCP server configuration
1.
Linux network protocolThe stack is divided into four layers based on the layered design concept. The layers are physical layer, link layer, network layer, and application layer.
The Linux network protocol stack is actually originated from 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