Linux-VI usage (for future reference)

The VI editor is a standard editor for all UNIX and Linux systems. It is not inferior to any of the latest text editors. Here we just briefly introduce its usage and a few instructions. The VI editor is identical for any version of UNIX and Linux

Uninstall and install JDK on Linux

  Uninstall default:Log on to the system as the root user and open a terminal input.# Rpm-Qa | grep gcjThe displayed content contains the following two lines of information:# Java-1.4.2-gcj-compat-1.4.2.0-27jpp# Java-1.4.2-gcj-compat-devel-l.4.2.0-

Possible reasons why Linux in VMware cannot be pinged online

1. symptom description Ubuntu is installed in VMware. The host is win7, And the NAT mode is used in VMware. The host can access the Internet (the web page can be opened in a browser ), ubuntu can also access the Internet (you can also view web

Command for viewing system information in Linux

# 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#

Differences between socket in Windows and Linux

1) header fileWinsock. h/winsock2.h in WindowsHow to handle sys/socket. h errors in Linux: errno. h 2) initializationWsastartup is required for Windows. Wsadata; Err = wsastartup (0x202, & wsadata); If (Err! = 0){Return 0;}Else if (lobyte

Linux: The run-parts command for Batch Commands related to task execution

Run-parts: Other non-executable files and files in subdirectories are not executed.. The commands in the directory are executed in the basic vocabulary (character) order, unless you have specified the -- reverse order option! This is an old

Tragedy: When cywin is used to write Linux scripts

PreviousArticleSpeaking of using cywin to call the Linux Command on the window (not the Linux Command itself, but the simulated command of the window corresponding to the Linux Command), and combining the Linux Command with the doscommand of the

How to configure access for different network segments in Linux

ArticleDirectory   Http:// OS .51cto.com anonymous Internet I want to comment ( 0 ) Abstract:Access from different Linux CIDR blocks is a technology that may be used. The Linux administrator should be familiar with this

Linux terminal keymaps

Http://imljp.info /? P = 451 I have been Google for a long time on the Internet to change the Linux console kdymaps. I 'd like to find out how to modify the buttons on the terminal, but I am sorry to find it. Find and modify keymaps by yourself.

Kdrive and embedded Linux

Kdrive and embedded Linux Http://www.jollen.org/blog/2007/06/kdrive_embedded_linux.html Jollen posted on June 8, 2007 pm Kdrive is also called tinyx. Therefore, it is a small X server implementation version mainly used for Embedded Linux.

How to use a block device larger than 2 TB in Linux

Transfer http://hi.baidu.com/linux/blog/item/5e2442a70db50694d14358ec.html LinuxSelect support in the kernelLarge Block DeviceThe value is greater2 tBlock device. HoweverFdiskTo view the block device, but found that the maximum can only be

Brief Introduction to Linux Device Driver interruptions

I. Preface There are two types of Linux interrupt: Soft Interrupt and hard interrupt. The software and hardware here means software and hardware, rather than software or hardware. Soft Interrupt is the "signal mechanism ". Software is not

Production and use of static link libraries in Linux

LinuxApplication in Program Link to an external function in either of the following ways (Lib *.) Static link, andCodeIncluded in the Application Program Executable File Or the Shared Library (Lib *. So. Ing the dynamic library into the

Modify the default wait time for Linux to start

Taking my fedora12 as an example, the default wait time for the system to start is 15 seconds. The value of this parameter is in the file/boot/GRUB/grub. conf Open this file and you will see the following content: # Grub. conf generated by

View all users and user groups in Linux

1. view all users in LinuxIn Linux, there are no convenient commands like Windows's net user and net localgroup to manage users. The xwindows interface is not mentioned. (1) In the terminal, you only need to view the/etc/passwd file.(2) Check

Powerful screen commands in Linux

Link: http://hi.baidu.com/tjuer/item/a3452480db2aa92b100ef38b Today, we found a "baby", which is the Linux screen command. For remote logon, it not only provides nohup functions, it also provides my favorite "multiple desktops" feature. Usually

Linux VI Editor

How does one exit the VI editor in Linux? : Q exit: Q! Force exit (not saving disk): WQ is mandatory to write files and exit. Write the file forcibly even if it is not modified, and update the modification time of the file.: X write the file and

Use Linux as a router + gateway + Firewall for remote office

Use Linux as a router + gateway + Firewall for remote office (transfer)   Linux has a computer on the Internet and supports Remote Wake-Up of the NIC. On the internet, remote office can be achieved through control software.     1 Tib

Linux mount command details

Comments: linux is an excellent open-source operating system that shares the image files, mobile hard drives, USB flash drives, Windows, and NFS network, it can run on various computer systems from the largest to the smallest. With the increasing

Configure the https environment for Tomcat (Windows + Linux)

Windows configuration is mainly reference: http://blog.csdn.net/supersky07/article/details/7407523 I mainly need the configuration in linux, but the principle in windows and linux should be similar, and the explanation in windows is clear, so it is

Total Pages: 5467 1 .... 3837 3838 3839 3840 3841 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.