In a Linux file system, there are two types of search concepts: Search for file names and search for specified content in a file. File search is a very important feature in the use of the operating system. So today we will study it.
I. File
Every time you use vim, you need to enter the corresponding directory from the terminal and open the file for editing. This is always very troublesome, so I searched the internet to add vim to the right-click menu, which is very simple and easy to
VirtualBox piix4_smbus Error
VirtualBox 3.2.10 gives me the following error message when booting Ubuntu 10.10 :-
Piix4_smbus 2.16.0020.7.0: SMBus base address uninitialized-upgrade bios or use force_addr = 0 xaddrThis error is caused
No operating system is available to ensure 100% reliability. One day, even Linux cannot start. This article provides you with some policies used when the Linux workstation cannot start normally.
No matter how much you like your Linux machine,
Most DNS Cache servers exist in small enterprises. They are not responsible for domain name resolution and are only used to help users query domain name information from other DNS servers. The queried information is saved locally to facilitate the
It's a year before the New Year. I haven't shared it with you for a long time, and my work is too busy.
Anyone using linux will know the find command.
The following describes how to use the find command in linux.
The following describes a
This morning, I am going to play a game similar to running a kart under fedora, but the driver does not support 3D. So I started the Driver Installation trip early in the morning. There are a lot of online materials, but they are not practical,
We all know that single process and asynchronous IO should be able to achieve optimal communication performance. But in reality, we often find that this model often fails to achieve the expected results.
This may be because the NIC is
Purpose
Write the file to the standard output from the specified point. You can use the-f option of the tail command to conveniently check the changing log file. The tail content of the filename is displayed on the screen and refreshed, so that
When you use vi or vim to edit folder encryption, you should use wq or: x to exit when saving the disk, but sometimes you may accidentally press: X,
At this time, the system will prompt:
Enter encryption key:
If you have not carefully read
Nothing left to worry about. Sort out linux User and user group management, hoping to be useful to beginners.
1. Add a user
Syntax: useradd [Option] [User Account]
Parameters:
-C: Specifies an annotation description.
-D specifies the starting
I read some documents and summarized some basic Vim commands suitable for programmers. They are not very complete, but at least practical... Are the most basic
Vim tutorial
Open the terminal under fedora.
Input vim filename to enter vim
///////////
Modify the network configuration file. By default, the ip address is automatically obtained.
Sudo vi/etc/network/interfaces
File Content:
View plain
Auto lo
Iface lo inet loopback
Mapping hotplug
Script grep
Map eth0
Auto eth0
Iface eth0
1) For commands that cannot be found, man will report an error:
[Jing @ CentOS locale] $ man abc
Cannot open the message catalog "man" for locale "zh_CN.UTF-8"
(NLSPATH = "/usr/share/locale/% l/LC_MESSAGES/% N ")
No manual entry for abc
[Jing @
1. sudo apt-get install xinetd telnetd
2. After the installation is successful, the system will prompt accordingly,
Sudo vi/etc/inetd. conf and add the following line
Telnet stream tcp nowait telnetd/usr/sbin/tcpd/usr/sbin/in. telnetd
3. Add the
It is best to use adduser for ubuntu users. Although adduser and useradd are the same in other linux operating systems, the user home directory with the same name is not created when I use useradd In ubuntu.
Example: adduser user1
In this way,
Next, use the vi Editor (1)
1.4 move the cursor
Many commands in the vi editor are based on the current position of the cursor. Therefore, it is very important to move the cursor to the desired position. The following is a detailed description
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