In someLinuxThe box displayed on the platform is not caused by netbeans. For example, on Ubuntu, open the terminal and go to the $ java_home/JRE/lib/fonts directory, check whether the fallback directory exists. If not, use the following command to
Problem:
Use the root user to connect to Linux and execute the Psql command (such as the Psql-l command)
Error: rote "root" dose not exist
Solution:
The USER command to switch to Psql is: su ipvs
After switching, You can execute
File function: configure information before Logon
File Name:/etc/issue
Note:
Some escape characters in this file indicate special meanings:
/D current date
/L display the number of terminals currently
/N display the host's network name
/O display
Summary:
Some commands or settings in Linux Command lines are not commonly used, but you may not be able to remember them clearly, so Mark is here for future reference!
Directory:
(1) how to change the actual content of the command prompt on the
(1) disk free (view disk usage and the location where the file system is mounted)DF
Shown as follows:File System 1 K-block used available % mount point/Dev/sda2 2672264 2473244 63272 98%//Dev/sda1 101089 9233 86637 10%/bootNone 79012 0 79012
Here, we use red hat as4 as an example. When the disk partition is not found enough, the first way you can think of is to increase the partition size. However, if Linux does not use logical volume management, it is very difficult to dynamically
1. Windows and Linux dual systems, default startup system configurationGenerally, Lilo is installed on MBR. After the computer is started, the Program on MBR is executed, and a non-pretty figure will appear: A Red Hat image on the left, the
(1) Let's ignore Linux's support for segment-based memory ing. In protection mode, we know that no matter whether the CPU runs in the user or core state, the address accessed by the CPU execution program is a virtual address, MMU must read the value
Building faster on mulitprocessor machines
To build the kernel in A multithreaded way, use the-J option (twice the number of processors) to the Make program. For a machine with two processors present, use:
$ Make-J4
And for a machine with four
Linux memory disk Initialization Technology
Share final edit
Lifelens
Linux memory initialization Technology (initrd) is used to support two-phase system boot process. It is a temporary root file system mounted during system startup: here, the root
Before reading the code, I have been seriously thinking about this issue. Do I need to pay attention to more than 3000 lines of code under the drivers/USB/storage/directory? Is that how many files can make different USB flash drives work in Linux?
I,LinuxRunning level
When installing MySQL, I realized the Linux running level. Khan... You are too watery... The following is a summary:
What is the running level? To put it simply, the running level is the current running function level of the
LinuxThe three important concepts of the device model are bus, device, and driver.Bus,DeviceAndDriver. In fact, the kernel also defines such data structures. They areStructBus_type,Struct Device,Struct device_driverThe three important data
In struct bus_type, two linked lists are prepared for the device and the driver. The struct device contains two members, struct bus_type * bus and struct device_driver * driver. Similarly, the struct device_driver, which represents the driver, has
Exit () and _ exit () functions for Linux Process Learning
A process has its own life like a person. We use the fork () function to create a process. How can we stop the process.
Process exited
1. Any process in Linux that exits
Process exit
Many people now use Windows XP. considering that Linux is very popular recently. haha. so many cainiao are eager to try .. pick up the weapon and start to operate .. to make XP and Linux coexist. I don't know how to get used to windows next. In the
8. Class
8.1 class
L class is used to classify devices according to their functions, so as to provide a friendly interface for user space. Class is also a kset, corresponding to a directory under/sys/class
Int _ initclasses_init (void)
{
/*
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