Paths such as "/bin", "/sbin", "/usr/bin", "/usr/sbin", "/usr/local/bin", etc., are already in the system environment variable, and if the executable file is in these standard locations, enter the file name and parameters for the software executable
Linux has two types of function libraries, dynamic libraries and static libraries
Static Library:
This type of library is typically a file with a suffix of. A, and a file compiled with a static library function is larger because all of the data in
In the design of handheld devices, power management has always been one of the important research topics. What we call power saving is part of the source management, which is one of our most concerned. By hanging unnecessary equipment, reducing the
in Linux with vi Edit and modify file configuration without color display file content, especially some keywords can not be color display, to configure our service process caused great inconvenience. "In fact, the main is VI itself without color,
Sometimes Linux has more than one network card, you need to add a route for some other Nic, so that the network can not go through the NIC out
1, view the local route, as follows
2, add to a host address of the route, such as the following,
The purpose of this article is to decide which directory space occupies the most files when disk space is full, so as to analyze the reasons for the lack of space
1, to Xshell or other terminal software through SSH or Telnet login to see the system
Rev
Rev Displays the last character displayed to the first character.
Cases:
The code is as follows:
[Root@localhost www]# Cat Test
1234
Abcd
[Root@localhost www]# Rev Test
4321
Dcba
[Root@localhost www]# TAC Test
Abcd
1234
Tac
Usage:
In this article, I'll show you another nifty use case for Linux command lines: Visit Google's Gmail service, with the help of a small partner in need.
Linux access to new Gmail Mail via command line without entering @gmail.com part
?
1
[Root@localhost root]# echo >/var/log/wtmp This file is turned on by default when it's garbled, and you can see IP and so on.
[Root@localhost root]# Echo >/var/log/wtmp
[Root@localhost root]# last
The user logon information is not visible at this
Problem description
Solving method
Analyze the reason, maybe because I have a problem with my platform migration, we have permission to convert.
1 conversion under Windows:
Use tools such as UltraEdit or editplus to convert scripts to
Modify the/etc/sysconfig/network corresponding network card, append:
The code is as follows
Networking_ipv6=no
2. Modify the/etc/hosts, the IPv6 of the local host name resolution also commented out:
There are several issues to consider when using temporary files:
Ensure that file names between temporary files do not conflict with each other.
Ensure that the contents of the temporary files are not peeked, deleted and modified by other users or
Linux Server | solve
Use IE login Linux server on the EM appear garbled solution
Author: fenng
Problem description
Successfully installed Oracle 10g in Linux (Unix) environment, log on to 10g's em with IE browser from windows, the button is
My Computer 80G hard drive Windows pulls a primary partition two extended partitions, all of which are NT-formatted partitions. The rest of the whole to the Linux pull, I have a mobile hard drive 80g of their own two districts, a FAT32, an NTFS (60g
DHCP (Dynamic Host Configuration Protocol) is the short name of dynamical host Configuration Protocol, which is evolved from BOOTP protocol, which belongs to TCP/IP protocol family, and is a protocol that uses more automatic client TCP/IP
System for FEDORA2, the initial installation of only development tools.
1, installation
Samba server requires three packages, namely, the Samba servers package, the Samba-client (Samba client tool), the Samba-common (common tools, and libraries).
We can use the loopback interface on Linux to simulate two stages of routing, the first phase is to go through the Pre/post routing process, NAT implementation, the second phase completes the simple route forwarding. However, it is necessary to hook
You need to manually modify the system's time zone to display the correct time.
1. Find the appropriate time zone file/usr/share/zoneinfo/asia/shanghai Replace the current file with this file
/etc/localtime
The Virtual Machine centos7 installs was and ihs, centos7ihs
Nic configuration in virtual machine:
Configure two NICs for the vm, one for net direct dhcp (connected to the Internet) and one for host-only static (used by the Intranet)
Go
Change the mysql password in linux
(Debian system)
1. serviceMySQLstop2. mysqld_safe -- skip-grant-tables3. Open another console and continue the following steps4. log on to mysql-u root with a blank password5. show databases;6. use mysql;7. update
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